CVE-2024-39494CWE-416

CVE-2024-39494

High · published July 12, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
22.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00309 · 22.5th percentile
Weakness
CWE-416 · Use After Free
Published
2024-07-12T17:15Z
Affected products (7)
ProductVersionsFixed in
debian/debian_linuxall versions—
linux/linux_kernel≥ 3.19, < 5.4.2915.4.291
linux/linux_kernel≥ 5.5, < 5.10.2355.10.235
linux/linux_kernel≥ 5.11, < 5.15.1745.15.174
linux/linux_kernel≥ 5.16, < 6.1.976.1.97
linux/linux_kernel≥ 6.2, < 6.6.356.6.35
linux/linux_kernel≥ 6.7, < 6.9.66.9.6
References (13)
EPSS history
Timeline
  • 12 JUL 12:20Z
    ima: Fix use-after-free on a dentry's dname.name
    cvelistv5