CVE Database›Document archive›CVE-2024-56645

CVE-2024-56645

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

Loading…

Severity

Moderate

Red Hat Product Security

7.1

CVSS 3.1

Review impact separately from score.

Published · December 27, 2024

Updated · October 30, 2026

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]

Statement

Red Hat rates this vulnerability as Moderate because exploitation requires local access to create CAN J1939 sockets, and CAN networking hardware or configurations are rarely utilized in standard enterprise deployments. While a local attacker could trigger the socket buffer reference counting underflow to cause a system crash, the blast radius is confined to the local host. Enterprise Linux default configurations do not actively enable CAN networking interfaces.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

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

CWE-401 · Missing Release of Memory after Effective Lifetime