{"id":"CVE-2024-39494","published":"2024-07-12T12:20:30Z","modified":"2026-08-05T11:33:43Z","title":"ima: Fix use-after-free on a dentry's dname.name","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00306,"percentile":0.24005,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/480afcbeb7aaaa22677d3dd48ec590b441eaac1a","tags":[]},{"url":"https://git.kernel.org/stable/c/edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb","tags":[]},{"url":"https://git.kernel.org/stable/c/0b31e28fbd773aefb6164687e0767319b8199829","tags":[]},{"url":"https://git.kernel.org/stable/c/7fb374981e31c193b1152ed8d3b0a95b671330d4","tags":[]},{"url":"https://git.kernel.org/stable/c/dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c","tags":[]},{"url":"https://git.kernel.org/stable/c/a78a6f0da57d058e2009e9958fdcef66f165208c","tags":[]},{"url":"https://git.kernel.org/stable/c/be84f32bb2c981ca670922e047cdde1488b233de","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":10.3,"factors":[{"name":"EPSS percentile","points":4.8},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 480afcbeb7aaaa22677d3dd48ec590b441eaac1a",">= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb",">= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 0b31e28fbd773aefb6164687e0767319b8199829",">= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < 7fb374981e31c193b1152ed8d3b0a95b671330d4",">= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c",">= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < a78a6f0da57d058e2009e9958fdcef66f165208c",">= 2fe5d6def1672ae6635dd71867bf36dcfaa7434b, < be84f32bb2c981ca670922e047cdde1488b233de"]},{"vendor":"Linux","product":"Linux","versions":["3.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:07:29.508967Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38321","exploited":false,"provenance":"source"}}