CVE-2026-98181 (GCVE-0-2026-98181)
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: drm/gud: fix out-of-bounds write in gud_plane_atomic_check() The plane property loop uses req->properties[num_properties + i] as write index while simultaneously incrementing `num_properties` inside the loop. At iteration i, num_properties has also incremented by i, so the write is done at `initial_num_properties + 2*i`, skipping every other index and advancing by 2 per iteration. With just 2 connector and 32 plane properties the last write happens at index 64, one slot past the end of the 64-slot (indices 0–63) allocation. A USB device can trigger OOB by advertising the maximum number of properties. Fix by dropping the redundant `+ i`; num_properties is already the correct running index, as gud_connector_fill_properties() fills the preceding slots.
Impacted products
Vendor Product Version
Linux Linux Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Version: 40e1a70b4aedf2859a1829991b48ef0ebe650bf2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/gud/gud_pipe.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ee04903fe6a098160d20dde4fc5af4cb42846735",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "4153a9e008f2512bd3cf90a319436865847369b9",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "5f5e565410b4987e9663f599f9ab0c350f8338d4",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "7e630edb22088df7aa0d55b02237a71e4c9a523d",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "2c92af27ad23e2fbc0367b11a9027d36d94ef4b3",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "ea57100955c1c2a525ba1a98c18d9a05b25aeedb",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            },
            {
              "lessThan": "59ced288fcba9e91bd38e61a972ad782c4edb7d0",
              "status": "affected",
              "version": "40e1a70b4aedf2859a1829991b48ef0ebe650bf2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/gud/gud_pipe.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.13"
            },
            {
              "lessThan": "5.13",
              "status": "unaffected",
              "version": "0",
              "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.15.222",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.112",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "5.13",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/gud: fix out-of-bounds write in gud_plane_atomic_check()\n\nThe plane property loop uses req-\u003eproperties[num_properties + i] as write\nindex while simultaneously incrementing `num_properties` inside the loop.\nAt iteration i, num_properties has also incremented by i, so the write\nis done at `initial_num_properties + 2*i`, skipping every other index and\nadvancing by 2 per iteration.\n\nWith just 2 connector and 32 plane properties the last write happens at\nindex 64, one slot past the end of the 64-slot (indices 0\u201363)\nallocation. A USB device can trigger OOB by advertising the maximum\nnumber of properties.\n\nFix by dropping the redundant `+ i`; num_properties is already the correct\nrunning index, as gud_connector_fill_properties() fills the preceding\nslots."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:15:12.473Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ee04903fe6a098160d20dde4fc5af4cb42846735"
        },
        {
          "url": "https://git.kernel.org/stable/c/4153a9e008f2512bd3cf90a319436865847369b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f5e565410b4987e9663f599f9ab0c350f8338d4"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e630edb22088df7aa0d55b02237a71e4c9a523d"
        },
        {
          "url": "https://git.kernel.org/stable/c/2c92af27ad23e2fbc0367b11a9027d36d94ef4b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea57100955c1c2a525ba1a98c18d9a05b25aeedb"
        },
        {
          "url": "https://git.kernel.org/stable/c/59ced288fcba9e91bd38e61a972ad782c4edb7d0"
        }
      ],
      "title": "drm/gud: fix out-of-bounds write in gud_plane_atomic_check()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98181",
    "datePublished": "2026-10-06T08:44:24.284Z",
    "dateReserved": "2026-09-25T10:25:14.322Z",
    "dateUpdated": "2026-10-19T09:15:12.473Z",
    "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…