{"id":"CVE-2026-98181","revision":"45c0771f47864b03a19b1a6add8fdcf7","records":[{"revision":"45c0771f47864b03a19b1a6add8fdcf7","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-98181","aliases":[],"title":"drm/gud: fix out-of-bounds write in gud_plane_atomic_check()","description":"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.","state":0,"publishedAt":"2026-10-06T08:44:24.284+00:00","modifiedAt":"2026-10-19T09:15:12.473+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/gud/gud_pipe.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"ee04903fe6a098160d20dde4fc5af4cb42846735\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"4153a9e008f2512bd3cf90a319436865847369b9\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"5f5e565410b4987e9663f599f9ab0c350f8338d4\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"7e630edb22088df7aa0d55b02237a71e4c9a523d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"2c92af27ad23e2fbc0367b11a9027d36d94ef4b3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"ea57100955c1c2a525ba1a98c18d9a05b25aeedb\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"40e1a70b4aedf2859a1829991b48ef0ebe650bf2\",\n                            \"lessThan\": \"59ced288fcba9e91bd38e61a972ad782c4edb7d0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/gud/gud_pipe.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"5.13\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"5.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.222\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.189\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.158\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.112\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.54\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.8\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/ee04903fe6a098160d20dde4fc5af4cb42846735","https://git.kernel.org/stable/c/4153a9e008f2512bd3cf90a319436865847369b9","https://git.kernel.org/stable/c/5f5e565410b4987e9663f599f9ab0c350f8338d4","https://git.kernel.org/stable/c/7e630edb22088df7aa0d55b02237a71e4c9a523d","https://git.kernel.org/stable/c/2c92af27ad23e2fbc0367b11a9027d36d94ef4b3","https://git.kernel.org/stable/c/ea57100955c1c2a525ba1a98c18d9a05b25aeedb","https://git.kernel.org/stable/c/59ced288fcba9e91bd38e61a972ad782c4edb7d0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98181","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98181","identifiers":["CVE-2026-98181"]},"retained":false,"historicalAffected":[]}],"coverage":[]}