Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-31418

netfilter: ipset: drop logically empty buckets in mtype_del

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to < c098ff857e7ca923539164af5b3c2fe3e8f8afafaffected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to < 58f3a14826d4e6b0d5421f1a64be280b48601ea2affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to < ad92ee87462f9a3061361d392e9dbfe2e5c1c9fbaffected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to < 6cea34d7ec6829b62f521a37a287f670144a2233affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to < b7eef00f08b92b0b9efe8ae0df6d0005e6199323affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to < 68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to < ceacaa76f221a6577aba945bb8873c2e640aeba4affected
  • 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 to < 9862ef9ab0a116c6dca98842aab7de13a252ae02affected
  • 6c717726f341fd8f39a3ec2dcf5d98d9d28a2769affected
  • d2997d64dfa65082236bca1efd596b6c935daf5eaffected
  • 5.4.24 to < 5.5affected
  • 5.5.8 to < 5.6affected

Linux Linux

Default version status: affected

  • 5.6affected
  • 0 to < 5.6unaffected
  • 5.10.253 to ≤ 5.10.*unaffected
  • 5.15.203 to ≤ 5.15.*unaffected
  • 6.1.168 to ≤ 6.1.*unaffected
  • 6.6.134 to ≤ 6.6.*unaffected
  • 6.12.81 to ≤ 6.12.*unaffected
  • 6.18.22 to ≤ 6.18.*unaffected
  • 6.19.12 to ≤ 6.19.*unaffected
  • 7.0 to ≤ *unaffected

References