CVE-2026-46220

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

published May 28, 2026

CVSS
—
EPSS
0%
Percentile
5.1
In the wild
Unconfirmed
What it is

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)

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.1th percentile
Published
2026-05-28T09:40Z
EPSS history
Timeline
  • 28 MAY 09:40Z
    drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission
    cvelistv5