CVE-2026-46230: drm/amdgpu/vcn3: 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/vcn3: 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-46230 to this issue.
Affected and fixed versions
===========================
Fixed in 6.6.140 with commit 638d3e0b9eb77aa53fdd60e2b928761d16ba76fa Fixed in 6.12.90 with commit 870c8738c3774336baedddd0240951d078a703b8 Fixed in 6.18.32 with commit 638e48ee39d0f2af9336f917a6f5d6692dd64d93 Fixed in 7.0.9 with commit e382e0b81a3e7bd21504fee1d01ae8b08f84d3a7 Fixed in 7.1-rc1 with commit b193019860d61e92da395eae2011f2f6716b182f
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-46230
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_v3_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/638d3e0b9eb77aa53fdd60e2b928761d16ba76fa https://git.kernel.org/stable/c/870c8738c3774336baedddd0240951d078a703b8 https://git.kernel.org/stable/c/638e48ee39d0f2af9336f917a6f5d6692dd64d93 https://git.kernel.org/stable/c/e382e0b81a3e7bd21504fee1d01ae8b08f84d3a7 https://git.kernel.org/stable/c/b193019860d61e92da395eae2011f2f6716b182f