netfilter: ipset: drop logically empty buckets in mtype_del
Summary
| CVE | CVE-2026-31418 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-13 14:16:11 UTC |
| Updated | 2026-04-18 09:16:31 UTC |
| 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. |
Risk And Classification
EPSS: 0.000240000 probability, percentile 0.066100000 (date 2026-04-18)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 c098ff857e7ca923539164af5b3c2fe3e8f8afaf git | Not specified |
| CNA | Linux | Linux | affected 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 58f3a14826d4e6b0d5421f1a64be280b48601ea2 git | Not specified |
| CNA | Linux | Linux | affected 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb git | Not specified |
| CNA | Linux | Linux | affected 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 6cea34d7ec6829b62f521a37a287f670144a2233 git | Not specified |
| CNA | Linux | Linux | affected 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 b7eef00f08b92b0b9efe8ae0df6d0005e6199323 git | Not specified |
| CNA | Linux | Linux | affected 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4 git | Not specified |
| CNA | Linux | Linux | affected 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 ceacaa76f221a6577aba945bb8873c2e640aeba4 git | Not specified |
| CNA | Linux | Linux | affected 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 9862ef9ab0a116c6dca98842aab7de13a252ae02 git | Not specified |
| CNA | Linux | Linux | affected 6c717726f341fd8f39a3ec2dcf5d98d9d28a2769 git | Not specified |
| CNA | Linux | Linux | affected d2997d64dfa65082236bca1efd596b6c935daf5e git | Not specified |
| CNA | Linux | Linux | affected 5.6 | Not specified |
| CNA | Linux | Linux | unaffected 5.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.253 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.203 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.168 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.134 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.81 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.22 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.12 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/b7eef00f08b92b0b9efe8ae0df6d0005e6199323 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/58f3a14826d4e6b0d5421f1a64be280b48601ea2 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/6cea34d7ec6829b62f521a37a287f670144a2233 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/9862ef9ab0a116c6dca98842aab7de13a252ae02 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ceacaa76f221a6577aba945bb8873c2e640aeba4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/c098ff857e7ca923539164af5b3c2fe3e8f8afaf | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.