CVE-2024-35957
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
20/05/2024
Last modified:
23/09/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
iommu/vt-d: Fix WARN_ON in iommu probe path<br />
<br />
Commit 1a75cc710b95 ("iommu/vt-d: Use rbtree to track iommu probed<br />
devices") adds all devices probed by the iommu driver in a rbtree<br />
indexed by the source ID of each device. It assumes that each device<br />
has a unique source ID. This assumption is incorrect and the VT-d<br />
spec doesn&#39;t state this requirement either.<br />
<br />
The reason for using a rbtree to track devices is to look up the device<br />
with PCI bus and devfunc in the paths of handling ATS invalidation time<br />
out error and the PRI I/O page faults. Both are PCI ATS feature related.<br />
<br />
Only track the devices that have PCI ATS capabilities in the rbtree to<br />
avoid unnecessary WARN_ON in the iommu probe path. Otherwise, on some<br />
platforms below kernel splat will be displayed and the iommu probe results<br />
in failure.<br />
<br />
WARNING: CPU: 3 PID: 166 at drivers/iommu/intel/iommu.c:158 intel_iommu_probe_device+0x319/0xd90<br />
Call Trace:<br />
<br />
? __warn+0x7e/0x180<br />
? intel_iommu_probe_device+0x319/0xd90<br />
? report_bug+0x1f8/0x200<br />
? handle_bug+0x3c/0x70<br />
? exc_invalid_op+0x18/0x70<br />
? asm_exc_invalid_op+0x1a/0x20<br />
? intel_iommu_probe_device+0x319/0xd90<br />
? debug_mutex_init+0x37/0x50<br />
__iommu_probe_device+0xf2/0x4f0<br />
iommu_probe_device+0x22/0x70<br />
iommu_bus_notifier+0x1e/0x40<br />
notifier_call_chain+0x46/0x150<br />
blocking_notifier_call_chain+0x42/0x60<br />
bus_notify+0x2f/0x50<br />
device_add+0x5ed/0x7e0<br />
platform_device_add+0xf5/0x240<br />
mfd_add_devices+0x3f9/0x500<br />
? preempt_count_add+0x4c/0xa0<br />
? up_write+0xa2/0x1b0<br />
? __debugfs_create_file+0xe3/0x150<br />
intel_lpss_probe+0x49f/0x5b0<br />
? pci_conf1_write+0xa3/0xf0<br />
intel_lpss_pci_probe+0xcf/0x110 [intel_lpss_pci]<br />
pci_device_probe+0x95/0x120<br />
really_probe+0xd9/0x370<br />
? __pfx___driver_attach+0x10/0x10<br />
__driver_probe_device+0x73/0x150<br />
driver_probe_device+0x19/0xa0<br />
__driver_attach+0xb6/0x180<br />
? __pfx___driver_attach+0x10/0x10<br />
bus_for_each_dev+0x77/0xd0<br />
bus_add_driver+0x114/0x210<br />
driver_register+0x5b/0x110<br />
? __pfx_intel_lpss_pci_driver_init+0x10/0x10 [intel_lpss_pci]<br />
do_one_initcall+0x57/0x2b0<br />
? kmalloc_trace+0x21e/0x280<br />
? do_init_module+0x1e/0x210<br />
do_init_module+0x5f/0x210<br />
load_module+0x1d37/0x1fc0<br />
? init_module_from_file+0x86/0xd0<br />
init_module_from_file+0x86/0xd0<br />
idempotent_init_module+0x17c/0x230<br />
__x64_sys_finit_module+0x56/0xb0<br />
do_syscall_64+0x6e/0x140<br />
entry_SYSCALL_64_after_hwframe+0x71/0x79
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.8.2 (including) | 6.8.7 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



