VDB

CVE-2024-27079

CVE-2024-27079 PUBLISHED

iommu/vt-d: Fix NULL domain on device release

Reported by linux · Published May 1, 2024

In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix NULL domain on device release In the kdump kernel, the IOMMU operates in deferred_attach mode. In this mode, info->domain may not yet be assigned by the time the release_device function is called. It leads to the following crash in the crash kernel: BUG: kernel NULL pointer dereference, address: 000000000000003c ... RIP: 0010:do_raw_spin_lock+0xa/0xa0 ... _raw_spin_lock_irqsave+0x1b/0x30 intel_iommu_release_device+0x96/0x170 iommu_deinit_device+0x39/0xf0 __iommu_group_remove_device+0xa0/0xd0 iommu_bus_notifier+0x55/0xb0 notifier_call_chain+0x5a/0xd0 blocking_notifier_call_chain+0x41/0x60 bus_notify+0x34/0x50 device_del+0x269/0x3d0 pci_remove_bus_device+0x77/0x100 p2sb_bar+0xae/0x1d0 ... i801_probe+0x423/0x740 Use the release_domain mechanism to fix it. The scalable mode context entry which is not part of release domain should be cleared in release_device().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.8.2

Affected products

VendorProductVersions
LinuxLinux586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e
LinuxLinux5.18, 0, 6.8.2
linuxlinux_kernel5.18, 5.18
LinuxLinux586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, 5.18, 0

Timeline

  • May 1, 2024 CVE Published
  • May 2, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (20 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (308 in total, the first dated here)
  • May 11, 2026 CVE Updated
  • May 28, 2026 Distribution Patch (270 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-27079
vulnetix vdb fixes CVE-2024-27079

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-27079/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›