CVE Catalog

CVE-2024-39494

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

23th percentile - higher than 23% of all known CVEs

Summary

In the Linux kernel, a use-after-free vulnerability was found in the IMA module related to the dname.name field of a dentry. The name can change on rename and the earlier value can be freed, leading to unsafe dereference.

Risk Assessment

The vulnerability could lead to data integrity issues, system crashes, or potentially privilege escalation if an attacker can control file operations.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that takes a stable snapshot of the name instead of directly referencing dname.name.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS