Skip to main content
← All vulnerabilities
CVE-2026-31418

netfilter: ipset: drop logically empty buckets in mtype_del

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.5, 5.6, 5.10.253, 5.15.203, 6.1.168, and 4 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 · fixed in c098ff857e7ca923539164af5b3c2fe3e8f8afaf; From 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 · fixed in 58f3a14826d4e6b0d5421f1a64be280b48601ea2; From 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 · fixed in ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb; From 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 · fixed in 6cea34d7ec6829b62f521a37a287f670144a2233; From 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 · fixed in b7eef00f08b92b0b9efe8ae0df6d0005e6199323; From 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 · fixed in 68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4; From 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 · fixed in ceacaa76f221a6577aba945bb8873c2e640aeba4; From 8af1c6fbd9239877998c7f5a591cb2c88d41fb66 · fixed in 9862ef9ab0a116c6dca98842aab7de13a252ae02; From 5.4.24 · fixed in 5.5; From 5.5.8 · fixed in 5.6

  • Linux Linux

    5.6

  • KernelLinux

    From 5.6.0 · fixed in 5.10.253; From 5.11.0 · fixed in 5.15.203; From 5.16.0 · fixed in 6.1.168; From 6.2.0 · fixed in 6.6.134; From 6.7.0 · fixed in 6.12.81; From 6.13.0 · fixed in 6.18.22; From 6.19.0 · fixed in 6.19.12

References 8

git.kernel.org