{"id":"CVE-2024-56645","aliases":["CVE-2024-56645"],"related":[],"kind":"vulnerability","state":"published","title":"can: j1939: j1939_session_new(): fix skb reference counting","summary":"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]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: can: j1939: j1939_session_new(): corrige el conteo de referencias de skb Dado que j1939_session_skb_queue() realiza un skb_get() adicional para cada nuevo skb, haga lo mismo para el inicial en j1939_session_new() para evitar el desbordamiento del conteo de referencias. [mkl: limpia el mensaje de confirmación]","source":"nvd"}],"published":"2024-12-27T15:02:46.531Z","modified":"2026-08-05T11:45:46.741Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"224e606a8d8e8c7db94036272c47a37455667313","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"b3282c2bebeeb82ceec492ee4972f51ee7a4a132","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"4199dd78a59896e091d3a7a05a77451aa7fd724d","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"f117cba69cbbd496babb3defcdf440df4fd6fe14","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"426d94815e12b6bdb9a75af294fbbafb9301601d","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"68fceb143b635cdc59fed3896d5910aff38f345e","status":"affected"},{"type":"git","introduced":"9d71dd0c70099914fcd063135da3c580865e924c","fixed":"a8c695005bfe6569acd73d777ca298ddddd66105","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.4","status":"unaffected"},{"type":"semver","introduced":"5.4.287","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.231","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.174","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.120","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.66","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.5","lastAffected":"6.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4","fixed":"5.4.287"},{"status":"affected","introduced":"5.5","fixed":"5.10.231"},{"status":"affected","introduced":"5.11","fixed":"5.15.174"},{"status":"affected","introduced":"5.16","fixed":"6.1.120"},{"status":"affected","introduced":"6.2","fixed":"6.6.66"},{"status":"affected","introduced":"6.7","fixed":"6.12.5"},{"status":"affected","version":"6.13"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/224e606a8d8e8c7db94036272c47a37455667313","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b3282c2bebeeb82ceec492ee4972f51ee7a4a132","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4199dd78a59896e091d3a7a05a77451aa7fd724d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f117cba69cbbd496babb3defcdf440df4fd6fe14","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/426d94815e12b6bdb9a75af294fbbafb9301601d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/68fceb143b635cdc59fed3896d5910aff38f345e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a8c695005bfe6569acd73d777ca298ddddd66105","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-56645","url":"https://www.cve.org/CVERecord?id=CVE-2024-56645","licence":"CVE Terms of Use","modified":"2026-08-05T11:45:46.741Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-56645","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56645","licence":"Public domain","modified":"2026-08-04T11:22:17.233Z"}],"updatedAt":"2026-11-25T22:58:50.500Z","epss":{"score":0.00681,"percentile":0.53707,"date":"2026-12-01T12:00:22.000Z"}}