CVE-2024-39494

published 12 Jul 2024 · updated 12 Aug 2026

ima: Fix use-after-free on a dentry's dname.name

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b31e28fbd773aefb6164687e0767319b8199829, Kernel 480afcbeb7aaaa22677d3dd48ec590b441eaac1a, Kernel 7fb374981e31c193b1152ed8d3b0a95b671330d4 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.7, >=2fe5d6def1672ae6635dd71867bf36dcfaa7434b <0b31e28fbd773aefb6164687e0767319b8199829, >=2fe5d6def1672ae6635dd71867bf36dcfaa7434b <480afcbeb7aaaa22677d3dd48ec590b441eaac1a, >=2fe5d6def1672ae6635dd71867bf36dcfaa7434b <7fb374981e31c193b1152ed8d3b0a95b671330d4, >=2fe5d6def1672ae6635dd71867bf36dcfaa7434b <a78a6f0da57d058e2009e9958fdcef66f165208c, >=2fe5d6def1672ae6635dd71867bf36dcfaa7434b <be84f32bb2c981ca670922e047cdde1488b233de, >=2fe5d6def1672ae6635dd71867bf36dcfaa7434b <dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c, >=2fe5d6def1672ae6635dd71867bf36dcfaa7434b <edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb0b31e28fbd773aefb6164687e0767319b8199829, 480afcbeb7aaaa22677d3dd48ec590b441eaac1a, 7fb374981e31c193b1152ed8d3b0a95b671330d4, a78a6f0da57d058e2009e9958fdcef66f165208c, be84f32bb2c981ca670922e047cdde1488b233de, dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c, edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-39494 severity on Zeptric[![CVE-2024-39494](https://zeptric.io/badge/cve/CVE-2024-39494.svg)](https://zeptric.io/cve/CVE-2024-39494)