CVE-2026-98201 (GCVE-0-2026-98201)
Vulnerability from cvelistv5
Published
2026-10-06 08:44
Modified
2026-10-19 09:15
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: Input: zero ff_effect before compat copy in input_ff_effect_from_user In the compat path input_ff_effect_from_user() aliases the caller's native struct ff_effect with the smaller struct ff_effect_compat and copies only the compat sized prefix: compat_effect = (struct ff_effect_compat *)effect; if (copy_from_user(compat_effect, buffer, sizeof(struct ff_effect_compat))) The tail of the native structure is never written. Callers pass an uninitialized on-stack object, for example evdev_do_ioctl() for EVIOCSFF, so those bytes keep their previous stack contents. input_ff_upload() then stores the full native structure in ff->effects[id], from where a uinput based force feedback daemon can read it back via UI_BEGIN_FF_UPLOAD, disclosing kernel stack memory to userspace. Zero the effect before the compat copy.
Impacted products
Vendor Product Version
Linux Linux Version: 2d56f3a32c0e62f99c043d2579840f9731fe5855
Version: 2d56f3a32c0e62f99c043d2579840f9731fe5855
Version: 2d56f3a32c0e62f99c043d2579840f9731fe5855
Version: 2d56f3a32c0e62f99c043d2579840f9731fe5855
Version: 2d56f3a32c0e62f99c043d2579840f9731fe5855
Version: 2d56f3a32c0e62f99c043d2579840f9731fe5855
Version: 2d56f3a32c0e62f99c043d2579840f9731fe5855
Version: 2d56f3a32c0e62f99c043d2579840f9731fe5855
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/input/input-compat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ed0905fda39682d3da7937184397d3276abbffa8",
              "status": "affected",
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "versionType": "git"
            },
            {
              "lessThan": "ec174c2ab1abb76b20fa167c6db848c3d97aa838",
              "status": "affected",
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "versionType": "git"
            },
            {
              "lessThan": "6c26681c5668c973bd0e951407d670ac60d9cd66",
              "status": "affected",
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "versionType": "git"
            },
            {
              "lessThan": "c5e573bb095d502be7cbbaa99c26a20984111c6d",
              "status": "affected",
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "versionType": "git"
            },
            {
              "lessThan": "b878720e8bcaa4cf7163a5081f904dd6baf11b2c",
              "status": "affected",
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "versionType": "git"
            },
            {
              "lessThan": "0d05b43b55d4784a42ce8fb318175f8ad7d9af5a",
              "status": "affected",
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "versionType": "git"
            },
            {
              "lessThan": "ed0406e490f48ed180df140fe2a81be26bccb1a9",
              "status": "affected",
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "versionType": "git"
            },
            {
              "lessThan": "f84819ef8d66931ee3998fee3c4f03230f4cb6cc",
              "status": "affected",
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/input/input-compat.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.29"
            },
            {
              "lessThan": "2.6.29",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.112",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "2.6.29",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "2.6.29",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "2.6.29",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "2.6.29",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "2.6.29",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "2.6.29",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "2.6.29",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "2.6.29",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: zero ff_effect before compat copy in input_ff_effect_from_user\n\nIn the compat path input_ff_effect_from_user() aliases the caller\u0027s\nnative struct ff_effect with the smaller struct ff_effect_compat and\ncopies only the compat sized prefix:\n\n\tcompat_effect = (struct ff_effect_compat *)effect;\n\n\tif (copy_from_user(compat_effect, buffer,\n\t\t\t   sizeof(struct ff_effect_compat)))\n\nThe tail of the native structure is never written. Callers pass an\nuninitialized on-stack object, for example evdev_do_ioctl() for\nEVIOCSFF, so those bytes keep their previous stack contents.\ninput_ff_upload() then stores the full native structure in\nff-\u003eeffects[id], from where a uinput based force feedback daemon can\nread it back via UI_BEGIN_FF_UPLOAD, disclosing kernel stack memory to\nuserspace.\n\nZero the effect before the compat copy."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:15:32.269Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ed0905fda39682d3da7937184397d3276abbffa8"
        },
        {
          "url": "https://git.kernel.org/stable/c/ec174c2ab1abb76b20fa167c6db848c3d97aa838"
        },
        {
          "url": "https://git.kernel.org/stable/c/6c26681c5668c973bd0e951407d670ac60d9cd66"
        },
        {
          "url": "https://git.kernel.org/stable/c/c5e573bb095d502be7cbbaa99c26a20984111c6d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b878720e8bcaa4cf7163a5081f904dd6baf11b2c"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d05b43b55d4784a42ce8fb318175f8ad7d9af5a"
        },
        {
          "url": "https://git.kernel.org/stable/c/ed0406e490f48ed180df140fe2a81be26bccb1a9"
        },
        {
          "url": "https://git.kernel.org/stable/c/f84819ef8d66931ee3998fee3c4f03230f4cb6cc"
        }
      ],
      "title": "Input: zero ff_effect before compat copy in input_ff_effect_from_user",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98201",
    "datePublished": "2026-10-06T08:44:38.952Z",
    "dateReserved": "2026-09-25T10:25:14.324Z",
    "dateUpdated": "2026-10-19T09:15:32.269Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…