{"id":"CVE-2024-56645","summary":"can: j1939: j1939_session_new(): fix skb reference counting","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: j1939: j1939_session_new(): fix skb reference counting\n\nSince j1939_session_skb_queue() does an extra skb_get() for each new\nskb, do the same for the initial one in j1939_session_new() to avoid\nrefcount underflow.\n\n[mkl: clean up commit message]","modified":"2026-04-02T12:25:02.192022Z","published":"2024-12-27T15:02:46.531Z","related":["ALSA-2025:20518","MGASA-2025-0030","MGASA-2025-0032","SUSE-SU-2025:0117-1","SUSE-SU-2025:0153-1","SUSE-SU-2025:0154-1","SUSE-SU-2025:0289-1","SUSE-SU-2025:0555-1","SUSE-SU-2025:0556-1","SUSE-SU-2025:0576-1","SUSE-SU-2025:0577-1","SUSE-SU-2025:0577-2","SUSE-SU-2025:20165-1","SUSE-SU-2025:20166-1","SUSE-SU-2025:20248-1","SUSE-SU-2025:20249-1","USN-7379-2","USN-7380-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56645.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/224e606a8d8e8c7db94036272c47a37455667313"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4199dd78a59896e091d3a7a05a77451aa7fd724d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/426d94815e12b6bdb9a75af294fbbafb9301601d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68fceb143b635cdc59fed3896d5910aff38f345e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8c695005bfe6569acd73d777ca298ddddd66105"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3282c2bebeeb82ceec492ee4972f51ee7a4a132"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f117cba69cbbd496babb3defcdf440df4fd6fe14"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56645.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56645"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9d71dd0c70099914fcd063135da3c580865e924c"},{"fixed":"224e606a8d8e8c7db94036272c47a37455667313"},{"fixed":"b3282c2bebeeb82ceec492ee4972f51ee7a4a132"},{"fixed":"4199dd78a59896e091d3a7a05a77451aa7fd724d"},{"fixed":"f117cba69cbbd496babb3defcdf440df4fd6fe14"},{"fixed":"426d94815e12b6bdb9a75af294fbbafb9301601d"},{"fixed":"68fceb143b635cdc59fed3896d5910aff38f345e"},{"fixed":"a8c695005bfe6569acd73d777ca298ddddd66105"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56645.json"}}],"schema_version":"1.7.5"}