CVE-2026-31418
JSON

5.5medium

netfilter: ipset: drop logically empty buckets in mtype_del

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.17% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 before c098ff857e7ca923539164af5b3c2fe3e8f8afaf, from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 before 58f3a14826d4e6b0d5421f1a64be280b48601ea2, from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 before ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb, from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 before 6cea34d7ec6829b62f521a37a287f670144a2233, from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 before b7eef00f08b92b0b9efe8ae0df6d0005e6199323, from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 before 68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4, from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 before ceacaa76f221a6577aba945bb8873c2e640aeba4, from 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 before 9862ef9ab0a116c6dca98842aab7de13a252ae02 and 5 more
Not affected: before 5.6, from 5.10.253 up to 5.10.*, from 5.15.203 up to 5.15.*, from 6.1.168 up to 6.1.*, from 6.6.134 up to 6.6.*, from 6.12.81 up to 6.12.*
CVE List
linux linux_kernelfrom 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, from 6.7 before 6.12.81, from 6.13 before 6.18.22 and 3 moreNVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

https://git.kernel.org/stable/c/c098ff857e7ca923539164af5b3c2fe3e8f8afafpatch
https://git.kernel.org/stable/c/58f3a14826d4e6b0d5421f1a64be280b48601ea2patch
https://git.kernel.org/stable/c/ad92ee87462f9a3061361d392e9dbfe2e5c1c9fbpatch
https://git.kernel.org/stable/c/6cea34d7ec6829b62f521a37a287f670144a2233patch
https://git.kernel.org/stable/c/b7eef00f08b92b0b9efe8ae0df6d0005e6199323patch
https://git.kernel.org/stable/c/68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4patch
https://git.kernel.org/stable/c/ceacaa76f221a6577aba945bb8873c2e640aeba4patch
https://git.kernel.org/stable/c/9862ef9ab0a116c6dca98842aab7de13a252ae02patch
https://cert-portal.siemens.com/productcert/html/ssa-082556.html
https://cert-portal.siemens.com/productcert/html/ssa-019113.html
https://cert-portal.siemens.com/productcert/html/ssa-457936.html

Sources

SourceRecordLicence
CVE ListCVE-2026-31418 changed 2026-11-10CVE Terms of Use
NVDCVE-2026-31418 changed 2026-11-10Public domain