CVE-2024-39494
ima: Fix use-after-free on a dentry's dname.name
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 480afcbeb7aaaa22677d3dd48ec590b441eaac1a; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 0b31e28fbd773aefb6164687e0767319b8199829; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 7fb374981e31c193b1152ed8d3b0a95b671330d4; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < a78a6f0da57d058e2009e9958fdcef66f165208c; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < be84f32bb2c981ca670922e047cdde1488b233de
- Anyone running Linux 3.7
Vulnerability facts
- Affected
- Linux >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 480afcbeb7aaaa22677d3dd48ec590b441eaac1a; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 0b31e28fbd773aefb6164687e0767319b8199829; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 7fb374981e31c193b1152ed8d3b0a95b671330d4; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < a78a6f0da57d058e2009e9958fdcef66f165208c; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < be84f32bb2c981ca670922e047cdde1488b233de; Linux 3.7
- Fixed in
- Linux 480afcbeb7aaaa22677d3dd48ec590b441eaac1a, Linux 0b31e28fbd773aefb6164687e0767319b8199829, Linux 7fb374981e31c193b1152ed8d3b0a95b671330d4
- 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.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: ima: Fix use-after-free on a dentry's dname.name ->d_name.name can change on rename and the earlier value can be freed; there are conditions sufficient to stabilize it (->d_lock on dentry, ->d_lock on its parent, ->i_rwsem exclusive on the parent's inode, rename_lock), but none of those are met at any of the sites. Take a stable snapshot of the name instead.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 480afcbeb7aaaa22677d3dd48ec590b441eaac1a; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 0b31e28fbd773aefb6164687e0767319b8199829; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 7fb374981e31c193b1152ed8d3b0a95b671330d4; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < a78a6f0da57d058e2009e9958fdcef66f165208c; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < be84f32bb2c981ca670922e047cdde1488b233de | — | cvelist |
| Linux | 3.7 | — | 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-39494. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-39494.md Affected: Linux >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 480afcbeb7aaaa22677d3dd48ec590b441eaac1a; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 0b31e28fbd773aefb6164687e0767319b8199829; >= 2fe5d6def1672ae6635dd71… Fixed in: Linux 480afcbeb7aaaa22677d3dd48ec590b441eaac1a, Linux 0b31e28fbd773aefb6164687e0767319b8199829, Linux 7fb374981e31c193b1152ed8d3b0a95b671330d4 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
Patches
- https://git.kernel.org/stable/c/480afcbeb7aaaa22677d3dd48ec590b441eaac1a
- https://git.kernel.org/stable/c/edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb
- https://git.kernel.org/stable/c/0b31e28fbd773aefb6164687e0767319b8199829
- https://git.kernel.org/stable/c/7fb374981e31c193b1152ed8d3b0a95b671330d4
- https://git.kernel.org/stable/c/dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c
- https://git.kernel.org/stable/c/a78a6f0da57d058e2009e9958fdcef66f165208c
- https://git.kernel.org/stable/c/be84f32bb2c981ca670922e047cdde1488b233de
FAQ
Is CVE-2024-39494 being exploited?
There is no confirmed exploitation: CVE-2024-39494 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-39494?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-39494?
Linux >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 480afcbeb7aaaa22677d3dd48ec590b441eaac1a; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 0b31e28fbd773aefb6164687e0767319b8199829; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 7fb374981e31c193b1152ed8d3b0a95b671330d4; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < a78a6f0da57d058e2009e9958fdcef66f165208c; >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < be84f32bb2c981ca670922e047cdde1488b233de; Linux 3.7.
Is there a fix for CVE-2024-39494?
Yes. Fixed in Linux 480afcbeb7aaaa22677d3dd48ec590b441eaac1a, Linux 0b31e28fbd773aefb6164687e0767319b8199829, Linux 7fb374981e31c193b1152ed8d3b0a95b671330d4. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-39494?
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.