CVE-2026-31418
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 package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 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_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, from 6.7 before 6.12.81, from 6.13 before 6.18.22 and 3 more | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31418 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2026-31418 changed 2026-11-10 | Public domain |