LiveActive security incident?Get immediate response
CVE Record

CVE-2024-56645: can: j1939: j1939_session_new(): fix skb reference counting

In the Linux kernel, the following vulnerability has been resolved: can: j1939: j1939_session_new(): fix skb reference counting Since j1939_session_skb_queue() does an extra skb_get() for each new skb, do the same for the initial one in j1939_session_new() to avoid refcount underflow. [mkl: clean up commit message]

CriticalCVSS 9.8Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

Linux's CAN J1939 networking code mishandles a message-buffer reference, allowing its reference count to fall below the expected value. The supplied record rates potential confidentiality, integrity, and availability impact as critical, but does not document demonstrated exploitation or specific real-world consequences.

Executive priority

Treat this as critical for systems actively using reachable J1939 communications. For systems without that functionality, prioritize rapid exposure verification rather than assuming an internet-wide emergency. Establish vendor patch status immediately and update affected systems during the earliest safe maintenance window.

Technical view

j1939_session_new() failed to acquire the extra skb reference that j1939_session_skb_queue() takes for newly queued buffers. Subsequent reference releases could therefore underflow the skb reference count. The upstream correction adds equivalent reference handling for the initial skb, with separate commits supplied for stable kernel branches.

Likely exposure

The bundle marks Linux 5.4 and several branch versions through 6.13 as affected, but does not provide unambiguous fixed ranges. Exposure is most plausible where CAN J1939 functionality is present and reachable. Distribution kernels may contain backported fixes, so kernel version alone is insufficient.

Exploitation context

The supplied CVSS 9.8 vector assumes network access, low complexity, no privileges, and no user interaction. However, the bundle provides no exploit demonstration or evidence of active exploitation, and KEV is false. Network-rated severity should not be interpreted automatically as internet reachability.

Researcher notes

The evidence supports missing skb reference acquisition in j1939_session_new(), corrected to match queue handling. Multiple branch-specific stable commits are supplied, but no CWE, reproducer, exploitability proof, or precise affected-range notation. Confirm introduction and fix boundaries through distribution advisories and commit ancestry.

Mitigation direction

  • Install vendor kernel updates incorporating the applicable upstream stable fix.
  • Consult the distribution advisory to identify its fixed package or backported correction.
  • If updating is delayed, request vendor-approved interim guidance; none is specified in the bundle.
  • Prioritize systems using J1939 on untrusted or shared CAN networks.

Validation and detection

  • Inventory running kernels and distribution packages on systems using CAN J1939.
  • Determine whether CAN J1939 is enabled and reachable from untrusted nodes.
  • Verify vendor advisories or changelogs reference this CVE or an applicable stable commit.
  • After updating, reboot and confirm the running kernel is the intended fixed package.
  • Perform normal CAN J1939 regression testing without attempting untrusted triggering in production.
Prepared
Confidence
medium
Sources
11

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.

cve · low confidence lookup

CVE-2024-56645 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
Critical
CVSS
9.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/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.

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

CVSS vector scores

1 official score

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
9.8CVSS 3.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H3.95.9Linux

Vulnerability scoring details

Base CVSS 3.1 score

9.8Critical
CVSS 3.1 vector shape for CVE-2024-56645Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/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

CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux9d71dd0c70099914fcd063135da3c580865e924c, 9d71dd0c70099914fcd063135da3c580865e924c, 9d71dd0c70099914fcd063135da3c580865e924c, 9d71dd0c70099914fcd063135da3c580865e924c, 9d71dd0c70099914fcd063135da3c580865e924c, 9d71dd0c70099914fcd063135da3c580865e924c, 9d71dd0c70099914fcd063135da3c580865e924cunaffected
LinuxLinux5.4, 0, 5.4.287, 5.10.231, 5.15.174, 6.1.120, 6.6.66, 6.12.5, 6.13affected
Weakness

CWE details

No CWE listed

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