# CVE-2024-27079: iommu/vt-d: Fix NULL domain on device release

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.27%, higher than 12% of CVEs (2026-11-30)
- Published: 2024-05-01T13:04:58.511Z
- Modified: 2026-06-17T07:19:07.387Z
- Weaknesses: CWE-476
- 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: 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e before 333fe86968482ca701c609af590003bcea450e8f; from 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e before 81e921fd321614c2ad8ac333b041aae1da7a1c6d; 5.18 (not affected: before 5.18; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 5.18 before 6.8.2

## References

- <https://git.kernel.org/stable/c/333fe86968482ca701c609af590003bcea450e8f> (patch)
- <https://git.kernel.org/stable/c/81e921fd321614c2ad8ac333b041aae1da7a1c6d> (patch)

## Sources

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

---

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