LiveActive security incident?Get immediate response
CVE Record

CVE-2024-56603: net: af_can: do not leave a dangling sk pointer in can_create()

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A Linux kernel error can leave behind a pointer to freed memory while creating a CAN socket. A local, low-privileged attacker may be able to trigger later memory misuse, potentially compromising confidentiality, integrity, or availability. The supplied CVSS score is 7.8 (High).

Executive priority

Treat as an expedited kernel-maintenance issue, especially on multi-user systems or hosts running untrusted local workloads. It is high severity but not evidenced as remotely reachable or actively exploited. Confirm exposure promptly, deploy supported updates through normal change controls, and verify the corrected kernel is active.

Technical view

In can_create(), an error path frees the allocated socket structure after sock_init_data() has attached it to the caller-provided socket. The remaining dangling sk pointer can later cause a use-after-free (CWE-416). The supplied vector indicates local access, low complexity, low privileges, no user interaction, and potentially high impact.

Likely exposure

Exposure is limited to Linux systems running an affected kernel and presenting the vulnerable AF_CAN socket-creation path to local users or processes. The supplied version data is ambiguous and should not be used alone for fleet decisions; verify each distribution kernel against vendor advisories and backported fixes.

Exploitation context

The supplied record does not list this CVE in CISA KEV and provides no evidence of active exploitation or a public exploit. CVSS describes a local, low-privileged attack scenario. The sources do not establish practical exploit reliability or whether additional system conditions are required.

Researcher notes

The core defect is lifetime inconsistency between sock->sk and the freed sk object on can_create() failure. Analysis should focus on affected vendor backports, error-path reachability, and subsequent dereferences. The bundle confirms remediation through upstream stable commits, but it does not document trigger prerequisites, exploitation reliability, or observed attacks.

Mitigation direction

  • Install the distribution-supported kernel update that incorporates the applicable upstream stable fix.
  • Reboot into the updated kernel, following the distribution's operational guidance.
  • Prioritize systems allowing untrusted or numerous local users and workloads.
  • Check Linux and distribution advisories for backport status before relying on version numbers alone.

Validation and detection

  • Record the running kernel release and distribution package revision on every Linux asset.
  • Map package revisions to vendor advisories or the cited upstream stable fixes.
  • Confirm the updated kernel is running after reboot, not merely installed.
  • Review local access exposure and whether AF_CAN functionality is available to untrusted processes.
Prepared
Confidence
high
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-416: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-56603 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
2ADP providers
10Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-56603Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux0d66548a10cbbe0ef256852d63d30603f0f73f9b, 0d66548a10cbbe0ef256852d63d30603f0f73f9b, 0d66548a10cbbe0ef256852d63d30603f0f73f9b, 0d66548a10cbbe0ef256852d63d30603f0f73f9b, 0d66548a10cbbe0ef256852d63d30603f0f73f9b, 0d66548a10cbbe0ef256852d63d30603f0f73f9b, 0d66548a10cbbe0ef256852d63d30603f0f73f9bunaffected
LinuxLinux2.6.25, 0, 5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.66, 6.12.5, 6.13affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-416 · source CWE mapping

Use After Free

Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.