ghsa-2938-5hf8-58m3
Vulnerability from github
Published
2024-07-12 15:31
Modified
2025-03-13 15:32
Details

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.

Show details on source website


{
   affected: [],
   aliases: [
      "CVE-2024-39494",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-416",
      ],
      github_reviewed: false,
      github_reviewed_at: null,
      nvd_published_at: "2024-07-12T13:15:12Z",
      severity: "HIGH",
   },
   details: "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.",
   id: "GHSA-2938-5hf8-58m3",
   modified: "2025-03-13T15:32:35Z",
   published: "2024-07-12T15:31:26Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2024-39494",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/0b31e28fbd773aefb6164687e0767319b8199829",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/480afcbeb7aaaa22677d3dd48ec590b441eaac1a",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/7fb374981e31c193b1152ed8d3b0a95b671330d4",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/a78a6f0da57d058e2009e9958fdcef66f165208c",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/be84f32bb2c981ca670922e047cdde1488b233de",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/dd431c3ac1fc34a9268580dd59ad3e3c76b32a8c",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/edf287bc610b18d7a9c0c0c1cb2e97b9348c71bb",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
         type: "CVSS_V3",
      },
   ],
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.