{"id":"CVE-2026-99151","revision":"93b6a58b4453465aa39d70a2858d4be8","records":[{"revision":"93b6a58b4453465aa39d70a2858d4be8","observedAt":"2026-10-28T11:27:43.363+00:00","statement":{"source":"cve-program","id":"CVE-2026-99151","aliases":[],"title":"drm/amd/display: Fix NULL sink dereference in USB4 bandwidth functions","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amd/display: Fix NULL sink dereference in USB4 bandwidth functions\n\nallocate_usb4_bandwidth_for_stream() and allocate_usb4_bandwidth() both\nuse ASSERT(stream->sink) before dereferencing stream->sink->link. ASSERT\nis compiled out in production builds, so a NULL stream->sink causes a\nNULL pointer dereference.\n\nlink_set_dpms_off() already guards two earlier accesses to stream->sink\nwith explicit NULL checks, confirming that stream->sink can legitimately\nbe NULL. The subsequent call to deallocate_usb4_bandwidth() had no\nequivalent guard.\n\nReplace the ASSERT() calls with proper NULL checks that return false\nearly, and add a matching stream->sink guard at the call site in\nlink_set_dpms_off() consistent with the surrounding pattern.\n\nv2: Keep the existing ASSERT() calls for diagnostics (to report\n    unexpected NULL sink), and add explicit NULL checks that return false\n    before dereferencing stream->sink. Also add a matching stream->sink\n    guard at the deallocation call site in link_set_dpms_off(). (Alex)\n\n(cherry picked from commit 98029a0ce61feb52c563f65349dd9b25f672e355)","state":0,"publishedAt":"2026-10-28T10:35:06.866+00:00","modifiedAt":"2026-10-28T10:35:06.866+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/amd/display/dc/link/link_dpms.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"0b1eebd359685dd681f6e0df5540a5bb985a27bf\",\n                            \"lessThan\": \"4c8b5e5b9776ad08138d79b14238c5742b32911b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"8fa813b7fd1eccbed13e126166cf764f1f11a7d3\",\n                            \"lessThan\": \"55a67aa89342545b89f469dea6f29bfb6fac6f3d\",\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\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/gpu/drm/amd/display/dc/link/link_dpms.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThan\": \"7.2.13\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/4c8b5e5b9776ad08138d79b14238c5742b32911b","https://git.kernel.org/stable/c/55a67aa89342545b89f469dea6f29bfb6fac6f3d"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-99151","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-99151","identifiers":["CVE-2026-99151"]},"retained":false,"historicalAffected":[]}],"coverage":[]}