Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

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

CVSS 3.1 8.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2024-35843

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2024-35843

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iommu/intel/dmar.c",
                        "drivers/iommu/intel/iommu.c",
                        "drivers/iommu/intel/iommu.h",
                        "drivers/iommu/intel/svm.c"
                    ],
                    "versions": [
                        {
                            "version": "06f4b8d09dbabec631ed7b033f5d5413d86c7134",
                            "lessThan": "3d39238991e745c5df85785604f037f35d9d1b15",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "06f4b8d09dbabec631ed7b033f5d5413d86c7134",
                            "lessThan": "def054b01a867822254e1dda13d587f5c7a99e2a",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/iommu/intel/dmar.c",
                        "drivers/iommu/intel/iommu.c",
                        "drivers/iommu/intel/iommu.h",
                        "drivers/iommu/intel/svm.c"
                    ],
                    "versions": [
                        {
                            "version": "6.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.8.2",
                            "lessThanOrEqual": "6.8.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.9",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 03:08 UTC · 274 of 275 readable · 269 fully read · documentation 469/469 current