ghsa-98rc-vgv3-572h
Vulnerability from github
Published
2024-12-27 15:31
Modified
2025-01-14 15:30
Details

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

net: af_can: do not leave a dangling sk pointer in can_create()

On error can_create() frees the allocated sk object, but sock_init_data() has already attached it to the provided sock object. This will leave a dangling sk pointer in the sock object and may cause use-after-free later.

Show details on source website


{
   affected: [],
   aliases: [
      "CVE-2024-56603",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-416",
      ],
      github_reviewed: false,
      github_reviewed_at: null,
      nvd_published_at: "2024-12-27T15:15:19Z",
      severity: "HIGH",
   },
   details: "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: af_can: do not leave a dangling sk pointer in can_create()\n\nOn error can_create() frees the allocated sk object, but sock_init_data()\nhas already attached it to the provided sock object. This will leave a\ndangling sk pointer in the sock object and may cause use-after-free later.",
   id: "GHSA-98rc-vgv3-572h",
   modified: "2025-01-14T15:30:50Z",
   published: "2024-12-27T15:31:54Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2024-56603",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/1fe625f12d090d69f3f084990c7e4c1ff94bfe5f",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/5947c9ac08f0771ea8ed64186b0d52e9029cb6c0",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/811a7ca7320c062e15d0f5b171fe6ad8592d1434",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/884ae8bcee749be43a071d6ed2d89058dbd2425c",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/8df832e6b945e1ba61467d7f1c9305e314ae92fe",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/ce39b5576785bb3e66591145aad03d66bc3e778d",
      },
      {
         type: "WEB",
         url: "https://git.kernel.org/stable/c/db207d19adbac96058685f6257720906ad41d215",
      },
   ],
   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.

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.