CVE-2024-27079: Linux Kernel - Use-After-Free
- Cve: CVE-2024-27079
- Name: Linux Kernel - Use-After-Free
- 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().
- Impact: Potential kernel crash and denial of service when releasing devices in deferred_attach mode, especially in crash kernel environments.
- Remediation: Apply the patch that uses the release_domain mechanism and clears the scalable mode context in release_device(). Update to the latest kernel version where this fix is included.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00257
- Epss percentile: 0.17476
- Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- Published at: 2024-05-01T13:15:51Z
- Age in days: 937
- Modified at: 2026-06-17T07:19:07Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-27079
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-476 | NULL Pointer Dereference |
References
| Url | Source | Tags |
|---|---|---|
| https://git.kernel.org/stable/c/333fe86968482ca701c609af590003bcea450e8f | nvd | Patch |
| https://git.kernel.org/stable/c/81e921fd321614c2ad8ac333b041aae1da7a1c6d | nvd | Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| linux:linux_kernel | >= 5.18, < 6.8.2 | no | nvd | /v1/products/linux/linux_kernel |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| torvalds/linux | cna_commit, commit | yes | /v1/repositories/torvalds/linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 10038339
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports