# CVE-2024-35843: iommu/vt-d: Use device rbtree in iopf reporting path

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-05-17T14:40:10.747Z
- Modified: 2026-08-05T11:30:15.505Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

iommu/vt-d: Use device rbtree in iopf reporting path

The existing I/O page fault handler currently locates the PCI device by
calling pci_get_domain_bus_and_slot(). This function searches the list
of all PCI devices until the desired device is found. To improve lookup
efficiency, replace it with device_rbtree_find() to search the device
within the probed device rbtree.

The I/O page fault is initiated by the device, which does not have any
synchronization mechanism with the software to ensure that the device
stays in the probed device tree. Theoretically, a device could be released
by the IOMMU subsystem after device_rbtree_find() and before
iopf_get_dev_fault_param(), which would cause a use-after-free problem.

Add a mutex to synchronize the I/O page fault reporting path and the IOMMU
release device path. This lock doesn't introduce any performance overhead,
as the conflict between I/O page fault reporting and device releasing is
very rare.

(As written by CVE List.)

## Affected

- Linux Linux: from 06f4b8d09dbabec631ed7b033f5d5413d86c7134 before 3d39238991e745c5df85785604f037f35d9d1b15; from 06f4b8d09dbabec631ed7b033f5d5413d86c7134 before def054b01a867822254e1dda13d587f5c7a99e2a; 6.1 (not affected: before 6.1; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 1da177e4c3f4 before 3d39238991e7; from 1da177e4c3f4 before def054b01a86; before 6.8.2 (not affected: from 6.8.2 up to 6.8.*; 6.9)

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3d39238991e745c5df85785604f037f35d9d1b15> (patch)
- <https://git.kernel.org/stable/c/def054b01a867822254e1dda13d587f5c7a99e2a> (patch)

## Sources

- CVE List: [CVE-2024-35843](https://www.cve.org/CVERecord?id=CVE-2024-35843), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-35843](https://nvd.nist.gov/vuln/detail/CVE-2024-35843), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-35843 · Whole record: https://cve.day/CVE-2024-35843.json · Rebuilt by cve.day 2026-11-25T22:58:40.539Z
