# CVE-2026-23272: netfilter: nf_tables: unconditionally bump set->nelems before insertion

- 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 9% of CVEs (2026-12-01)
- Published: 2026-03-20T08:08:52.946Z
- Modified: 2026-10-30T13:18:35.283Z
- 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: nf_tables: unconditionally bump set->nelems before insertion

In case that the set is full, a new element gets published then removed
without waiting for the RCU grace period, while RCU reader can be
walking over it already.

To address this issue, add the element transaction even if set is full,
but toggle the set_full flag to report -ENFILE so the abort path safely
unwinds the set to its previous state.

As for element updates, decrement set->nelems to restore it.

A simpler fix is to call synchronize_rcu() in the error path.
However, with a large batch adding elements to already maxed-out set,
this could cause noticeable slowdown of such batches.

(As written by CVE List.)

## Affected

- Linux Linux: from 35d0ac9070ef619e3bf44324375878a1c540387b before 25841e8d4241c6c3763e70ae95050f8108707b46; from 35d0ac9070ef619e3bf44324375878a1c540387b before 022effa9c54903858e443b1225370e6c758d03f6; from 35d0ac9070ef619e3bf44324375878a1c540387b before 25fcaef7948912652905e96922f36583a84fffed; from 35d0ac9070ef619e3bf44324375878a1c540387b before e3ccb11fc8249759d23326038c8db987ddaabc77; from 35d0ac9070ef619e3bf44324375878a1c540387b before 86bc4b1a0f672d47ac19f9022432cb6a2e01cb33; from 35d0ac9070ef619e3bf44324375878a1c540387b before 6826131c7674329335ca25df2550163eb8a1fd0c; from 35d0ac9070ef619e3bf44324375878a1c540387b before ccb8c8f3c1127cf34d18c737309897c68046bf21; from 35d0ac9070ef619e3bf44324375878a1c540387b before def602e498a4f951da95c95b1b8ce8ae68aa733a; fefdd79403e89b0c673965343b92e2e01e2713a8; from 4.9.33 before 4.10; 4.10 (not affected: before 4.10; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.177 up to 6.1.*; from 6.6.141 up to 6.6.*; from 6.12.91 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 4.9.33 before 4.10; from 4.10.1 before 6.18.17; from 6.19 before 6.19.7; 4.10; 7.0

## References

- <https://git.kernel.org/stable/c/25841e8d4241c6c3763e70ae95050f8108707b46>
- <https://git.kernel.org/stable/c/022effa9c54903858e443b1225370e6c758d03f6>
- <https://git.kernel.org/stable/c/25fcaef7948912652905e96922f36583a84fffed>
- <https://git.kernel.org/stable/c/e3ccb11fc8249759d23326038c8db987ddaabc77>
- <https://git.kernel.org/stable/c/86bc4b1a0f672d47ac19f9022432cb6a2e01cb33>
- <https://git.kernel.org/stable/c/6826131c7674329335ca25df2550163eb8a1fd0c> (patch)
- <https://git.kernel.org/stable/c/ccb8c8f3c1127cf34d18c737309897c68046bf21> (patch)
- <https://git.kernel.org/stable/c/def602e498a4f951da95c95b1b8ce8ae68aa733a> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

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

---

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