CVE-2026-46220

drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission

State
Published
Severity
Not scored
Published
May 28, 2026
Updated
Jun 14, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 to before ecaa80318e900ca0c3f687742ede33b41cfd2f8eAffected
  • 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 to before 25e7d56a39657d56d1ea6d78992f7ed15dedb412Affected
  • 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 to before d4c56932d29773e278be6a65a5384a36c95b89a4Affected
  • 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 to before 4f7ca00fa91daf0795ec6b3b130c5ebba1f155feAffected
  • 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 to before d331fb241a4602253976ddd65144a8ba2b05665dAffected
  • 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 to before 0b91ea46bb68abf98a082bf239092253bbd6aaa2Affected
  • 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 to before a4fd82fb0757c180bf622907397c528b89a827b2Affected
  • 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 to before 78d2e624fa073c14970aa097adcf3ea31c157a66Affected
LinuxLinux
  • 4.12Affected
  • before 4.12Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.90 through 6.12.*Not affected
  • 6.18.32 through 6.18.*Not affected
  • 7.0.9 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.