ghsa-2gg6-7q9p-2qrr
Vulnerability from github
Published
2024-05-01 15:30
Modified
2024-05-01 15:30
Details

In the Linux kernel, the following vulnerability has been resolved:

clk: hisilicon: hi3559a: Fix an erroneous devm_kfree()

'p_clk' is an array allocated just before the for loop for all clk that need to be registered. It is incremented at each loop iteration.

If a clk_register() call fails, 'p_clk' may point to something different from what should be freed.

The best we can do, is to avoid this wrong release of memory.

Show details on source website


{
   affected: [],
   aliases: [
      "CVE-2024-27039",
   ],
   database_specific: {
      cwe_ids: [],
      github_reviewed: false,
      github_reviewed_at: null,
      nvd_published_at: "2024-05-01T13:15:49Z",
      severity: null,
   },
   details: "In the Linux kernel, the following vulnerability has been resolved:\n\nclk: hisilicon: hi3559a: Fix an erroneous devm_kfree()\n\n'p_clk' is an array allocated just before the for loop for all clk that\nneed to be registered.\nIt is incremented at each loop iteration.\n\nIf a clk_register() call fails, 'p_clk' may point to something different\nfrom what should be freed.\n\nThe best we can do, is to avoid this wrong release of memory.",
   id: "GHSA-2gg6-7q9p-2qrr",
   modified: "2024-05-01T15:30:35Z",
   published: "2024-05-01T15:30:35Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2024-27039",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/2cc572e0085ebd4b662b74a0f43222bc00df9a00",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/3f8445f1c746fda180a7f75372ed06b24e9cefe2",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/64c6a38136b74a2f18c42199830975edd9fbc379",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/95d1f1228c1bb54803ae57525b76db60e99b37e4",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/d575765b1b62e8bdb00af11caa1aabeb01763d9f",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/e0b0d1c46a2ce1e46b79d004a7270fdef872e097",
      },
   ],
   schema_version: "1.4.0",
   severity: [],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.