CVE-2026-31418
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: drop logically empty buckets in mtype_del mtype_del() counts empty slots below n->pos in k, but it only drops the bucket when both n->pos and k are zero. This misses buckets whose live entries have all been removed while n->pos still points past deleted slots. Treat a bucket as empty when all positions below n->pos are unused and release it directly instead of shrinking it further.
How to fix
- linux linux_kernel5.5, 5.6, 5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12 or later
- git.kernel.org/stable/c/58f3a14826d4e6b0d5421f1a64be280b48601ea2
- git.kernel.org/stable/c/68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4
- git.kernel.org/stable/c/6cea34d7ec6829b62f521a37a287f670144a2233
- git.kernel.org/stable/c/9862ef9ab0a116c6dca98842aab7de13a252ae02
- git.kernel.org/stable/c/ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb
- git.kernel.org/stable/c/b7eef00f08b92b0b9efe8ae0df6d0005e6199323
- git.kernel.org/stable/c/c098ff857e7ca923539164af5b3c2fe3e8f8afaf
- git.kernel.org/stable/c/ceacaa76f221a6577aba945bb8873c2e640aeba4
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.4.24 ≤ v < 5.5, 5.5.8 ≤ v < 5.6, 5.6.1 ≤ v < 5.10.253, 5.11 ≤ v < 5.15.203, 5.16 ≤ v < 6.1.168, 6.2 ≤ v < 6.6.134, 6.7 ≤ v < 6.12.81, 6.13 ≤ v < 6.18.22, 6.19 ≤ v < 6.19.12, 5.6, 7.0 | 5.5, 5.6, 5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.