CVE-2024-39494

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
12/07/2024
Last modified:
13/03/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> ima: Fix use-after-free on a dentry&amp;#39;s dname.name<br /> <br /> -&gt;d_name.name can change on rename and the earlier value can be freed;<br /> there are conditions sufficient to stabilize it (-&gt;d_lock on dentry,<br /> -&gt;d_lock on its parent, -&gt;i_rwsem exclusive on the parent&amp;#39;s inode,<br /> rename_lock), but none of those are met at any of the sites. Take a stable<br /> snapshot of the name instead.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.97 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.35 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.9.6 (excluding)