CVE-2024-39494: Linux kernel · ima: Fix use-after-free on a dentry's dname.name
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 29 Oct 2026, 22:52 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2024-39494 (opens in a new tab)
- git.kernel.org/stable/c/0b31e28fbd773aefb6164687e0767319b8199829 (opens in a new tab)
- git.kernel.org/stable/c/480afcbeb7aaaa22677d3dd48ec590b441eaac1a (opens in a new tab)
- git.kernel.org/stable/c/7fb374981e31c193b1152ed8d3b0a95b671330d4 (opens in a new tab)
- git.kernel.org/stable/c/a78a6f0da57d058e2009e9958fdcef66f165208c (opens in a new tab)
- git.kernel.org/stable/c/be84f32bb2c981ca670922e047cdde1488b233de (opens in a new tab)
- git.kernel.org/stable/c/dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c (opens in a new tab)
- git.kernel.org/stable/c/edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)