CVE-2024-26910

netfilter: ipset: fix performance regression in swap operation

published April 17, 2024

CVSS
—
EPSS
0%
Percentile
6.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00175 · 6.6th percentile
Published
2024-04-17T15:59Z
EPSS history
Timeline
  • 17 APR 15:59Z
    netfilter: ipset: fix performance regression in swap operation
    cvelistv5