# CVE-2026-64289: iommufd: Set upper bounds on cache invalidation entry_num and entry_len

- 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:29.434Z
- Modified: 2026-11-06T17:18:45.487Z
- 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: Set upper bounds on cache invalidation entry_num and entry_len

iommufd_hwpt_invalidate() takes a user-controlled entry_num and entry_len,
each bounded only by U32_MAX. An entry_len beyond the kernel's struct size
makes the copy helper verify the extra bytes are zero, scanning that excess
in one uninterruptible pass; a multi-gigabyte value over zeroed user memory
trips the soft-lockup watchdog.

A large entry_num is the other half, driving the backend invalidation loop
with no reschedule. The VT-d nested handler, for one, copies each entry and
flushes caches per iteration, pinning the CPU on a non-preemptible kernel.

Cap both in the ioctl. entry_len is held under PAGE_SIZE, above any request
struct, and entry_num under 1 << 19, the order of a hardware invalidation
queue and well beyond any real batch, bounding the per-call loop length.

(As written by CVE List.)

## Affected

- Linux Linux: from 8c6eabae3807e048b9f17733af5e20500fbf858c before d2bd041e0efaf7d81789779b135279d18b33d6d5; from 8c6eabae3807e048b9f17733af5e20500fbf858c before 32ca4aed2a66205b072fcfecabe220289a8149ff; from 8c6eabae3807e048b9f17733af5e20500fbf858c before 2c6381d90898089287e0a358f06f89f6b4b389f2; from 8c6eabae3807e048b9f17733af5e20500fbf858c before 4d70986002f2f3eaaed89124fb2522bded38b016; 6.8 (not affected: before 6.8; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.8 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/d2bd041e0efaf7d81789779b135279d18b33d6d5> (patch)
- <https://git.kernel.org/stable/c/32ca4aed2a66205b072fcfecabe220289a8149ff> (patch)
- <https://git.kernel.org/stable/c/2c6381d90898089287e0a358f06f89f6b4b389f2> (patch)
- <https://git.kernel.org/stable/c/4d70986002f2f3eaaed89124fb2522bded38b016> (patch)

## Sources

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

---

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