CVE-2024-40993

netfilter: ipset: Fix suspicious rcu_dereference_protected()

No CVSS score yet EPSS 0.28%

Published 12 Jul 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-40993

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-40993 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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().

Exploitation

EPSS 0.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 21.4% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c0761d1f1ce1d5b85b5e82bbb714df12de1aa8c3, before 3799d02ae4208af08e81310770d8754863a246a1
affected from 93b53c202b51a69e42ca57f5a183f7e008e19f83, before 72d9611968867cc4c5509e7708b1507d692b797a
affected from 0f1bb77c6d837c9513943bc7c08f04c5cc5c6568, before 523bed6489e089dd8040e72453fb79da47b144c2
affected from 390b353d1a1da3e9c6c0fd14fe650d69063c95d6, before 788d585e62f487bc4536d454937f737b70d39a33
affected from 2ba35b37f780c6410bb4bba9c3072596d8576702, before 94dd411c18d7fff9e411555d5c662d29416501e4
affected from 90ae20d47de602198eb69e6cd7a3db3420abfc08, before 3fc09e1ca854bc234e007a56e0f7431f5e2defb5
affected from 4e7aaa6b82d63e8ddcbfb56b4fd3d014ca586f10, before 8ecd06277a7664f4ef018abae3abd3451d64e7a6
Other versions: unaffected
Linux
affected from 6.1.95, before 6.1.96
affected from 6.6.35, before 6.6.36
affected from 6.9.6, before 6.9.7
Other versions: unaffected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-40993 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-40993

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-40993
trivy image --scanners vuln IMAGE | grep CVE-2024-40993

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-40993 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.