{"id":"CVE-2026-98181","summary":"drm/gud: fix out-of-bounds write in gud_plane_atomic_check()","details":"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–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.","modified":"2026-10-07T02:47:29.626579366Z","published":"2026-10-06T08:44:24.284Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98181.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2c92af27ad23e2fbc0367b11a9027d36d94ef4b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4153a9e008f2512bd3cf90a319436865847369b9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/59ced288fcba9e91bd38e61a972ad782c4edb7d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5f5e565410b4987e9663f599f9ab0c350f8338d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e630edb22088df7aa0d55b02237a71e4c9a523d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ea57100955c1c2a525ba1a98c18d9a05b25aeedb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee04903fe6a098160d20dde4fc5af4cb42846735"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98181.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98181"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"40e1a70b4aedf2859a1829991b48ef0ebe650bf2"},{"fixed":"ee04903fe6a098160d20dde4fc5af4cb42846735"},{"fixed":"4153a9e008f2512bd3cf90a319436865847369b9"},{"fixed":"5f5e565410b4987e9663f599f9ab0c350f8338d4"},{"fixed":"7e630edb22088df7aa0d55b02237a71e4c9a523d"},{"fixed":"2c92af27ad23e2fbc0367b11a9027d36d94ef4b3"},{"fixed":"ea57100955c1c2a525ba1a98c18d9a05b25aeedb"},{"fixed":"59ced288fcba9e91bd38e61a972ad782c4edb7d0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98181.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.13.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98181.json"}}],"schema_version":"1.9.0"}