# CVE-2024-35957: iommu/vt-d: Fix WARN\_ON in iommu probe path

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.9
- **CVSS:** 5.9 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-617
- **Published:** 2024-05-20T09:41:49.930Z
- **Modified:** 2026-06-17T07:35:48.583Z

## Who should check

- Anyone running Linux \>= c618d446f1d64bdc9e426bab5e8619f224cde2ae, \< fba8ca3e6f608b92e54271fdbd3ce569361939fc; \>= 1a75cc710b956010137b4fe1d1fa3282bfd8f86c, \< 89436f4f54125b1297aec1f466efd8acb4ec613d
- Anyone running Linux \>= 6.8.2, \< 6.8.7

## Description

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

iommu/vt-d: Fix WARN\_ON in iommu probe path

Commit 1a75cc710b95 ("iommu/vt-d: Use rbtree to track iommu probed
devices") adds all devices probed by the iommu driver in a rbtree
indexed by the source ID of each device. It assumes that each device
has a unique source ID. This assumption is incorrect and the VT-d
spec doesn't state this requirement either.

The reason for using a rbtree to track devices is to look up the device
with PCI bus and devfunc in the paths of handling ATS invalidation time
out error and the PRI I/O page faults. Both are PCI ATS feature related.

Only track the devices that have PCI ATS capabilities in the rbtree to
avoid unnecessary WARN\_ON in the iommu probe path. Otherwise, on some
platforms below kernel splat will be displayed and the iommu probe results
in failure.

 WARNING: CPU: 3 PID: 166 at drivers/iommu/intel/iommu.c:158 intel\_iommu\_probe\_device+0x319/0xd90
 Call Trace:
  \<TASK\>
  ? \_\_warn+0x7e/0x180
  ? intel\_iommu\_probe\_device+0x319/0xd90
  ? report\_bug+0x1f8/0x200
  ? handle\_bug+0x3c/0x70
  ? exc\_invalid\_op+0x18/0x70
  ? asm\_exc\_invalid\_op+0x1a/0x20
  ? intel\_iommu\_probe\_device+0x319/0xd90
  ? debug\_mutex\_init+0x37/0x50
  \_\_iommu\_probe\_device+0xf2/0x4f0
  iommu\_probe\_device+0x22/0x70
  iommu\_bus\_notifier+0x1e/0x40
  notifier\_call\_chain+0x46/0x150
  blocking\_notifier\_call\_chain+0x42/0x60
  bus\_notify+0x2f/0x50
  device\_add+0x5ed/0x7e0
  platform\_device\_add+0xf5/0x240
  mfd\_add\_devices+0x3f9/0x500
  ? preempt\_count\_add+0x4c/0xa0
  ? up\_write+0xa2/0x1b0
  ? \_\_debugfs\_create\_file+0xe3/0x150
  intel\_lpss\_probe+0x49f/0x5b0
  ? pci\_conf1\_write+0xa3/0xf0
  intel\_lpss\_pci\_probe+0xcf/0x110 \[intel\_lpss\_pci\]
  pci\_device\_probe+0x95/0x120
  really\_probe+0xd9/0x370
  ? \_\_pfx\_\_\_driver\_attach+0x10/0x10
  \_\_driver\_probe\_device+0x73/0x150
  driver\_probe\_device+0x19/0xa0
  \_\_driver\_attach+0xb6/0x180
  ? \_\_pfx\_\_\_driver\_attach+0x10/0x10
  bus\_for\_each\_dev+0x77/0xd0
  bus\_add\_driver+0x114/0x210
  driver\_register+0x5b/0x110
  ? \_\_pfx\_intel\_lpss\_pci\_driver\_init+0x10/0x10 \[intel\_lpss\_pci\]
  do\_one\_initcall+0x57/0x2b0
  ? kmalloc\_trace+0x21e/0x280
  ? do\_init\_module+0x1e/0x210
  do\_init\_module+0x5f/0x210
  load\_module+0x1d37/0x1fc0
  ? init\_module\_from\_file+0x86/0xd0
  init\_module\_from\_file+0x86/0xd0
  idempotent\_init\_module+0x17c/0x230
  \_\_x64\_sys\_finit\_module+0x56/0xb0
  do\_syscall\_64+0x6e/0x140
  entry\_SYSCALL\_64\_after\_hwframe+0x71/0x79

## Affected and fixed versions

- Linux: \>= c618d446f1d64bdc9e426bab5e8619f224cde2ae, \< fba8ca3e6f608b92e54271fdbd3ce569361939fc; \>= 1a75cc710b956010137b4fe1d1fa3282bfd8f86c, \< 89436f4f54125b1297aec1f466efd8acb4ec613d (cvelist)
- Linux: \>= 6.8.2, \< 6.8.7 (cvelist)

## Mitigation

- Upgrade Linux to 89436f4f54125b1297aec1f466efd8acb4ec613d or later.
- Upgrade Linux to 6.8.7 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35957. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35957.md
Affected: Linux >= c618d446f1d64bdc9e426bab5e8619f224cde2ae, < fba8ca3e6f608b92e54271fdbd3ce569361939fc; >= 1a75cc710b956010137b4fe1d1fa3282bfd8f86c, < 89436f4f54125b1297aec1f466efd8acb4ec613d; Linux >= 6.8.2, < 6.8.7
Fixed in: Linux 89436f4f54125b1297aec1f466efd8acb4ec613d, Linux 6.8.7

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35957 being exploited?

There is no confirmed exploitation: CVE-2024-35957 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35957?

Medium: CVSS 5.9 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35957?

Linux \>= c618d446f1d64bdc9e426bab5e8619f224cde2ae, \< fba8ca3e6f608b92e54271fdbd3ce569361939fc; \>= 1a75cc710b956010137b4fe1d1fa3282bfd8f86c, \< 89436f4f54125b1297aec1f466efd8acb4ec613d; Linux \>= 6.8.2, \< 6.8.7.

### Is there a fix for CVE-2024-35957?

Yes. Fixed in Linux 89436f4f54125b1297aec1f466efd8acb4ec613d, Linux 6.8.7. Upgrade Linux to 89436f4f54125b1297aec1f466efd8acb4ec613d or later. Upgrade Linux to 6.8.7 or later.

### How do I check if I'm affected by CVE-2024-35957?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/fba8ca3e6f608b92e54271fdbd3ce569361939fc>
- patch: <https://git.kernel.org/stable/c/89436f4f54125b1297aec1f466efd8acb4ec613d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35957>

HTML: <https://flawdb.com/CVE-2024-35957> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35957>
