CVE-2024-26910
MEDIUM 4.7CVSS 3.1In 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.
- Published
- 17 Apr 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-362
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
< 5.4.269 | 5.4.269 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.210 | 5.10.210 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.149 | 5.15.149 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.79 | 6.1.79 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.18 | 6.6.18 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.7.6 | 6.7.6 |
References
- https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c · Patch
- https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb · Patch
- https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001 · Patch
- https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 · Patch
- https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397 · Patch
- https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49 · Patch
- https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225 · Patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 17 Apr 2024)