Vulnerability · Published Jul 12, 2024 · Assigned by Linux
CVE-2024-39494ima: Fix use-after-free on a dentry's dname.name
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 24% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.99-1 | DEBIAN-CVE-2024-39494 |
| Debian:12 | linux | 6.1.99-1 | DSA-5731-1 |
| Debian:13 | linux | 6.9.7-1 | DEBIAN-CVE-2024-39494 |
| Debian:14 | linux | 6.9.7-1 | DEBIAN-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux | 5.15.0-122.132 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux | 5.15.0-122.132 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-44.44 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1070.76 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1070.76 | UBUNTU-CVE-2024-39494 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1015.16 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1015.16~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1073.82 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1073.82 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1014.16 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1014.16~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1073.82.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1073.82.1 | USN-7021-5 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1069.77 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1069.77 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1014.16 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1014.16~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1067.73 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1067.73 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1010.13 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1053.60 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1053.60 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-45.45~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1063.66 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1063.66 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1012.12 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1012.12~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1065.71 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1065.71 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1067.72 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1067.72 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-122.132 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-122.132 | USN-7021-3 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-44.44.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-44.44.1~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1065.66 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1065.66 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1013.14 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1013.14~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1013.14.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1030.30 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1019.19 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | 6.8.0-1012.12 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1068.74 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1068.74 | USN-7021-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1012.12 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1012.12~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1063.66 | USN-7021-1 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1063.66 | UBUNTU-CVE-2024-39494 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1011.12 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:24.04:LTS | linux-riscv | 6.8.0-44.44.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-44.44.1~22.04.1 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1036.40 | UBUNTU-CVE-2024-39494 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1036.40 | USN-7021-2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 2fe5d6def1672ae6635dd71867bf36dcfaa7434b – before 480afcbeb7aaaa22677d3dd48ec590b441eaac1a2fe5d6def1672ae6635dd71867bf36dcfaa7434b – before edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb2fe5d6def1672ae6635dd71867bf36dcfaa7434b – before 0b31e28fbd773aefb6164687e0767319b81998292fe5d6def1672ae6635dd71867bf36dcfaa7434b – before 7fb374981e31c193b1152ed8d3b0a95b671330d42fe5d6def1672ae6635dd71867bf36dcfaa7434b – before dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c2fe5d6def1672ae6635dd71867bf36dcfaa7434b – before a78a6f0da57d058e2009e9958fdcef66f165208c2fe5d6def1672ae6635dd71867bf36dcfaa7434b – before be84f32bb2c981ca670922e047cdde1488b233de |
| Linux | Linux | 3.7 |
References
- https://git.kernel.org/stable/c/480afcbeb7aaaa22677d3dd48ec590b441eaac1a
- https://git.kernel.org/stable/c/edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb
- https://git.kernel.org/stable/c/0b31e28fbd773aefb6164687e0767319b8199829
- https://git.kernel.org/stable/c/7fb374981e31c193b1152ed8d3b0a95b671330d4
- https://git.kernel.org/stable/c/dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c
- https://git.kernel.org/stable/c/a78a6f0da57d058e2009e9958fdcef66f165208c
- https://git.kernel.org/stable/c/be84f32bb2c981ca670922e047cdde1488b233de
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html