CVE-2024-26910

netfilter: ipset: fix performance regression in swap operation

MEDIUM
4.7
CVSS Score
Published: April 17, 2024 at 03:59 PM UTC
Updated: June 17, 2026 at 07:18 AM UTC
1 product affected across 1 vendorLinux Kernel

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
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: fix performance regression in swap operation The patch "netfilter: ipset: fix race condition between swap/destroy and kernel side add/del/test", commit 28628fa9 fixes a race condition. But the synchronize_rcu() added to the swap function unnecessarily slows it down: it can safely be moved to destroy and use call_rcu() instead. Eric Dumazet pointed out that simply calling the destroy functions as rcu callback does not work: sets with timeout use garbage collectors which need cancelling at destroy which can wait. Therefore the destroy functions are split into two: cancelling garbage collectors safely at executing the command received by netlink and moving the remaining part only into the rcu callback.

Affected

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

v ≥ 4.19.302v < 5.4.2694.19.302 ≤ v < 4.205.10.204 ≤ v < 5.10.2105.11 ≤ v < 5.15.1495.15.143 ≤ v < 5.15.1495.16 ≤ v < 6.1.795.4.264 ≤ v < 5.4.2695.5 ≤ v < 5.10.2106.1.68 ≤ v < 6.1.796.2 ≤ v < 6.6.186.6.7 ≤ v < 6.6.186.7 ≤ v < 6.7.66.7 ≤ v < 6.823c31036f862582f98386120aee55c9ae23d789928628fa952fefc7f2072ce6e8016968cc452b1ba4.19.302427deb5ba5661c4ae1cfb35955d2e01bd5f3090a5.10.2045.15.1435.4.2646.1.686.6.76.7875ee3a09e27b7adb7006ca6d16faf7f33415aa58bb930c3a1eacec1b14817f565ff81667c7c5dfaa12606e5ad0cee8f4ba3ec68561c4d6275d2df57e7152a138a5ac77439ff4e7a7533448a7d4c260d
Vendor states this is fixed in 653bc5e6d9995d7d5f497c665b321875a626161c (fixed)
Vendor states this is fixed in 970709a67696b100a57b33af1a3d75fc34b747eb (fixed)
Vendor states this is fixed in 97f7cf1cd80eeed3b7c808b7c12463295c751001 (fixed)
Vendor states this is fixed in a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 (fixed)
Vendor states this is fixed in b93a6756a01f4fd2f329a39216f9824c56a66397 (fixed)
Vendor states this is fixed in c2dc077d8f722a1c73a24e674f925602ee5ece49 (fixed)
Vendor states this is fixed in c7f2733e5011bfd136f1ca93497394d43aa76225 (fixed)
Affected range stops below 4.20, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.10.210 (unaffected)
Vendor states this is fixed in 5.15.149 (unaffected)
Vendor states this is fixed in 5.4.269 (unaffected)
Vendor states this is fixed in 6.1.79 (unaffected)
Vendor states this is fixed in 6.6.18 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)
Vendor states this is fixed in 6.7.6 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.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
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-362

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