CVE-2024-39494

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
12/07/2024
Last modified:
06/01/2026

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:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 3.19 (including) 5.4.291 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.235 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.174 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 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)