CVE-2024-56645
published critical CVSS 3.1 · 9.8can: j1939: j1939_session_new(): fix skb reference counting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux9d71dd0c70099914fcd063135da3c580865e924c to < 224e606a8d8e8c7db94036272c47a37455667313 · 9d71dd0c70099914fcd063135da3c580865e924c to < b3282c2bebeeb82ceec492ee4972f51ee7a4a132 · 9d71dd0c70099914fcd063135da3c580865e924c to < 4199dd78a59896e091d3a7a05a77451aa7fd724d · 9d71dd0c70099914fcd063135da3c580865e924c to < f117cba69cbbd496babb3defcdf440df4fd6fe14 · 9d71dd0c70099914fcd063135da3c580865e924c to < 426d94815e12b6bdb9a75af294fbbafb9301601d · 9d71dd0c70099914fcd063135da3c580865e924c to < 68fceb143b635cdc59fed3896d5910aff38f345e · 9d71dd0c70099914fcd063135da3c580865e924c to < a8c695005bfe6569acd73d777ca298ddddd66105 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.4 (affected) · 0 to < 5.4 (unaffected · semver) · 5.4.287 through 5.4.* (unaffected · semver) · 5.10.231 through 5.10.* (unaffected · semver) · 5.15.174 through 5.15.* (unaffected · semver) · 6.1.120 through 6.1.* (unaffected · semver) · 6.6.66 through 6.6.* (unaffected · semver) · 6.12.5 through 6.12.* (unaffected · semver) · 6.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-079 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-061 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-091 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-211.18.1.el10_2 | ALSA-2026:21557 |
| Debian | bullseye | linux | Advisory build | 5.10.234-1 | DLA-4075-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-809 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 10 | kernelx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-211.18.1.el10_2 | ALSA-2026:21557 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.128-1~deb11u1 | DLA-4076-1 |
| Oracle Linux | 10 | kernel-abi-stablelistsx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-corex86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-cross-headersaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-cross-headersx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-debugx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-debug-corex86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-debug-develx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-debug-modulesx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-debug-modules-corex86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-debug-uki-virtx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-develx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-devel-matchedx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-docx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-headersaarch64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-headersx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-modulesx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-modules-corex86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-modules-extrax86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
| Oracle Linux | 10 | kernel-modules-extra-matchedx86_64 | Advisory build | 0:6.12.0-211.34.1.el10_2 | ELSA-2026-21557 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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]
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:N - The vulnerable path is in the net/ stack and is entered purely from data received from a remote J1939 peer — a TP.CM_RTS frame reaches j1939_xtp_rx_rts_session_new() → j1939_session_fresh_new() → j1939_session_new(), and peer-supplied TP.CM_CTS frames drive the drop_old free. J1939 segments are routinely bridged to IP by telematics/gateway units, and the kernel CNA scored the equivalent j1939 RTS reception path in the same file (CVE-2026-22997) as AV:N. AC:L - The reference-count underflow itself is deterministic — every session created via j1939_session_new() has an under-referenced head skb, and tearing the session down (timeout, abort, or completion) triggers it. Where the premature free is used, the attacker controls both sides of the race by choosing when and how many RTS/CTS frames to inject and can repeat it indefinitely. PR:N - A peer transmitting J1939 frames needs no credentials, account, or privileges on the target — the stack parses TP.CM_RTS and creates the session automatically. Locally the same defect is reachable from an unprivileged AF_CAN/CAN_J1939 sendmsg(), including over vcan created inside a user namespace. UI:N - The j1939 receive handler processes incoming frames and allocates the session in softirq context with no action by any local user. The only precondition is a bound j1939 socket, which is the normal steady state of any device using this stack. S:U - The corrupted objects (sk_buff and its heap slab) and the resulting impact are entirely within the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - After the premature free, j1939_session_tx_dat() memcpy()s from the freed skb buffer into outgoing CAN frames, transmitting reclaimed kernel heap contents to the attacker on the bus — a direct read primitive. More generally, an skb use-after-free lets the attacker groom the freed slab and read back kernel memory. I:H - The refcount underflow yields a use-after-free and double-free of an sk_buff, allowing the attacker to reclaim the freed object with controlled data and corrupt adjacent kernel state — the standard heap-spray primitive for control-flow hijack. A:H - The underflow triggers refcount_t saturation warnings (fatal under panic_on_warn) and leaks the skb, while the use-after-free/double-free of the queued skb readily oopses the kernel; either can be induced repeatedly by an unauthenticated peer.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 9d71dd0c70099914fcd063135da3c580865e924c to < 224e606a8d8e8c7db94036272c47a37455667313 (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < b3282c2bebeeb82ceec492ee4972f51ee7a4a132 (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < 4199dd78a59896e091d3a7a05a77451aa7fd724d (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < f117cba69cbbd496babb3defcdf440df4fd6fe14 (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < 426d94815e12b6bdb9a75af294fbbafb9301601d (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < 68fceb143b635cdc59fed3896d5910aff38f345e (affected · git)9d71dd0c70099914fcd063135da3c580865e924c to < a8c695005bfe6569acd73d777ca298ddddd66105 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.4 (affected)0 to < 5.4 (unaffected · semver)5.4.287 through 5.4.* (unaffected · semver)5.10.231 through 5.10.* (unaffected · semver)5.15.174 through 5.15.* (unaffected · semver)6.1.120 through 6.1.* (unaffected · semver)6.6.66 through 6.6.* (unaffected · semver)6.12.5 through 6.12.* (unaffected · semver)6.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
9- https://git.kernel.org/stable/c/224e606a8d8e8c7db94036272c47a37455667313
- https://git.kernel.org/stable/c/4199dd78a59896e091d3a7a05a77451aa7fd724d
- https://git.kernel.org/stable/c/426d94815e12b6bdb9a75af294fbbafb9301601d
- https://git.kernel.org/stable/c/68fceb143b635cdc59fed3896d5910aff38f345e
- https://git.kernel.org/stable/c/a8c695005bfe6569acd73d777ca298ddddd66105
- https://git.kernel.org/stable/c/b3282c2bebeeb82ceec492ee4972f51ee7a4a132
- https://git.kernel.org/stable/c/f117cba69cbbd496babb3defcdf440df4fd6fe14
- https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Provider assertions
2Linux · cna
can: j1939: j1939_session_new(): fix skb reference counting
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 534a719f135b66d688aea867c27997d0a63c160ce132a1f771a668a7ac8d03b6
- Ingested
- 23 Sep 2026, 08:31:59 UTC
- Source record
- Official CVE record