Vulnerability Details : CVE-2024-39494
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 category: Memory Corruption
Products affected by CVE-2024-39494
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2024-39494
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 10 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2024-39494
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | 2024-07-24 |
CWE ids for CVE-2024-39494
-
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2024-39494
-
https://git.kernel.org/stable/c/a78a6f0da57d058e2009e9958fdcef66f165208c
ima: Fix use-after-free on a dentry's dname.name - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/be84f32bb2c981ca670922e047cdde1488b233de
ima: Fix use-after-free on a dentry's dname.name - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/480afcbeb7aaaa22677d3dd48ec590b441eaac1a
-
https://git.kernel.org/stable/c/0b31e28fbd773aefb6164687e0767319b8199829
ima: Fix use-after-free on a dentry's dname.name - kernel/git/stable/linux.git - Linux kernel stable tree
-
https://git.kernel.org/stable/c/7fb374981e31c193b1152ed8d3b0a95b671330d4
ima: Fix use-after-free on a dentry's dname.name - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb
-
https://git.kernel.org/stable/c/dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c
ima: Fix use-after-free on a dentry's dname.name - kernel/git/stable/linux.git - Linux kernel stable treePatch
Jump to