Junglewise Threat Intelligence

CVE-2024-26891: Linux Kernel hard lockup in Intel VT-d during PCIe hotplug

CVE-2024-26891 · Severity: medium · CVSS 5.5 · Published 2024-04-17

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's handling of Intel hardware components could allow a local user to crash the system. When certain hardware devices are disconnected or reset while the system is running, the kernel may enter an infinite loop trying to communicate with the missing device. This results in a complete system hang or 'hard lockup,' impacting the availability of the server or workstation.

Technical details

A flaw exists in the iommu/vt-d component of the Linux kernel. When a PCIe device connected via a hotplug-capable port is reset or disconnected, the pciehp driver unloads the device driver and powers it off. However, the IOMMU driver may still attempt to issue an Address Translation Service (ATS) Invalidation request (device-TLB invalidation) to the now-disconnected device. This triggers an Invalidation Time-out Error (ITE) fault in an interrupt context, causing the kernel to enter a 'deadly loop' of retries. This infinite retry loop results in a hard lockup and kernel panic, effectively a local Denial of Service. The issue has been resolved in multiple stable kernel branches by ensuring invalidation requests are not issued to disconnected devices.

Affected products

  • Linux Linux Kernel 5.16 to 6.6.23, 6.7 to 6.7.11

Timeline

  • 2024-03-26: patched: Fix committed to Linux stable tree
  • 2024-04-17: disclosed: CVE published

References

Related threats