CVE-2026-46204: drm/amdgpu/vcn4: Prevent OOB reads when parsing IB
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/vcn4: Prevent OOB reads when parsing IB
Rewrite the IB parsing to use amdgpu_ib_get_value() which handles the bounds checks.
The Linux kernel CVE team has assigned CVE-2026-46204 to this issue.
Affected and fixed versions
===========================
Fixed in 6.6.140 with commit 1dc005775fb5b3f86464406452b17364f85581d3 Fixed in 6.12.90 with commit d0802a8877d730260d4af4dd4e0b6cde7e0e593f Fixed in 6.18.32 with commit a6d5563ba1f03a049561cd347574613167294e8d Fixed in 7.0.9 with commit 5c3e8ebad0c9e2354ddfa8f2148dc4f70a3b4bd1 Fixed in 7.1-rc1 with commit 2444eb0ec8283f4a3845eb7febad378476e1ba3c
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-46204
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/1dc005775fb5b3f86464406452b17364f85581d3 https://git.kernel.org/stable/c/d0802a8877d730260d4af4dd4e0b6cde7e0e593f https://git.kernel.org/stable/c/a6d5563ba1f03a049561cd347574613167294e8d https://git.kernel.org/stable/c/5c3e8ebad0c9e2354ddfa8f2148dc4f70a3b4bd1 https://git.kernel.org/stable/c/2444eb0ec8283f4a3845eb7febad378476e1ba3c