Linux-Kernel AMDGPU SDMA4 BUG_ON replaced with WARN -> Stops Kernel Panic
CVE-2026-46220 Published on May 28, 2026
drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission
sdma_v4_0_ring_emit_fence() contains two BUG_ON(addr & 0x3) assertions
that verify fence writeback addresses are dword-aligned. These
assertions can be reached from unprivileged userspace via crafted
DRM_IOCTL_AMDGPU_CS submissions, causing a fatal kernel panic in a
scheduler worker thread.
Replace both BUG_ON() calls with WARN_ON() to log the condition without
crashing the kernel. A misaligned fence address at this point indicates
a driver bug, but crashing the kernel is never the correct response when
the assertion is reachable from userspace.
The CS IOCTL path is the correct place to filter invalid submissions;
the ring emission callback is too late to do anything about it.
(cherry picked from commit b90250bd933afd1ba94d86d6b13821997b22b18e)
Products Associated with CVE-2026-46220
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 and below 4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe is affected.
- Version 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 and below d331fb241a4602253976ddd65144a8ba2b05665d is affected.
- Version 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 and below 0b91ea46bb68abf98a082bf239092253bbd6aaa2 is affected.
- Version 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 and below a4fd82fb0757c180bf622907397c528b89a827b2 is affected.
- Version 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 and below 78d2e624fa073c14970aa097adcf3ea31c157a66 is affected.
- Version 4.12 is affected.
- Before 4.12 is unaffected.
- Version 6.6.140, <= 6.6.* is unaffected.
- Version 6.12.90, <= 6.12.* is unaffected.
- Version 6.18.32, <= 6.18.* is unaffected.
- Version 7.0.9, <= 7.0.* is unaffected.
- Version 7.1-rc3, <= * is unaffected.