CVE-2024-56645: Socket-buffer reference-count underflow in Linux kernel CAN J1939
- Vendor
- Linux
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.
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.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
References
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.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.