CVE-2024-40983
published critical CVSS 3.1 · 9.8tipc: force a dst refcount before doing decryption
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxfc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 3eb1b39627892c4e26cb0162b75725aa5fcc60c8 · fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 692803b39a36e63ac73208e0a3769ae6a2f9bc76 · fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 623c90d86a61e3780f682b32928af469c66ec4c2 · fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < b57a4a2dc8746cea58a922ebe31b6aa629d69d93 · fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 6808b41371670c51feea14f63ade211e78100930 · fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.5 (affected) · 0 to < 5.5 (unaffected · semver) · 5.10.221 through 5.10.* (unaffected · semver) · 5.15.162 through 5.15.* (unaffected · semver) · 6.1.96 through 6.1.* (unaffected · semver) · 6.6.36 through 6.6.* (unaffected · semver) · 6.9.7 through 6.9.* (unaffected · semver) · 6.10 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-2024-066 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| Debian | bookworm | linux | Advisory build | 6.1.99-1 | DSA-5731-1 |
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
Show 97 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.27.1.rt7.368.el8_10 | ALSA-2024:8870 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.27.1.el8_10 | ALSA-2024:8856 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.3.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-427.33.1.el9_4 | ALSA-2024:5928 |
| Debian | bullseye | linux | Advisory build | 5.10.221-1 | DSA-5730-1 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: tipc: force a dst refcount before doing decryption As it says in commit 3bc07321ccc2 ("xfrm: Force a dst refcount before entering the xfrm type handlers"): "Crypto requests might return asynchronous. In this case we leave the rcu protected region, so force a refcount on the skb's destination entry before we enter the xfrm type input/output handlers." On TIPC decryption path it has the same problem, and skb_dst_force() should be called before doing decryption to avoid a possible crash. Shuang reported this issue when this warning is triggered: [] WARNING: include/net/dst.h:337 tipc_sk_rcv+0x1055/0x1ea0 [tipc] [] Kdump: loaded Tainted: G W --------- - - 4.18.0-496.el8.x86_64+debug [] Workqueue: crypto cryptd_queue_worker [] RIP: 0010:tipc_sk_rcv+0x1055/0x1ea0 [tipc] [] Call Trace: [] tipc_sk_mcast_rcv+0x548/0xea0 [tipc] [] tipc_rcv+0xcf5/0x1060 [tipc] [] tipc_aead_decrypt_done+0x215/0x2e0 [tipc] [] cryptd_aead_crypt+0xdb/0x190 [] cryptd_queue_worker+0xed/0x190 [] process_one_work+0x93d/0x17e0
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 bug only manifests on the TIPC UDP bearer path (`tipc_udp_recv()` → `tipc_rcv()`, default UDP port 6118), where the skb still carries the noref input-route dst set by `ip_route_input_noref()`; L2 bearers carry no dst at all, so the affected configuration is precisely the routable, remotely reachable one, reachable from any host that can send UDP to the node. AC:L - Once TIPC crypto is keyed, every asynchronously completed decryption reaches `__sk_add_backlog()`/`__sock_queue_rcv_skb()` → `skb_dst_force()` from a `cryptd_queue_worker` context outside RCU, tripping `WARN_ON(!rcu_read_lock_held())` deterministically, and the attacker can force the async path at will since `aead_request_set_callback(req, CRYPTO_TFM_REQ_MAY_BACKLOG, ...)` makes a packet flood push requests into the crypto backlog (-EBUSY/-EINPROGRESS), while hardware AEAD offload (QAT/CAAM/CCP) makes it async unconditionally. `CONFIG_TIPC_CRYPTO` is `default y`, so no rare build option is involved, and the attacker can also churn the input-route cache with spoofed sources to widen the window in which the noref dst is actually RCU-freed. PR:N - The attacker needs no account, capability, or any privilege on the target host — the path is entered purely by sending TIPC packets to the bearer socket; in TIPC cluster/master-key mode the AEAD key is a single network-wide shared secret held identically by every node, so any peer or compromised cluster member (and an on-path injector replaying an in-flight encrypted frame) reaches the vulnerable code with zero authorization from the vulnerable component. UI:N - Delivery of network packets to a configured TIPC bearer is processed entirely by the kernel with no action by any local user or administrator. S:U - The stale dst reference, the WARN and any resulting corruption are confined to kernel memory within the same security authority; no VM, IOMMU, container or sandbox boundary is crossed. C:H - After the crypto callback leaves the RCU read-side section, `skb_dst_force()` calls `dst_hold_safe()` on a `struct rtable` that may already have been released by `dst_destroy_rcu()`, reading freed slab memory; worse, the skb then loses `SKB_DST_NOREF` and holds what the stack treats as a refcounted pointer into reallocated memory, whose later dereference (`dst->ops`, `dst->dev`) can expose contents of an attacker-groomed object — a use-after-free of this class is treated as High. I:H - `dst_hold_safe()` performs a read-modify-write (`rcuref_get`/`atomic_inc_not_zero`) on freed memory, and the subsequent `dst_release()` decrements the same location, giving an attacker who sprays the freed `rtable` slab an increment/decrement primitive plus a premature-free trigger on an unrelated object, including control over the `dst->ops` function-pointer table used on release. A:H - The missing refcount reliably trips `WARN_ON(!rcu_read_lock_held())` in `skb_dst_force()` (fatal on the common `panic_on_warn=1` hardened/cloud deployments), and the commit itself states the intent is "to avoid a possible crash" — a use-after-free of the dst entry oopses the kernel, and the condition is repeatable on demand by continued packet transmission.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 3eb1b39627892c4e26cb0162b75725aa5fcc60c8 (affected · git)fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 692803b39a36e63ac73208e0a3769ae6a2f9bc76 (affected · git)fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 623c90d86a61e3780f682b32928af469c66ec4c2 (affected · git)fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < b57a4a2dc8746cea58a922ebe31b6aa629d69d93 (affected · git)fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 6808b41371670c51feea14f63ade211e78100930 (affected · git)fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 to < 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.5 (affected)0 to < 5.5 (unaffected · semver)5.10.221 through 5.10.* (unaffected · semver)5.15.162 through 5.15.* (unaffected · semver)6.1.96 through 6.1.* (unaffected · semver)6.6.36 through 6.6.* (unaffected · semver)6.9.7 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/2ebe8f840c7450ecbfca9d18ac92e9ce9155e269
- https://git.kernel.org/stable/c/3eb1b39627892c4e26cb0162b75725aa5fcc60c8
- https://git.kernel.org/stable/c/623c90d86a61e3780f682b32928af469c66ec4c2
- https://git.kernel.org/stable/c/6808b41371670c51feea14f63ade211e78100930
- https://git.kernel.org/stable/c/692803b39a36e63ac73208e0a3769ae6a2f9bc76
- https://git.kernel.org/stable/c/b57a4a2dc8746cea58a922ebe31b6aa629d69d93
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
tipc: force a dst refcount before doing decryption
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7ce8f8dc63f007c664ac3d178992a413561d90734291944ec21df57e6123e1cc
- Ingested
- 23 Sep 2026, 08:26:02 UTC
- Source record
- Official CVE record