Skip to main content
Mallory
MediumVulnerability

CVE-2024-56645: Socket-buffer reference-count underflow in Linux kernel CAN J1939

Published Dec 27, 2024 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.5Medium · v3.1
EPSS0.96%60th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2024-56645CWE-911

CVE-2024-56645 is a socket-buffer reference-counting vulnerability in the Linux kernel CAN J1939 subsystem. The j1939_session_new() function does not acquire an additional reference for the initial socket buffer, unlike j1939_session_skb_queue(), which calls skb_get() for each newly queued buffer. This inconsistent reference ownership can cause a reference-count underflow during buffer lifecycle handling. The fix adds the missing reference acquisition for the initial buffer.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

The vulnerability can cause a kernel socket-buffer reference-count underflow, compromising correct buffer lifetime management. Kernel instability or denial of service is a potential consequence; a specific crash mechanism, arbitrary code execution, privilege escalation, or information disclosure is not established by the available vulnerability-specific information.

Mitigation

If you can’t patch tonight, do this now.

Until the fixed kernel is installed and booted, limit exposure to the CAN J1939 subsystem by disabling or restricting CAN/J1939 functionality where operationally feasible and preventing untrusted users or workloads from accessing CAN J1939 interfaces.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update containing the j1939_session_new() reference-counting fix and reboot into the updated kernel. Red Hat fixes are available through RHSA-2025:20518 for RHEL 9, RHSA-2026:6164 for RHEL 9.6 Extended Update Support, RHSA-2026:21557 for RHEL 10, and RHSA-2026:25908 for RHEL 10.0 Extended Update Support. Fixed builds include 5.14.0-570.103.1.el9_6 for the applicable RHEL 9.6 channels and 6.12.0-55.79.1.el10_0 for the applicable RHEL 10.0 channels. Use the applicable vendor advisory to select the correct package build for each platform.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2024-56645 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2024-56645 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-56645?
As of Oct 25, 2026, Mallory has found no public exploit for CVE-2024-56645.
Is there a patch for CVE-2024-56645?
Install a vendor-supported kernel update containing the j1939_session_new() reference-counting fix and reboot into the updated kernel. Red Hat fixes are available through RHSA-2025:20518 for RHEL 9, RHSA-2026:6164 for RHEL 9.6 Extended Update Support, RHSA-2026:21557 for RHEL 10, and RHSA-2026:25908 for RHEL 10.0 Extended Update Support.
What products are affected by CVE-2024-56645?
Linux Kernel.
How severe is CVE-2024-56645?
CVE-2024-56645 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.96% (60th percentile) as of Oct 25, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.