Vulnerability · Published Jul 12, 2024 · Assigned by Linux

CVE-2024-40983tipc: force a dst refcount before doing decryption

Critical 9.8

In plain English

A critical-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.9%top 40.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8bpftool4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9bpftool7.3.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-debug-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-64k-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-abi-stablelists4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-abi-stablelists5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-core4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-cross-headers4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-cross-headers5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-debug4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-debug5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-debug-core4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-debug-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-debug-devel4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-debug-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-debug-modules4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-debug-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-debug-modules-extra4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-debug-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-debug-uki-virt5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-devel4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-doc4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-doc5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-headers4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-headers5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-modules4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-modules-extra4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-core4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-debug4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-debug5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-debug-core4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-debug-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-debug-devel4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-debug-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-debug-modules4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-debug-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-debug-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-debug-modules-extra4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-debug-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-devel4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-modules4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-rt-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-rt-modules-extra4.18.0-553.27.1.rt7.368.el8_10ALSA-2024:8870
AlmaLinux:9kernel-rt-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-tools4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-tools5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-tools-libs4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-tools-libs5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-tools-libs-devel4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-tools-libs-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-uki-virt5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-zfcpdump4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-zfcpdump5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-zfcpdump-core4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-zfcpdump-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-zfcpdump-devel4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-zfcpdump-devel5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump-devel-matched5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-zfcpdump-modules4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-zfcpdump-modules5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9kernel-zfcpdump-modules-core5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8kernel-zfcpdump-modules-extra4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9kernel-zfcpdump-modules-extra5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9libperf5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8perf4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9perf5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:8python3-perf4.18.0-553.27.1.el8_10ALSA-2024:8856
AlmaLinux:9python3-perf5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9rtla5.14.0-427.33.1.el9_4ALSA-2024:5928
AlmaLinux:9rv5.14.0-427.33.1.el9_4ALSA-2024:5928
Debian:12linux6.1.99-1DEBIAN-CVE-2024-40983
Debian:13linux6.9.7-1DEBIAN-CVE-2024-40983
Debian:14linux6.9.7-1DEBIAN-CVE-2024-40983
Rocky Linux:8kernel0:4.18.0-553.27.1.el8_10RLSA-2024:8856
Rocky Linux:8kernel-rt0:4.18.0-553.27.1.rt7.368.el8_10RLSA-2024:8870
Ubuntu:22.04:LTSlinux5.15.0-121.131UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux6.8.0-44.44UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-aws5.15.0-1069.75UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-aws6.8.0-1015.16UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-aws-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-aws-6.86.8.0-1015.16~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-azure5.15.0-1072.81UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-azure6.8.0-1014.16UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-azure-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-azure-6.86.8.0-1014.16~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-azure-fde5.15.0-1072.81.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-gcp5.15.0-1068.76UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-gcp6.8.0-1014.16UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-gcp-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-gcp-6.86.8.0-1014.16~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-gke5.15.0-1066.72UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-gke6.8.0-1010.13UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-gkeop5.15.0-1052.59UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-hwe-6.86.8.0-45.45~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-ibm5.15.0-1062.65UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-ibm6.8.0-1012.12UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-ibm-6.86.8.0-1012.12~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-intel-iotg5.15.0-1064.70UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-kvm5.15.0-1066.71UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-lowlatency5.15.0-121.131UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-lowlatency6.8.0-44.44.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.86.8.0-44.44.1~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-nvidia5.15.0-1064.65UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-nvidia6.8.0-1013.14UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-nvidia-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-nvidia-6.86.8.0-1013.14~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-nvidia-lowlatency6.8.0-1013.14.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-nvidia-tegra5.15.0-1028.28UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-nvidia-tegra-igx5.15.0-1016.16UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-oem-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-oem-6.86.8.0-1012.12UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-oracle5.15.0-1067.73UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-oracle6.8.0-1012.12UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-oracle-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-oracle-6.86.8.0-1012.12~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-raspi5.15.0-1062.65UBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-raspi6.8.0-1011.12UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-realtimeno fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2024-40983
Ubuntu:24.04:LTSlinux-riscv6.8.0-44.44.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-riscv-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-riscv-6.86.8.0-44.44.1~22.04.1UBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-starfive-6.5no fix listedUBUNTU-CVE-2024-40983
Ubuntu:22.04:LTSlinux-xilinx-zynqmp5.15.0-1035.39UBUNTU-CVE-2024-40983

Affected products (as reported)

VendorProductVersions
Linux Linux fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 – before 3eb1b39627892c4e26cb0162b75725aa5fcc60c8fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 – before 692803b39a36e63ac73208e0a3769ae6a2f9bc76fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 – before 623c90d86a61e3780f682b32928af469c66ec4c2fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 – before b57a4a2dc8746cea58a922ebe31b6aa629d69d93fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 – before 6808b41371670c51feea14f63ade211e78100930fc1b6d6de2208774efd2a20bf0daddb02d18b1e0 – before 2ebe8f840c7450ecbfca9d18ac92e9ce9155e269
Linux Linux 5.5

References