CVE-2026-98201 (GCVE-0-2026-98201)

Vulnerability from cvelistv5 – Published: 2026-10-06 08:44 – Updated: 2026-10-06 08:44
VLAI
Title
Input: zero ff_effect before compat copy in input_ff_effect_from_user
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.
Severity
No CVSS data available.
Impacted products
Vendor Product Version
Linux Linux Affected: 2d56f3a32c0e62f99c043d2579840f9731fe5855 , < ed0905fda39682d3da7937184397d3276abbffa8 (git)
Affected: 2d56f3a32c0e62f99c043d2579840f9731fe5855 , < ec174c2ab1abb76b20fa167c6db848c3d97aa838 (git)
Affected: 2d56f3a32c0e62f99c043d2579840f9731fe5855 , < 6c26681c5668c973bd0e951407d670ac60d9cd66 (git)
Affected: 2d56f3a32c0e62f99c043d2579840f9731fe5855 , < c5e573bb095d502be7cbbaa99c26a20984111c6d (git)
Affected: 2d56f3a32c0e62f99c043d2579840f9731fe5855 , < b878720e8bcaa4cf7163a5081f904dd6baf11b2c (git)
Affected: 2d56f3a32c0e62f99c043d2579840f9731fe5855 , < 0d05b43b55d4784a42ce8fb318175f8ad7d9af5a (git)
Affected: 2d56f3a32c0e62f99c043d2579840f9731fe5855 , < ed0406e490f48ed180df140fe2a81be26bccb1a9 (git)
Affected: 2d56f3a32c0e62f99c043d2579840f9731fe5855 , < f84819ef8d66931ee3998fee3c4f03230f4cb6cc (git)
Create a notification for this product.
Linux Linux Affected: 2.6.29
Unaffected: 0 , < 2.6.29 (semver)
Unaffected: 5.10.271 , ≤ 5.10.* (semver)
Unaffected: 5.15.222 , ≤ 5.15.* (semver)
Unaffected: 6.1.189 , ≤ 6.1.* (semver)
Unaffected: 6.6.158 , ≤ 6.6.* (semver)
Unaffected: 6.12.112 , ≤ 6.12.* (semver)
Unaffected: 6.18.54 , ≤ 6.18.* (semver)
Unaffected: 7.2.8 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc4 , ≤ * (original_commit_for_fix)
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-rc4",
              "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-rc4",
                  "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-06T08:44:38.952Z",
        "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-06T08:44:38.952Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98201",
      "date": "2026-10-08",
      "epss": "0.00184",
      "percentile": "0.07336"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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-rc4",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "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."
          }
        ],
        "id": "CVE-2026-98201",
        "lastModified": "2026-10-06T09:18:05.900",
        "metrics": {},
        "published": "2026-10-06T09:18:05.900",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0d05b43b55d4784a42ce8fb318175f8ad7d9af5a"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6c26681c5668c973bd0e951407d670ac60d9cd66"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b878720e8bcaa4cf7163a5081f904dd6baf11b2c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c5e573bb095d502be7cbbaa99c26a20984111c6d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ec174c2ab1abb76b20fa167c6db848c3d97aa838"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ed0406e490f48ed180df140fe2a81be26bccb1a9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ed0905fda39682d3da7937184397d3276abbffa8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f84819ef8d66931ee3998fee3c4f03230f4cb6cc"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-09T11:04:32+00:00",
      "cve": "CVE-2026-98201",
      "id": "CVE-2026-98201",
      "initial_release_date": "2026-10-06T00:00:00+00:00",
      "product_status:known_affected": "277",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: Input: zero ff_effect before compat copy in input_ff_effect_from_user",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98201.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "low",
      "current_release_date": "2026-10-08T16:50:45Z",
      "cve": "CVE-2026-98201",
      "id": "CVE-2026-98201",
      "initial_release_date": "2026-10-08T16:50:45Z",
      "product_status:known_affected": "269",
      "product_status:known_not_affected": "78",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98201",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-98201.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…