Introducing Wiz for Exposure Management: Unify, prioritize, and remediate exposures everywhere.

CVE-2024-35957
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability was discovered in the Linux kernel's Intel Virtualization Technology for Directed I/O (VT-d) subsystem. The issue stems from an incorrect assumption in commit 1a75cc710b95 that each device has a unique source ID when tracking IOMMU probed devices in an rbtree data structure. This assumption is not supported by the VT-d specification (Kernel Commit).

Technical details

The vulnerability affects the IOMMU probe path in the Linux kernel's VT-d implementation. The issue occurs when the system attempts to track devices probed by the IOMMU driver in an rbtree indexed by the source ID of each device. The rbtree is used specifically for handling ATS (Address Translation Services) invalidation timeout errors and PRI (Page Request Interface) I/O page faults, both of which are PCI ATS feature-related (Kernel Commit).

Impact

When triggered, the vulnerability results in a kernel warning (WARN_ON) and can lead to IOMMU probe failure on affected platforms. This can cause system instability and potentially affect the proper functioning of device I/O operations that rely on IOMMU functionality (Kernel Commit).

Mitigation and workarounds

The issue has been fixed by modifying the device tracking logic to only include devices that have PCI ATS capabilities in the rbtree. This change prevents unnecessary WARN_ON triggers in the IOMMU probe path while maintaining the required functionality for ATS-related features (Kernel Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management