# CVE-2026-64292: iommufd: Move vevent memory allocation outside spinlock

- 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.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-07-25T08:49:31.325Z
- Modified: 2026-11-06T17:18:46.013Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

iommufd: Move vevent memory allocation outside spinlock

The veventq memory allocation happens inside the spinlock. Given its depth
is decided by the user space, this leaves a vulnerability, where userspace
can allocate large queues to exhaust atomic memory reserves.

Move the allocation outside the spinlock and use GFP_NOWAIT, which can fail
fast under memory pressure without dipping into the GFP_ATOMIC reserves or
direct-reclaiming from the threaded IRQ handler. On allocation failure,
queue the lost_events_header (so userspace learns of the drop) and return
-ENOMEM so the caller learns of the kernel-side memory pressure.

This is intentionally distinct from the queue-overflow path, which also
queues the lost_events_header but returns 0: a full queue is an expected
userspace-pacing condition rather than a kernel error.

A subsequent change will cap the upper bound of the veventq_depth.

(As written by CVE List.)

## Affected

- Linux Linux: from e36ba5ab808ef6237c3148d469c8238674230e2b before 779480ea79551c31964e74b9aef0e730faa3aa11; from e36ba5ab808ef6237c3148d469c8238674230e2b before 6c5fc40200cd0a87d66a368eee00df4d1cca946e; from e36ba5ab808ef6237c3148d469c8238674230e2b before 47443565d10c51366c9382dbc8597cd6c460b8a2; 6.15 (not affected: before 6.15; from 6.18.40 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.15 before 6.18.40; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/779480ea79551c31964e74b9aef0e730faa3aa11> (patch)
- <https://git.kernel.org/stable/c/6c5fc40200cd0a87d66a368eee00df4d1cca946e> (patch)
- <https://git.kernel.org/stable/c/47443565d10c51366c9382dbc8597cd6c460b8a2> (patch)

## Sources

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

---

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