CVE-2026-46220

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

MEDIUM
5.5
CVSS Score
Published: May 28, 2026 at 09:40 AM UTC
Updated: June 17, 2026 at 10:53 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%

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)

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.12 ≤ v < 5.10.2584.12 ≤ v < 5.15.2094.12 ≤ v < 6.1.1754.12 ≤ v < 6.12.904.12 ≤ v < 6.18.324.12 ≤ v < 6.6.1404.12 ≤ v < 7.0.94.12 ≤ v < 7.15.11 ≤ v < 5.15.2095.16 ≤ v < 6.1.1756.13 ≤ v < 6.18.326.19 ≤ v < 7.0.96.2 ≤ v < 6.6.1406.7 ≤ v < 6.12.902130f89ced2cc0f5113bb427c1cbc7a4ca7729c77.1 rc17.1 rc2
Vendor states this is fixed in 0b91ea46bb68abf98a082bf239092253bbd6aaa2 (fixed)
Vendor states this is fixed in 25e7d56a39657d56d1ea6d78992f7ed15dedb412 (fixed)
Vendor states this is fixed in 4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe (fixed)
Vendor states this is fixed in 78d2e624fa073c14970aa097adcf3ea31c157a66 (fixed)
Vendor states this is fixed in a4fd82fb0757c180bf622907397c528b89a827b2 (fixed)
Vendor states this is fixed in d331fb241a4602253976ddd65144a8ba2b05665d (fixed)
Vendor states this is fixed in d4c56932d29773e278be6a65a5384a36c95b89a4 (fixed)
Vendor states this is fixed in ecaa80318e900ca0c3f687742ede33b41cfd2f8e (fixed)
Vendor states this is fixed in 4.12 (unaffected)
Vendor states this is fixed in 5.10.258 (unaffected)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.90 (unaffected)
Vendor states this is fixed in 6.18.32 (unaffected)
Vendor states this is fixed in 6.6.140 (unaffected)
Vendor states this is fixed in 7.0.9 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-617

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card