{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-39494","id":"CVE-2024-39494","title":"ima: Fix use-after-free on a dentry's dname.name","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nima: Fix use-after-free on a dentry's dname.name\n\n->d_name.name can change on rename and the earlier value can be freed;\nthere are conditions sufficient to stabilize it (->d_lock on dentry,\n->d_lock on its parent, ->i_rwsem exclusive on the parent's inode,\nrename_lock), but none of those are met at any of the sites. Take a stable","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nima: Fix use-after-free on a dentry's dname.name\n\n->d_name.name can change on rename and the earlier value can be freed;\nthere are conditions sufficient to stabilize it (->d_lock on dentry,\n->d_lock on its parent, ->i_rwsem exclusive on the parent's inode,\nrename_lock), but none of those are met at any of the sites. Take a stable\nsnapshot of the name instead.","published":"2024-07-12T12:20:30.348Z","updated":"2026-10-28T02:30:40.943395793Z","reserved":"2024-06-25T14:23:23.748Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2fe5d6def1672ae6635dd71867bf36dcfaa7434b","lessThan":"480afcbeb7aaaa22677d3dd48ec590b441eaac1a","status":"affected","versionType":"git"},{"version":"2fe5d6def1672ae6635dd71867bf36dcfaa7434b","lessThan":"edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb","status":"affected","versionType":"git"},{"version":"2fe5d6def1672ae6635dd71867bf36dcfaa7434b","lessThan":"0b31e28fbd773aefb6164687e0767319b8199829","status":"affected","versionType":"git"},{"version":"2fe5d6def1672ae6635dd71867bf36dcfaa7434b","lessThan":"7fb374981e31c193b1152ed8d3b0a95b671330d4","status":"affected","versionType":"git"},{"version":"2fe5d6def1672ae6635dd71867bf36dcfaa7434b","lessThan":"dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c","status":"affected","versionType":"git"},{"version":"2fe5d6def1672ae6635dd71867bf36dcfaa7434b","lessThan":"a78a6f0da57d058e2009e9958fdcef66f165208c","status":"affected","versionType":"git"},{"version":"2fe5d6def1672ae6635dd71867bf36dcfaa7434b","lessThan":"be84f32bb2c981ca670922e047cdde1488b233de","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.7","status":"affected"},{"version":"0","lessThan":"3.7","status":"unaffected","versionType":"semver"},{"version":"5.4.291","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.235","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.174","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.97","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.35","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.6","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/480afcbeb7aaaa22677d3dd48ec590b441eaac1a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0b31e28fbd773aefb6164687e0767319b8199829","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7fb374981e31c193b1152ed8d3b0a95b671330d4","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/a78a6f0da57d058e2009e9958fdcef66f165208c","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/be84f32bb2c981ca670922e047cdde1488b233de","tags":["x_transferred","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/39xxx/CVE-2024-39494.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39494","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00306,"epssPercentile":0.23875,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-39494","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-39494","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-39494","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-39494","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}