CVE-2026-64289
Medium · 5.5CVSS
5.5
EPSS
0.2%
Published
Jul 25, 2026
CISA due date
—
Cloudanix analysis
A local user or workload may be able to make an affected Linux system slow down, freeze, or require a reboot by sending oversized device-management requests to the kernel.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Denial of service
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Medium
What it actually does
This flaw affects the Linux kernel iommufd hardware page table invalidation ioctl path. User-controlled cache invalidation parameters, specifically entry_num and entry_len, were insufficiently bounded. An oversized entry_len can cause the kernel copy/validation helper to scan a very large user-memory range in one uninterruptible operation, while an oversized entry_num can force long backend invalidation loops, including VT-d nested invalidation handling, without adequate rescheduling. On affected systems this can pin a CPU in kernel context, trigger soft-lockup watchdog warnings, and cause local denial of service or severe performance degradation. The issue requires local ability to interact with the iommufd interface, typically through virtualization, device assignment, or IOMMU-related workloads.
Why it matters to the business
Successful exploitation can make Linux hosts unstable or unavailable by consuming CPU in non-preemptible kernel paths. The highest operational risk is to virtualization hosts, systems using IOMMU-backed device assignment, and platforms running workloads that can access iommufd functionality. Impact may include degraded application performance, stalled virtual machines, host watchdog events, service interruption, or forced reboot. The current EPSS is low and the issue is not listed in CISA KEV, but kernel denial-of-service flaws can still be important in multi-user, hosting, CI, research, or virtualization environments where untrusted local users or guests may influence host IOMMU operations.
How an attack unfolds
An attacker first obtains local code execution or access to a workload capable of opening and issuing ioctls to the Linux iommufd interface. They then craft a hardware page table invalidation request with excessively large entry_len, entry_num, or both. For entry_len abuse, the attacker points the request at large zeroed user memory so the kernel spends an extended period validating excess bytes in an uninterruptible copy path. For entry_num abuse, the attacker drives the backend invalidation handler through a very large number of iterations; on affected paths such as VT-d nested invalidation, this can repeatedly copy entries and flush caches without yielding CPU. Repeated or parallel attempts can pin one or more CPUs, trigger kernel soft-lockup messages, degrade host responsiveness, and potentially require administrative intervention or reboot.
How to fix it
Upgrade to a Linux kernel version that includes the fix limiting iommufd invalidation entry_len and entry_num. The corrected behavior caps entry_len below PAGE_SIZE and caps entry_num below 1 << 19, preventing unbounded per-call copy validation and backend invalidation loops. If vendor fixed package versions are not yet available, track the advisory from the operating system or kernel distribution and apply the first kernel update containing the iommufd bounds-checking patch. As interim mitigation, restrict local access to systems with IOMMU/iommufd exposure, limit untrusted shell or workload access on virtualization hosts, avoid granting unnecessary device-assignment or VFIO/IOMMU capabilities, and use workload isolation policies to prevent untrusted code from reaching kernel device-management interfaces. Reboot into the fixed kernel after installation; merely installing the package is not sufficient if the vulnerable kernel remains running.
How to confirm the fix worked
Confirm the running kernel includes the iommufd fix, not just that an updated package is installed. Validate with the distribution advisory, kernel changelog, or source tree showing bounds enforcement in iommufd_hwpt_invalidate() for entry_len and entry_num. Check the running version with uname -r and compare it to the vendor-fixed kernel build. Where feasible in a non-production test environment, run a safe regression test that submits oversized invalidation parameters and verify the ioctl is rejected quickly rather than causing CPU stalls or soft-lockup messages. After remediation, monitor dmesg, journald, and kernel logs for absence of new soft-lockup events involving iommufd, IOMMU, VT-d, or invalidation paths.
Typical attack path
- Gain local execution on an affected Linux system or access to a sandbox, container, VM-management component, or user process that can interact with iommufd.
- Open the iommufd device/interface and prepare a hardware page table invalidation ioctl request.
- Set entry_len to an abnormally large value, entry_num to an abnormally large value, or both.
- Provide user memory that allows the kernel validation path to spend excessive time scanning or looping.
- Submit the ioctl repeatedly or concurrently to increase CPU pressure.
- Observe CPU pinning, soft-lockup watchdog messages, host performance degradation, stalled virtualization workloads, or system instability.
How to detect it
Detection should focus on signs of local denial-of-service activity rather than durable malware artifacts. Review kernel logs from dmesg, journald, syslog, and centralized logging for soft-lockup watchdog events, hung tasks, RCU stalls, or repeated IOMMU/iommufd/VT-d invalidation messages around the time of CPU saturation or host unresponsiveness. Correlate these events with process accounting, auditd, eBPF telemetry, EDR, or command-history sources that show processes opening /dev/iommu or issuing unusual ioctl-heavy activity. On virtualization hosts, correlate incidents with VM lifecycle events, device passthrough operations, VFIO activity, nested virtualization configuration, and management-service logs. Look for repeated local processes consuming high system CPU with little user-space progress immediately before watchdog messages. Because this is a kernel resource-exhaustion flaw, exploitation may not create files or network indicators; absence of file artifacts does not rule it out.
- /dev/iommu
- iommufd_hwpt_invalidate
- iommufd
- NMI watchdog: BUG: soft lockup
- watchdog: BUG: soft lockup
- BUG: soft lockup - CPU#
- soft lockup - CPU#
- rcu: INFO: rcu_preempt detected stalls
- INFO: task .* blocked for more than
- hung_task_timeout_secs
- DMAR
- VT-d
- IOMMU
- vfio
- vfio-pci
What your security team should do
- Prioritize patching virtualization hosts, multi-user Linux servers, CI/build workers, research platforms, and systems using VFIO, IOMMU, device passthrough, or nested virtualization.
- Inventory Linux systems with iommufd enabled or with /dev/iommu present, then map them to vendor kernel advisories and fixed kernel builds.
- Apply the fixed kernel and reboot affected systems into the updated version.
- Until patched, restrict local user access and avoid running untrusted workloads on hosts that expose IOMMU/device-assignment functionality.
- Review authorization and runtime policies for containers, VMs, and management services to ensure untrusted workloads cannot access host device-management interfaces.
- Monitor kernel logs for soft lockups, hung tasks, watchdog events, and IOMMU/iommufd-related errors, especially on hosts with unexplained CPU saturation.
- If suspicious activity is observed, preserve kernel logs, audit logs, process execution history, and workload metadata before rebooting, because denial-of-service exploitation may leave limited file-based artifacts.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|