CVE-2026-46237: drm/amdgpu/vcn3: Avoid overflow on msg bound check
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/vcn3: Avoid overflow on msg bound check
As pointed out by SDL, the previous condition may be vulnerable to overflow.
(cherry picked from commit db00257ac9e4a51eb2515aaea161a019f7125e10)
The Linux kernel CVE team has assigned CVE-2026-46237 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.1-rc1 with commit b193019860d61e92da395eae2011f2f6716b182f and fixed in 7.1-rc2 with commit e6e9faba8100628990cccd13f0f044a648c303cf
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-46237
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/1936310f68c54be961de38ac539cef9b543207cb https://git.kernel.org/stable/c/e8124121b79ab5d32fa8fbbd101f7208eca9cd7d https://git.kernel.org/stable/c/016b64a0313ea5346cf526e30c8d3e66aca10175 https://git.kernel.org/stable/c/2e43b66fceacd6e982b94f2e3f8b34edd7463396 https://git.kernel.org/stable/c/e6e9faba8100628990cccd13f0f044a648c303cf