Bug 2334560 (CVE-2024-56645) - CVE-2024-56645 kernel: can: j1939: j1939_session_new(): fix skb reference counting
Summary: CVE-2024-56645 kernel: can: j1939: j1939_session_new(): fix skb reference cou...
Keywords:
Status: NEW
Alias: CVE-2024-56645
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-27 16:03 UTC by OSIDB Bzimport
Modified: 2024-12-30 16:22 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 16:03:36 UTC
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]

Comment 1 Avinash Hanwate 2024-12-28 02:00:49 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122738-CVE-2024-56645-bc11@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.