CVE-2024-26910

Source
https://cve.org/CVERecord?id=CVE-2024-26910
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26910.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26910
Downstream
Published
2024-04-17T15:59:21.967Z
Modified
2026-03-13T07:53:42.963453Z
Summary
netfilter: ipset: fix performance regression in swap operation
Details

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 synchronizercu() added to the swap function unnecessarily slows it down: it can safely be moved to destroy and use callrcu() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26910.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
427deb5ba5661c4ae1cfb35955d2e01bd5f3090a
Fixed
c7f2733e5011bfd136f1ca93497394d43aa76225
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e7152a138a5ac77439ff4e7a7533448a7d4c260d
Fixed
a24d5f2ac8ef702a58e55ec276aad29b4bd97e05
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8bb930c3a1eacec1b14817f565ff81667c7c5dfa
Fixed
c2dc077d8f722a1c73a24e674f925602ee5ece49
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
875ee3a09e27b7adb7006ca6d16faf7f33415aa5
Fixed
653bc5e6d9995d7d5f497c665b321875a626161c
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
23c31036f862582f98386120aee55c9ae23d7899
Fixed
b93a6756a01f4fd2f329a39216f9824c56a66397
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
28628fa952fefc7f2072ce6e8016968cc452b1ba
Fixed
970709a67696b100a57b33af1a3d75fc34b747eb
Fixed
97f7cf1cd80eeed3b7c808b7c12463295c751001
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
a12606e5ad0cee8f4ba3ec68561c4d6275d2df57

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26910.json"