← CVE Intelligence

CVE-2024-39494

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 2fe5d6def1672ae6635dd71867bf36dcfaa7434b before 480afcbeb7aaaa22677d3dd48ec590b441eaac1a; affected 2fe5d6def1672ae6635dd71867bf36dcfaa7434b before edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb; affected 2fe5d6def1672ae6635dd71867bf36dcfaa7434b before 0b31e28fbd773aefb6164687e0767319b8199829; affected 2fe5d6def1672ae6635dd71867bf36dcfaa7434b before 7fb374981e31c193b1152ed8d3b0a95b671330d4; affected 2fe5d6def1672ae6635dd71867bf36dcfaa7434b before dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c; affected 2fe5d6def1672ae6635dd71867bf36dcfaa7434b before a78a6f0da57d058e2009e9958fdcef66f165208c; affected 2fe5d6def1672ae6635dd71867bf36dcfaa7434b before be84f32bb2c981ca670922e047cdde1488b233de
Linux / Linuxaffected 3.7; unaffected 0 before 3.7; unaffected 5.4.291 through 5.4.*; unaffected 5.10.235 through 5.10.*; unaffected 5.15.174 through 5.15.*; unaffected 6.1.97 through 6.1.*; unaffected 6.6.35 through 6.6.*; unaffected 6.9.6 through 6.9.*; unaffected 6.10 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CVE

No English description supplied.

CISA-ADP

No English description supplied.

No references supplied.