# CVE-2026-89978: accel/amdxdna: return early from a zero-length flush

- Severity: not scored yet
- 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.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2026-09-16T10:32:55.928Z
- Modified: 2026-10-19T09:18:44.607Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

accel/amdxdna: return early from a zero-length flush

SYNC_BO does not constrain its size, so a request for zero bytes reaches
drm_clflush_virt_range(), which ends with an unconditional
clflushopt(end - 1). For an empty range that is the byte before the
mapping, and abo->mem.kva comes from vmap(), so the access lands in the
guard page below the vmalloc area and faults:

  BUG: unable to handle page fault for address: ffffd16fbbc70fff
  #PF: supervisor read access in kernel mode
  Oops: Oops: 0000 [#1] SMP NOPTI
  CPU: 7 UID: 1000 Comm: sync_bo_probe
  RIP: 0010:drm_clflush_virt_range+0x3c/0x70
  Call Trace:
   amdxdna_drm_sync_bo_ioctl+0x124/0x430 [amdxdna]
   drm_ioctl+0x301/0x4c0
   __x64_sys_ioctl+0x115/0x2f0
   do_syscall_64+0xa6/0x3d0

Any process that can open the render node can do this. Reproduced 3 of 3
times on a Strix Point NPU (1022:17f0), by calling SYNC_BO with size 0 on
an AMDXDNA_BO_SHARE object. The import arm takes the same request but
flushes the whole scatterlist, so it survives it.

Nothing needs flushing for an empty range, so answer before choosing a
path.

(As written by CVE List.)

## Affected

- Linux Linux: from e252e3f3488a49267e08ea7d972ac5ba3f2f1763 before 45962da5821d0a691f638ccb13842889156d8969; from e252e3f3488a49267e08ea7d972ac5ba3f2f1763 before f00def884a831dc49eb659dac2dd09dbfd21e67f; from e252e3f3488a49267e08ea7d972ac5ba3f2f1763 before dc14753664240cedf669623b27ae9922b0618b25; 6.17 (not affected: before 6.17; from 6.18.52 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/45962da5821d0a691f638ccb13842889156d8969>
- <https://git.kernel.org/stable/c/f00def884a831dc49eb659dac2dd09dbfd21e67f>
- <https://git.kernel.org/stable/c/dc14753664240cedf669623b27ae9922b0618b25>

## Sources

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

---

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