Review reviewHigh

CVE-2024-39494

Linux Linux, debian linux, linux kernel

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.

CVSS
7.8
EPSS
0.31%
23.2% percentile
CISA KEV
Not listed
Published
2024.07.12
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.31%
Technical severityCVSS 7.8

Vulnerability overview

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 product and versions

Product
Linux Linux, debian linux, linux kernel
Affected versions
>= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b < 480afcbeb7aaaa22677d3dd48ec590b441eaac1a, >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b < edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb, >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b < 0b31e28fbd773aefb6164687e0767319b8199829, >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b < 7fb374981e31c193b1152ed8d3b0a95b671330d4, >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b < dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c, >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b < a78a6f0da57d058e2009e9958fdcef66f165208c, >= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b < be84f32bb2c981ca670922e047cdde1488b233de, >= 3.7, 11.0, >= 3.19 < 5.4.291, >= 5.5 < 5.10.235, >= 5.11 < 5.15.174, >= 5.16 < 6.1.97, >= 6.2 < 6.6.35, >= 6.7 < 6.9.6
Fixed versions
5.4.291, 5.10.235, 5.15.174, 6.1.97, 6.6.35, 6.9.6

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, debian linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2024-39494 — Linux Linux, debian linux, linux kernel | SECUFOCUS NOW