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.
Fix
Patch, vendor advisory and mitigation references on NVD 3
- https://git.kernel.org/stable/c/6826131c7674329335ca25df2550163eb8a1fd0c Patch
- https://git.kernel.org/stable/c/ccb8c8f3c1127cf34d18c737309897c68046bf21 Patch
- https://git.kernel.org/stable/c/def602e498a4f951da95c95b1b8ce8ae68aa733a Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 2
- CwesCWE-416NVD modified 2026-10-19 19:17
- First seenCVSS 7.8 · linuxNVD modified 2026-10-15 02:18
Affected (CPE criteria) 7
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.10:-:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.10:rc6:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.10:rc7:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:4.10:rc8:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
References 7
- https://git.kernel.org/stable/c/25fcaef7948912652905e96922f36583a84fffed
- https://git.kernel.org/stable/c/6826131c7674329335ca25df2550163eb8a1fd0c Patch
- https://git.kernel.org/stable/c/86bc4b1a0f672d47ac19f9022432cb6a2e01cb33
- https://git.kernel.org/stable/c/ccb8c8f3c1127cf34d18c737309897c68046bf21 Patch
- https://git.kernel.org/stable/c/def602e498a4f951da95c95b1b8ce8ae68aa733a Patch
- https://git.kernel.org/stable/c/e3ccb11fc8249759d23326038c8db987ddaabc77
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html