# CVE-2024-26910: netfilter: ipset: fix performance regression in swap operation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.7
- **CVSS:** 4.7 (v3.1, NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2024-04-17T15:59:21.967Z
- **Modified:** 2026-06-17T07:18:40.137Z

## Who should check

- Anyone running Linux \>= 427deb5ba5661c4ae1cfb35955d2e01bd5f3090a, \< c7f2733e5011bfd136f1ca93497394d43aa76225; \>= e7152a138a5ac77439ff4e7a7533448a7d4c260d, \< a24d5f2ac8ef702a58e55ec276aad29b4bd97e05; \>= 8bb930c3a1eacec1b14817f565ff81667c7c5dfa, \< c2dc077d8f722a1c73a24e674f925602ee5ece49; \>= 875ee3a09e27b7adb7006ca6d16faf7f33415aa5, \< 653bc5e6d9995d7d5f497c665b321875a626161c; \>= 23c31036f862582f98386120aee55c9ae23d7899, \< b93a6756a01f4fd2f329a39216f9824c56a66397; \>= 28628fa952fefc7f2072ce6e8016968cc452b1ba, \< 970709a67696b100a57b33af1a3d75fc34b747eb; \>= 28628fa952fefc7f2072ce6e8016968cc452b1ba, \< 97f7cf1cd80eeed3b7c808b7c12463295c751001; a12606e5ad0cee8f4ba3ec68561c4d6275d2df57; \>= 5.4.264, \< 5.4.269; \>= 5.10.204, \< 5.10.210; …
- Anyone running Linux 6.7

## 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 and fixed versions

- Linux: \>= 427deb5ba5661c4ae1cfb35955d2e01bd5f3090a, \< c7f2733e5011bfd136f1ca93497394d43aa76225; \>= e7152a138a5ac77439ff4e7a7533448a7d4c260d, \< a24d5f2ac8ef702a58e55ec276aad29b4bd97e05; \>= 8bb930c3a1eacec1b14817f565ff81667c7c5dfa, \< c2dc077d8f722a1c73a24e674f925602ee5ece49; \>= 875ee3a09e27b7adb7006ca6d16faf7f33415aa5, \< 653bc5e6d9995d7d5f497c665b321875a626161c; \>= 23c31036f862582f98386120aee55c9ae23d7899, \< b93a6756a01f4fd2f329a39216f9824c56a66397; \>= 28628fa952fefc7f2072ce6e8016968cc452b1ba, \< 970709a67696b100a57b33af1a3d75fc34b747eb; \>= 28628fa952fefc7f2072ce6e8016968cc452b1ba, \< 97f7cf1cd80eeed3b7c808b7c12463295c751001; a12606e5ad0cee8f4ba3ec68561c4d6275d2df57; \>= 5.4.264, \< 5.4.269; \>= 5.10.204, \< 5.10.210; … (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-26910. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26910.md
Affected: Linux >= 427deb5ba5661c4ae1cfb35955d2e01bd5f3090a, < c7f2733e5011bfd136f1ca93497394d43aa76225; >= e7152a138a5ac77439ff4e7a7533448a7d4c260d, < a24d5f2ac8ef702a58e55ec276aad29b4bd97e05; >= 8bb930c3a1eacec1b14817f565ff81667c7c5dfa, < c2dc077d8f722a1c73a24e674f925602ee5ece49; >= 875ee3a09e27b7adb7006ca…
Fixed in: Linux 653bc5e6d9995d7d5f497c665b321875a626161c, Linux 970709a67696b100a57b33af1a3d75fc34b747eb, Linux 97f7cf1cd80eeed3b7c808b7c12463295c751001, Linux 5.4.269, Linux 5.10.210

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-26910 being exploited?

There is no confirmed exploitation: CVE-2024-26910 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-26910?

Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-26910?

Linux \>= 427deb5ba5661c4ae1cfb35955d2e01bd5f3090a, \< c7f2733e5011bfd136f1ca93497394d43aa76225; \>= e7152a138a5ac77439ff4e7a7533448a7d4c260d, \< a24d5f2ac8ef702a58e55ec276aad29b4bd97e05; \>= 8bb930c3a1eacec1b14817f565ff81667c7c5dfa, \< c2dc077d8f722a1c73a24e674f925602ee5ece49; \>= 875ee3a09e27b7adb7006ca6d16faf7f33415aa5, \< 653bc5e6d9995d7d5f497c665b321875a626161c; \>= 23c31036f862582f98386120aee55c9ae23d7899, \< b93a6756a01f4fd2f329a39216f9824c56a66397; \>= 28628fa952fefc7f2072ce6e8016968cc452b1ba, \< 970709a67696b100a57b33af1a3d75fc34b747eb; \>= 28628fa952fefc7f2072ce6e8016968cc452b1ba, \< 97f7cf1cd80eeed3b7c808b7c12463295c751001; a12606e5ad0cee8f4ba3ec68561c4d6275d2df57; \>= 5.4.264, \< 5.4.269; \>= 5.10.204, \< 5.10.210; …; Linux 6.7.

### Is there a fix for CVE-2024-26910?

Yes. Fixed in Linux 653bc5e6d9995d7d5f497c665b321875a626161c, Linux 970709a67696b100a57b33af1a3d75fc34b747eb, Linux 97f7cf1cd80eeed3b7c808b7c12463295c751001, Linux 5.4.269, Linux 5.10.210. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-26910?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225>
- patch: <https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05>
- patch: <https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49>
- patch: <https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c>
- patch: <https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397>
- patch: <https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb>
- patch: <https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-26910>

HTML: <https://flawdb.com/CVE-2024-26910> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-26910>
