CVE-2026-64289

Source
https://cve.org/CVERecord?id=CVE-2026-64289
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64289.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64289
Downstream
Published
2026-07-25T08:49:29.434Z
Modified
2026-07-27T04:03:21.024438587Z
Summary
iommufd: Set upper bounds on cache invalidation entry_num and entry_len
Details

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

iommufd: Set upper bounds on cache invalidation entrynum and entrylen

iommufdhwptinvalidate() takes a user-controlled entrynum and entrylen, each bounded only by U32MAX. An entrylen 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. entrylen is held under PAGESIZE, 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64289.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8c6eabae3807e048b9f17733af5e20500fbf858c
Fixed
d2bd041e0efaf7d81789779b135279d18b33d6d5
Fixed
32ca4aed2a66205b072fcfecabe220289a8149ff
Fixed
2c6381d90898089287e0a358f06f89f6b4b389f2
Fixed
4d70986002f2f3eaaed89124fb2522bded38b016

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64289.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64289.json"