CVE-2026-23351

Source
https://cve.org/CVERecord?id=CVE-2026-23351
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23351.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-23351
Downstream
Published
2026-03-25T10:27:36.854Z
Modified
2026-04-02T13:12:22.697583Z
Summary
netfilter: nft_set_pipapo: split gc into unlink and reclaim phase
Details

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nftsetpipapo: split gc into unlink and reclaim phase

Yiming Qian reports Use-after-free in the pipapo set type: Under a large number of expired elements, commit-time GC can run for a very long time in a non-preemptible context, triggering soft lockup warnings and RCU stall reports (local denial of service).

We must split GC in an unlink and a reclaim phase.

We cannot queue elements for freeing until pointers have been swapped. Expired elements are still exposed to both the packet path and userspace dumpers via the live copy of the data structure.

callrcu() does not protect us: dump operations or element lookups starting after callrcu has fired can still observe the free'd element, unless the commit phase has made enough progress to swap the clone and live pointers before any new reader has picked up the old version.

This a similar approach as done recently for the rbtree backend in commit 35f83a75529a ("netfilter: nftsetrbtree: don't gc elements on insert").

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23351.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
3c4287f62044a90e73a561aa05fc46e62da173da
Fixed
16f3595c0441d87dfa005c47d8f95be213afaa9e
Fixed
7864c667aed01a58b87ca518a631322cd0ac34c0
Fixed
c12d570d71920903a1a0468b7d13b085203d0c93
Fixed
500a50a301ce962b019ab95053ac70264fec2c21
Fixed
aff13667708dfa0dce136b8efd81baa9fa6ef261
Fixed
9df95785d3d8302f7c066050117b04cd3c2048c2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23351.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
6.1.167
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.130
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.77
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.17
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23351.json"