CVE-2026-46199: drm/amdgpu/vcn4: Prevent OOB reads when parsing dec msg
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 dec msg
Check bounds against the end of the BO whenever we access the msg.
The Linux kernel CVE team has assigned CVE-2026-46199 to this issue.
Affected and fixed versions
===========================
Fixed in 6.6.140 with commit c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e Fixed in 6.12.90 with commit 7688143ca62edeecacb3ba0a2cea129dbd262a18 Fixed in 6.18.32 with commit 63b51e8a9d54317d31cc3856c1e12407070d5fc2 Fixed in 7.0.9 with commit 3c817a60b09eaab926e475088e750936efcc95ae Fixed in 7.1-rc1 with commit 0a78f2bac1424deb7c9d5e09c6b8e849d8e8b648
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-46199
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/c72a8b4dc6d598e3831ef3abd9c6527dfbf4810e https://git.kernel.org/stable/c/7688143ca62edeecacb3ba0a2cea129dbd262a18 https://git.kernel.org/stable/c/63b51e8a9d54317d31cc3856c1e12407070d5fc2 https://git.kernel.org/stable/c/3c817a60b09eaab926e475088e750936efcc95ae https://git.kernel.org/stable/c/0a78f2bac1424deb7c9d5e09c6b8e849d8e8b648