# CVE-2026-23351: netfilter: nft_set_pipapo: split gc into unlink and reclaim phase

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-03-25T10:27:36.854Z
- Modified: 2026-11-10T13:18:42.443Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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

netfilter: nft_set_pipapo: 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.

call_rcu() does not protect us: dump operations or element lookups starting
after call_rcu 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: nft_set_rbtree: don't gc elements on insert").

(As written by CVE List.)

## Affected

- Linux Linux: from 3c4287f62044a90e73a561aa05fc46e62da173da before 65ca51b9fb85477ab92a04295aed34b38f7c062e; from 3c4287f62044a90e73a561aa05fc46e62da173da before c0f1f85097ac2b6e7d750fe4d05807985cd3fd3a; from 3c4287f62044a90e73a561aa05fc46e62da173da before 16f3595c0441d87dfa005c47d8f95be213afaa9e; from 3c4287f62044a90e73a561aa05fc46e62da173da before 7864c667aed01a58b87ca518a631322cd0ac34c0; from 3c4287f62044a90e73a561aa05fc46e62da173da before c12d570d71920903a1a0468b7d13b085203d0c93; from 3c4287f62044a90e73a561aa05fc46e62da173da before 500a50a301ce962b019ab95053ac70264fec2c21; from 3c4287f62044a90e73a561aa05fc46e62da173da before aff13667708dfa0dce136b8efd81baa9fa6ef261; from 3c4287f62044a90e73a561aa05fc46e62da173da before 9df95785d3d8302f7c066050117b04cd3c2048c2; 5.6 (not affected: before 5.6; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.77 up to 6.12.*; from 6.18.17 up to 6.18.*; from 6.19.7 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.6.1 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.77; from 6.13 before 6.18.17; from 6.19 before 6.19.7; 5.6; 7.0

## References

- <https://git.kernel.org/stable/c/65ca51b9fb85477ab92a04295aed34b38f7c062e> (patch)
- <https://git.kernel.org/stable/c/c0f1f85097ac2b6e7d750fe4d05807985cd3fd3a> (patch)
- <https://git.kernel.org/stable/c/16f3595c0441d87dfa005c47d8f95be213afaa9e> (patch)
- <https://git.kernel.org/stable/c/7864c667aed01a58b87ca518a631322cd0ac34c0> (patch)
- <https://git.kernel.org/stable/c/c12d570d71920903a1a0468b7d13b085203d0c93> (patch)
- <https://git.kernel.org/stable/c/500a50a301ce962b019ab95053ac70264fec2c21> (patch)
- <https://git.kernel.org/stable/c/aff13667708dfa0dce136b8efd81baa9fa6ef261> (patch)
- <https://git.kernel.org/stable/c/9df95785d3d8302f7c066050117b04cd3c2048c2> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-23351](https://www.cve.org/CVERecord?id=CVE-2026-23351), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-23351](https://nvd.nist.gov/vuln/detail/CVE-2026-23351), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-23351 · Whole record: https://cve.day/CVE-2026-23351.json · Rebuilt by cve.day 2026-11-25T22:59:16.686Z
