VDB

CVE-2026-46220

CVE-2026-46220 PUBLISHED

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

Reported by linux · Published May 28, 2026

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 products

VendorProductVersions
LinuxLinux2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7, 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7, 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7
LinuxLinux4.12, 0, 5.10.258
linuxlinux_kernel4.12, 4.12, 4.12
LinuxLinux2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7, 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7, 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (13 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46220
vulnetix vdb fixes CVE-2026-46220

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46220/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›