CVE-2024-26910
netfilter: ipset: fix performance regression in swap operation
Check your servers for CVE-2024-26910
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-26910 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.33% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 23 Apr 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 427deb5ba5661c4ae1cfb35955d2e01bd5f3090a, before c7f2733e5011bfd136f1ca93497394d43aa76225 affected from e7152a138a5ac77439ff4e7a7533448a7d4c260d, before a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 affected from 8bb930c3a1eacec1b14817f565ff81667c7c5dfa, before c2dc077d8f722a1c73a24e674f925602ee5ece49 affected from 875ee3a09e27b7adb7006ca6d16faf7f33415aa5, before 653bc5e6d9995d7d5f497c665b321875a626161c affected from 23c31036f862582f98386120aee55c9ae23d7899, before b93a6756a01f4fd2f329a39216f9824c56a66397 affected from 28628fa952fefc7f2072ce6e8016968cc452b1ba, before 970709a67696b100a57b33af1a3d75fc34b747eb affected from 28628fa952fefc7f2072ce6e8016968cc452b1ba, before 97f7cf1cd80eeed3b7c808b7c12463295c751001 affected a12606e5ad0cee8f4ba3ec68561c4d6275d2df57 affected from 5.4.264, before 5.4.269 affected from 5.10.204, before 5.10.210 affected from 5.15.143, before 5.15.149 affected from 6.1.68, before 6.1.79 affected from 6.6.7, before 6.6.18 affected from 4.19.302, before 4.20
Other versions: unaffected
|
| Linux |
affected 6.7 unaffected before 6.7 unaffected from 5.4.269 up to and including 5.4.* unaffected from 5.10.210 up to and including 5.10.* unaffected from 5.15.149 up to and including 5.15.* unaffected from 6.1.79 up to and including 6.1.* unaffected from 6.6.18 up to and including 6.6.* unaffected from 6.7.6 up to and including 6.7.* unaffected 6.8 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-26910 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-26910
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-26910
trivy image --scanners vuln IMAGE | grep CVE-2024-26910
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c7f2733e5011bfd136f1ca93497394d43aa76225 git.kernel.org
- https://git.kernel.org/stable/c/a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 git.kernel.org
- https://git.kernel.org/stable/c/c2dc077d8f722a1c73a24e674f925602ee5ece49 git.kernel.org
- https://git.kernel.org/stable/c/653bc5e6d9995d7d5f497c665b321875a626161c git.kernel.org
- https://git.kernel.org/stable/c/b93a6756a01f4fd2f329a39216f9824c56a66397 git.kernel.org
- https://git.kernel.org/stable/c/970709a67696b100a57b33af1a3d75fc34b747eb git.kernel.org
- https://git.kernel.org/stable/c/97f7cf1cd80eeed3b7c808b7c12463295c751001 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
Source: the record CVE-2024-26910 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse