What’s Vulnerable › Vulnerabilities

CVE-2026-31418: netfilter: ipset: drop logically empty buckets in mtype_del

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.253, 5.15.203, 5.5, 5.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-31418 or the next vulnerability affects your stack