{"id":"CVE-2026-98181","aliases":["CVE-2026-98181"],"related":[],"kind":"vulnerability","state":"published","title":"drm/gud: fix out-of-bounds write in gud_plane_atomic_check()","summary":"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->properties[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–63)\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->properties[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–63)\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.","source":"cvelist"}],"published":"2026-10-06T08:44:24.284Z","modified":"2026-10-19T10:18:18.437Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","fixed":"ee04903fe6a098160d20dde4fc5af4cb42846735","status":"affected"},{"type":"git","introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","fixed":"4153a9e008f2512bd3cf90a319436865847369b9","status":"affected"},{"type":"git","introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","fixed":"5f5e565410b4987e9663f599f9ab0c350f8338d4","status":"affected"},{"type":"git","introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","fixed":"7e630edb22088df7aa0d55b02237a71e4c9a523d","status":"affected"},{"type":"git","introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","fixed":"2c92af27ad23e2fbc0367b11a9027d36d94ef4b3","status":"affected"},{"type":"git","introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","fixed":"ea57100955c1c2a525ba1a98c18d9a05b25aeedb","status":"affected"},{"type":"git","introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2","fixed":"59ced288fcba9e91bd38e61a972ad782c4edb7d0","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ee04903fe6a098160d20dde4fc5af4cb42846735","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4153a9e008f2512bd3cf90a319436865847369b9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f5e565410b4987e9663f599f9ab0c350f8338d4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7e630edb22088df7aa0d55b02237a71e4c9a523d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2c92af27ad23e2fbc0367b11a9027d36d94ef4b3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ea57100955c1c2a525ba1a98c18d9a05b25aeedb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/59ced288fcba9e91bd38e61a972ad782c4edb7d0","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98181","url":"https://www.cve.org/CVERecord?id=CVE-2026-98181","licence":"CVE Terms of Use","modified":"2026-10-19T09:15:12.473Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98181","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98181","licence":"Public domain","modified":"2026-10-19T10:18:18.437Z"}],"updatedAt":"2026-11-25T22:59:42.279Z","epss":{"score":0.00173,"percentile":0.07002,"date":"2026-12-01T12:00:22.000Z"}}