CVE-2024-39494

ima: Fix use-after-free on a dentry's dname.name

Published Jul 12, 2024 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4008-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4178-1 linux security update
Debian DSA Debian DSA DSA-5731-1 linux security update
Ubuntu USN Ubuntu USN USN-6999-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-6999-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7004-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7005-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7005-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7008-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7021-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7021-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7021-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7021-4 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7021-5 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7022-2 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7022-3 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7029-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7069-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7069-2 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-7110-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-7119-1 Linux kernel (IoT) vulnerabilities
History
Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
CPEs cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 11:33 AM
Reserved
Jun 25, 2024, 2:23 PM
Status
Modified
Published
Jul 12, 2024, 1:15 PM
Modified
Aug 4, 2026, 11:19 AM
Severity
Moderate
Public date
Jul 12, 2024, 12:00 AM