CVE-2024-35843
MediumIn 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.
CVSS 3.1 score
6.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Weakness type
CWE-416CVE-2024-35843 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
6.1
and later are affected. Fixed in
6.8.2,
6.9
and their respective stable series.
References
2 totalFrequently asked questions
-
What is CVE-2024-35843?
CVE-2024-35843 is a Medium severity Linux kernel vulnerability with a CVSS score of 6.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 6.1 onward and has been patched in 6.8.2 and 6.9. CVE-2024-35843 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-35843?
CVE-2024-35843 has a CVSS score of 6.8 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H. -
Is there a patch available for CVE-2024-35843?
Yes. CVE-2024-35843 has been patched. Fixed versions include 6.8.2 and 6.9. If you are running Linux kernel 6.1 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-35843 actively exploited?
No. CVE-2024-35843 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.