CVE-2024-38385
genirq/irqdesc: Prevent use-after-free in irq_find_at_or_after()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < 1c7891812d85500ae2ca4051fa5683fcf29930d8; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < d084aa022f84319f8079e30882cbcbc026af9f21; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < b84a8aba806261d2f759ccedf4a2a6a80a5e55ba
- Anyone running Linux 6.5
Vulnerability facts
- Affected
- Linux >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < 1c7891812d85500ae2ca4051fa5683fcf29930d8; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < d084aa022f84319f8079e30882cbcbc026af9f21; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < b84a8aba806261d2f759ccedf4a2a6a80a5e55ba; Linux 6.5
- Fixed in
- Linux 1c7891812d85500ae2ca4051fa5683fcf29930d8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: genirq/irqdesc: Prevent use-after-free in irq_find_at_or_after() irq_find_at_or_after() dereferences the interrupt descriptor which is returned by mt_find() while neither holding sparse_irq_lock nor RCU read lock, which means the descriptor can be freed between mt_find() and the dereference: CPU0 CPU1 desc = mt_find() delayed_free_desc(desc) irq_desc_get_irq(desc) The use-after-free is reported by KASAN: Call trace: irq_get_next_irq+0x58/0x84 show_stat+0x638/0x824 seq_read_iter+0x158/0x4ec proc_reg_read_iter+0x94/0x12c vfs_read+0x1e0/0x2c8 Freed by task 4471: slab_free_freelist_hook+0x174/0x1e0 __kmem_cache_free+0xa4/0x1dc kfree+0x64/0x128 irq_kobj_release+0x28/0x3c kobject_put+0xcc/0x1e0 delayed_free_desc+0x14/0x2c rcu_do_batch+0x214/0x720 Guard the access with a RCU read lock section.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < 1c7891812d85500ae2ca4051fa5683fcf29930d8; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < d084aa022f84319f8079e30882cbcbc026af9f21; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < b84a8aba806261d2f759ccedf4a2a6a80a5e55ba | — | cvelist |
| Linux | 6.5 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-38385. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-38385.md Affected: Linux >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < 1c7891812d85500ae2ca4051fa5683fcf29930d8; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < d084aa022f84319f8079e30882cbcbc026af9f21; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < b84a8aba806261d2f759ccedf4a2a6a80a5e55ba; Linux 6.5 Fixed in: Linux 1c7891812d85500ae2ca4051fa5683fcf29930d8 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.
References
FAQ
Is CVE-2024-38385 being exploited?
There is no confirmed exploitation: CVE-2024-38385 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-38385?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-38385?
Linux >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < 1c7891812d85500ae2ca4051fa5683fcf29930d8; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < d084aa022f84319f8079e30882cbcbc026af9f21; >= 721255b9826bd11c7a38b585905fc2dd0fb94e52, < b84a8aba806261d2f759ccedf4a2a6a80a5e55ba; Linux 6.5.
Is there a fix for CVE-2024-38385?
Yes. Fixed in Linux 1c7891812d85500ae2ca4051fa5683fcf29930d8. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-38385?
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.