CVE-2026-31418

NameCVE-2026-31418
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4561-1, DSA-6238-1, DSA-6243-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1vulnerable
bullseye (security)5.10.251-3vulnerable
bookworm6.1.159-1vulnerable
bookworm (security)6.1.170-1fixed
trixie6.12.73-1vulnerable
trixie (security)6.12.85-1fixed
forky6.19.14-1fixed
sid7.0.3-1fixed
linux-6.1 (PTS)bullseye (security)6.1.170-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebookworm6.1.170-1DSA-6243-1
linuxsourcetrixie6.12.85-1DSA-6238-1
linuxsource(unstable)6.19.12-1
linux-6.1sourcebullseye6.1.170-1~deb11u1DLA-4561-1

Notes

https://git.kernel.org/linus/9862ef9ab0a116c6dca98842aab7de13a252ae02 (7.0-rc7)

Search for package or bug name: Reporting problems