CVE-2024-26910

netfilter: ipset: fix performance regression in swap operation

State
Published
Severity
Not scored
Published
Apr 17, 2024
Updated
May 23, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 427deb5ba5661c4ae1cfb35955d2e01bd5f3090a to before c7f2733e5011bfd136f1ca93497394d43aa76225Affected
  • e7152a138a5ac77439ff4e7a7533448a7d4c260d to before a24d5f2ac8ef702a58e55ec276aad29b4bd97e05Affected
  • 8bb930c3a1eacec1b14817f565ff81667c7c5dfa to before c2dc077d8f722a1c73a24e674f925602ee5ece49Affected
  • 875ee3a09e27b7adb7006ca6d16faf7f33415aa5 to before 653bc5e6d9995d7d5f497c665b321875a626161cAffected
  • 23c31036f862582f98386120aee55c9ae23d7899 to before b93a6756a01f4fd2f329a39216f9824c56a66397Affected
  • 28628fa952fefc7f2072ce6e8016968cc452b1ba to before 970709a67696b100a57b33af1a3d75fc34b747ebAffected
  • 28628fa952fefc7f2072ce6e8016968cc452b1ba to before 97f7cf1cd80eeed3b7c808b7c12463295c751001Affected
  • a12606e5ad0cee8f4ba3ec68561c4d6275d2df57Affected
  • 5.4.264 to before 5.4.269Affected
  • 5.10.204 to before 5.10.210Affected
  • 5.15.143 to before 5.15.149Affected
  • 6.1.68 to before 6.1.79Affected
  • 6.6.7 to before 6.6.18Affected
  • 4.19.302 to before 4.20Affected
LinuxLinux
  • 6.7Affected
  • before 6.7Not affected
  • 5.4.269 through 5.4.*Not affected
  • 5.10.210 through 5.10.*Not affected
  • 5.15.149 through 5.15.*Not affected
  • 6.1.79 through 6.1.*Not affected
  • 6.6.18 through 6.6.*Not affected
  • 6.7.6 through 6.7.*Not affected
  • 6.8 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.