CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

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

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]

Classification

CVE ID: CVE-2024-56645

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 12.41% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/224e606a8d8e8c7db94036272c47a37455667313
https://git.kernel.org/stable/c/b3282c2bebeeb82ceec492ee4972f51ee7a4a132
https://git.kernel.org/stable/c/4199dd78a59896e091d3a7a05a77451aa7fd724d
https://git.kernel.org/stable/c/f117cba69cbbd496babb3defcdf440df4fd6fe14
https://git.kernel.org/stable/c/426d94815e12b6bdb9a75af294fbbafb9301601d
https://git.kernel.org/stable/c/68fceb143b635cdc59fed3896d5910aff38f345e
https://git.kernel.org/stable/c/a8c695005bfe6569acd73d777ca298ddddd66105

Timeline