CVE-2026-31418

netfilter: ipset: drop logically empty buckets in mtype_del

State
Published
Severity
Not scored
Published
Apr 13, 2026
Updated
Oct 15, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to before c098ff857e7ca923539164af5b3c2fe3e8f8afafAffected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to before 58f3a14826d4e6b0d5421f1a64be280b48601ea2Affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to before ad92ee87462f9a3061361d392e9dbfe2e5c1c9fbAffected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to before 6cea34d7ec6829b62f521a37a287f670144a2233Affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to before b7eef00f08b92b0b9efe8ae0df6d0005e6199323Affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to before 68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4Affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to before ceacaa76f221a6577aba945bb8873c2e640aeba4Affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to before 9862ef9ab0a116c6dca98842aab7de13a252ae02Affected
  • 6c717726f341fd8f39a3ec2dcf5d98d9d28a2769Affected
  • d2997d64dfa65082236bca1efd596b6c935daf5eAffected
  • 5.4.24 to before 5.5Affected
  • 5.5.8 to before 5.6Affected
LinuxLinux
  • 5.6Affected
  • before 5.6Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.134 through 6.6.*Not affected
  • 6.12.81 through 6.12.*Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.