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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-05-01T13:04:58.511Z
- **Modified:** 2026-06-17T07:19:07.387Z

## Who should check

- Anyone running Linux \>= 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, \< 333fe86968482ca701c609af590003bcea450e8f; \>= 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, \< 81e921fd321614c2ad8ac333b041aae1da7a1c6d
- Anyone running Linux 5.18

## 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().

## Affected and fixed versions

- Linux: \>= 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, \< 333fe86968482ca701c609af590003bcea450e8f; \>= 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, \< 81e921fd321614c2ad8ac333b041aae1da7a1c6d (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 81e921fd321614c2ad8ac333b041aae1da7a1c6d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27079. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27079.md
Affected: Linux >= 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, < 333fe86968482ca701c609af590003bcea450e8f; >= 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, < 81e921fd321614c2ad8ac333b041aae1da7a1c6d; Linux 5.18
Fixed in: Linux 333fe86968482ca701c609af590003bcea450e8f, Linux 81e921fd321614c2ad8ac333b041aae1da7a1c6d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-27079 being exploited?

There is no confirmed exploitation: CVE-2024-27079 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-27079?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-27079?

Linux \>= 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, \< 333fe86968482ca701c609af590003bcea450e8f; \>= 586081d3f6b13ec9dfdfdf3d7842a688b376fa5e, \< 81e921fd321614c2ad8ac333b041aae1da7a1c6d; Linux 5.18.

### Is there a fix for CVE-2024-27079?

Yes. Fixed in Linux 333fe86968482ca701c609af590003bcea450e8f, Linux 81e921fd321614c2ad8ac333b041aae1da7a1c6d. Upgrade Linux to 81e921fd321614c2ad8ac333b041aae1da7a1c6d or later.

### How do I check if I'm affected by CVE-2024-27079?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27079>

HTML: <https://flawdb.com/CVE-2024-27079> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27079>
