CVE-2024-56645

can: j1939: j1939_session_new(): fix skb reference counting

MEDIUM
5.5
CVSS Score
Published: December 27, 2024 at 03:02 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.7%

Description

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]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1745.16 ≤ v < 6.1.1205.4 ≤ v < 5.10.2315.4 ≤ v < 5.15.1745.4 ≤ v < 5.4.2875.4 ≤ v < 6.1.1205.4 ≤ v < 6.12.55.4 ≤ v < 6.135.4 ≤ v < 6.6.665.5 ≤ v < 5.10.2316.2 ≤ v < 6.6.666.7 ≤ v < 6.12.56.13 rc19d71dd0c70099914fcd063135da3c580865e924c
Vendor states this is fixed in 224e606a8d8e8c7db94036272c47a37455667313 (fixed)
Vendor states this is fixed in 4199dd78a59896e091d3a7a05a77451aa7fd724d (fixed)
Vendor states this is fixed in 426d94815e12b6bdb9a75af294fbbafb9301601d (fixed)
Vendor states this is fixed in 68fceb143b635cdc59fed3896d5910aff38f345e (fixed)
Vendor states this is fixed in a8c695005bfe6569acd73d777ca298ddddd66105 (fixed)
Vendor states this is fixed in b3282c2bebeeb82ceec492ee4972f51ee7a4a132 (fixed)
Vendor states this is fixed in f117cba69cbbd496babb3defcdf440df4fd6fe14 (fixed)
Vendor states this is fixed in 5.10.231 (unaffected)
Vendor states this is fixed in 5.15.174 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.287 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.12.5 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.66 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/224e606a8d8e8c7db94036272c47a37455667313
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4199dd78a59896e091d3a7a05a77451aa7fd724d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/426d94815e12b6bdb9a75af294fbbafb9301601d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/68fceb143b635cdc59fed3896d5910aff38f345e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a8c695005bfe6569acd73d777ca298ddddd66105
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b3282c2bebeeb82ceec492ee4972f51ee7a4a132
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f117cba69cbbd496babb3defcdf440df4fd6fe14
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card