Bug 2457831 (CVE-2026-31418) - CVE-2026-31418 kernel: netfilter: ipset: drop logically empty buckets in mtype_del
Summary: CVE-2026-31418 kernel: netfilter: ipset: drop logically empty buckets in mtyp...
Keywords:
Status: NEW
Alias: CVE-2026-31418
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-13 14:01 UTC by OSIDB Bzimport
Modified: 2026-04-14 10:24 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-13 14:01:57 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.