NetSight
medium5.5

CVE-2026-31418

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: drop logically empty buckets in mtype_del mtype_del() counts empty slots …

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 5.4.24 before 5.5
from 5.5.8 before 5.6
from 5.6.1 before 5.10.253
from 5.11 before 5.15.203
from 5.16 before 6.1.168
from 6.2 before 6.6.134

References