CVE-2024-27079

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
01/05/2024
Last modified:
05/03/2025

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.18 (including) 6.8.2 (excluding)