Vulnerability · Published Jul 12, 2024 · Assigned by Linux

CVE-2024-40993netfilter: ipset: Fix suspicious rcu_dereference_protected()

Medium 5.5

In plain English

A medium-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.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.3%top 79.9% 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: netfilter: ipset: Fix suspicious rcu_dereference_protected() When destroying all sets, we are either in pernet exit phase or are executing a "destroy all sets command" from userspace. The latter was taken into account in ip_set_dereference() (nfnetlink mutex is held), but the former was not. The patch adds the required check to rcu_dereference_protected() in ip_set_dereference().

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12linux6.1.99-1DEBIAN-CVE-2024-40993
Debian:13linux6.9.7-1DEBIAN-CVE-2024-40993
Debian:14linux6.9.7-1DEBIAN-CVE-2024-40993
Ubuntu:22.04:LTSlinux-allwinner-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-aws-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-aws-6.2no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-azure-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-azure-6.2no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-azure-fde-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-azure-fde-6.2no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-gcp-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-gcp-6.2no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-hwe-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-hwe-6.2no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-hwe-6.5no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-lowlatency-hwe-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.2no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-lowlatency-hwe-6.5no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-nvidia-6.2no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-oem-5.17no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-oem-6.0no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-oem-6.1no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-riscvno fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-riscv-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-starfive-5.19no fix listedUBUNTU-CVE-2024-40993
Ubuntu:22.04:LTSlinux-starfive-6.2no fix listedUBUNTU-CVE-2024-40993

Affected products (as reported)

VendorProductVersions
Linux Linux c0761d1f1ce1d5b85b5e82bbb714df12de1aa8c3 – before 3799d02ae4208af08e81310770d8754863a246a193b53c202b51a69e42ca57f5a183f7e008e19f83 – before 72d9611968867cc4c5509e7708b1507d692b797a0f1bb77c6d837c9513943bc7c08f04c5cc5c6568 – before 523bed6489e089dd8040e72453fb79da47b144c2390b353d1a1da3e9c6c0fd14fe650d69063c95d6 – before 788d585e62f487bc4536d454937f737b70d39a332ba35b37f780c6410bb4bba9c3072596d8576702 – before 94dd411c18d7fff9e411555d5c662d29416501e490ae20d47de602198eb69e6cd7a3db3420abfc08 – before 3fc09e1ca854bc234e007a56e0f7431f5e2defb54e7aaa6b82d63e8ddcbfb56b4fd3d014ca586f10 – before 8ecd06277a7664f4ef018abae3abd3451d64e7a6
Linux Linux 6.1.95 – before 6.1.966.6.35 – before 6.6.366.9.6 – before 6.9.7

References