{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-40035",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40035",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-28T11:48:17.030Z",
    "updatedAt": "2026-05-11T21:41:13.342Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "Input: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: uinput - zero-initialize uinput_ff_upload_compat to avoid info leak\n\nStruct ff_effect_compat is embedded twice inside\nuinput_ff_upload_compat, contains internal padding. In particular, there\nis a hole after struct ff_replay to satisfy alignment requirements for\nthe following union member. Without clearing the structure,\ncopy_to_user() may leak stack data to userspace.\n\nInitialize ff_up_compat to zero before filling valid fields.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1b317796013f666ae5040edbf0f230ec61496d42"
            },
            {
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "877172b97786ed1678640dff0b2d35abb328844c"
            },
            {
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e63aade22a33e77b93c98c9f02db504d897a76b4"
            },
            {
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "933b87c4590b42500299f00ff55f555903056803"
            },
            {
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fd8a23ecbc602d00e47b27f20b07350867d0ebe5"
            },
            {
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "48c96b7e9e03516936d6deba54b5553097eae817"
            },
            {
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f5e1f3b85aadce74268c46676772c3e9fa79897e"
            },
            {
              "version": "2d56f3a32c0e62f99c043d2579840f9731fe5855",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d3366a04770eea807f2826cbdb96934dd8c9bf79"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.29",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.29"
            },
            {
              "version": "5.4.301",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.246",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.195",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.156",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.112",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.53",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.17.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.17.*"
            },
            {
              "version": "6.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}