# CVE-2026-46220: drm/amdgpu/sdma4: replace BUG_ON with WARN_ON in fence emission

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-28T09:40:35.971Z
- Modified: 2026-11-06T17:17:44.920Z
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 before ecaa80318e900ca0c3f687742ede33b41cfd2f8e; from 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 before 25e7d56a39657d56d1ea6d78992f7ed15dedb412; from 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 before d4c56932d29773e278be6a65a5384a36c95b89a4; from 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 before 4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe; from 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 before d331fb241a4602253976ddd65144a8ba2b05665d; from 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 before 0b91ea46bb68abf98a082bf239092253bbd6aaa2; from 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 before a4fd82fb0757c180bf622907397c528b89a827b2; from 2130f89ced2cc0f5113bb427c1cbc7a4ca7729c7 before 78d2e624fa073c14970aa097adcf3ea31c157a66; 4.12 (not affected: before 4.12; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.140 up to 6.6.*; from 6.12.90 up to 6.12.*; from 6.18.32 up to 6.18.*; from 7.0.9 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 4.12 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.140; from 6.7 before 6.12.90; from 6.13 before 6.18.32; from 6.19 before 7.0.9; 7.1

## References

- <https://git.kernel.org/stable/c/ecaa80318e900ca0c3f687742ede33b41cfd2f8e> (patch)
- <https://git.kernel.org/stable/c/25e7d56a39657d56d1ea6d78992f7ed15dedb412> (patch)
- <https://git.kernel.org/stable/c/d4c56932d29773e278be6a65a5384a36c95b89a4> (patch)
- <https://git.kernel.org/stable/c/4f7ca00fa91daf0795ec6b3b130c5ebba1f155fe> (patch)
- <https://git.kernel.org/stable/c/d331fb241a4602253976ddd65144a8ba2b05665d> (patch)
- <https://git.kernel.org/stable/c/0b91ea46bb68abf98a082bf239092253bbd6aaa2> (patch)
- <https://git.kernel.org/stable/c/a4fd82fb0757c180bf622907397c528b89a827b2> (patch)
- <https://git.kernel.org/stable/c/78d2e624fa073c14970aa097adcf3ea31c157a66> (patch)

## Sources

- CVE List: [CVE-2026-46220](https://www.cve.org/CVERecord?id=CVE-2026-46220), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-46220](https://nvd.nist.gov/vuln/detail/CVE-2026-46220), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-46220 · Whole record: https://cve.day/CVE-2026-46220.json · Rebuilt by cve.day 2026-11-25T22:59:22.883Z
