CVE-2026-64289

iommufd: Set upper bounds on cache invalidation entry_num and entry_len

State
Published
Severity
Not scored
Published
Jul 25, 2026
Updated
Aug 17, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8c6eabae3807e048b9f17733af5e20500fbf858c to before d2bd041e0efaf7d81789779b135279d18b33d6d5Affected
  • 8c6eabae3807e048b9f17733af5e20500fbf858c to before 32ca4aed2a66205b072fcfecabe220289a8149ffAffected
  • 8c6eabae3807e048b9f17733af5e20500fbf858c to before 2c6381d90898089287e0a358f06f89f6b4b389f2Affected
  • 8c6eabae3807e048b9f17733af5e20500fbf858c to before 4d70986002f2f3eaaed89124fb2522bded38b016Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.96 through 6.12.*Not affected
  • 6.18.39 through 6.18.*Not affected
  • 7.1.4 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.