CVE-2024-40993

netfilter: ipset: Fix suspicious rcu_dereference_protected()

MEDIUM
5.5
CVSS Score
Published: July 12, 2024 at 12:37 PM UTC
Updated: October 15, 2026 at 01:18 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0f1bb77c6d837c9513943bc7c08f04c5cc5c65682ba35b37f780c6410bb4bba9c3072596d8576702390b353d1a1da3e9c6c0fd14fe650d69063c95d64e7aaa6b82d63e8ddcbfb56b4fd3d014ca586f106.1.956.106.10 rc46.6.356.9.690ae20d47de602198eb69e6cd7a3db3420abfc0893b53c202b51a69e42ca57f5a183f7e008e19f83c0761d1f1ce1d5b85b5e82bbb714df12de1aa8c3
Vendor states this is fixed in 3799d02ae4208af08e81310770d8754863a246a1 (fixed)
Vendor states this is fixed in 3fc09e1ca854bc234e007a56e0f7431f5e2defb5 (fixed)
Vendor states this is fixed in 523bed6489e089dd8040e72453fb79da47b144c2 (fixed)
Vendor states this is fixed in 72d9611968867cc4c5509e7708b1507d692b797a (fixed)
Vendor states this is fixed in 788d585e62f487bc4536d454937f737b70d39a33 (fixed)
Vendor states this is fixed in 8ecd06277a7664f4ef018abae3abd3451d64e7a6 (fixed)
Vendor states this is fixed in 94dd411c18d7fff9e411555d5c662d29416501e4 (fixed)
Affected range stops below 6.1.96, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.6.36, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.9.7, so it looks safe — our inference, not a vendor statement

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3799d02ae4208af08e81310770d8754863a246a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3fc09e1ca854bc234e007a56e0f7431f5e2defb5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/523bed6489e089dd8040e72453fb79da47b144c2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/72d9611968867cc4c5509e7708b1507d692b797a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/788d585e62f487bc4536d454937f737b70d39a33
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ecd06277a7664f4ef018abae3abd3451d64e7a6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/94dd411c18d7fff9e411555d5c662d29416501e4
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card