netfilter: ipset: drop logically empty buckets in mtype_del
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.5, 5.6, 5.10.253, 5.15.203, 6.1.168, and 4 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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
- stable/c/c098ff857e7ca923539164af5b3c2fe3e8f8afaf
- stable/c/58f3a14826d4e6b0d5421f1a64be280b48601ea2
- stable/c/ad92ee87462f9a3061361d392e9dbfe2e5c1c9fb
- stable/c/6cea34d7ec6829b62f521a37a287f670144a2233
- stable/c/b7eef00f08b92b0b9efe8ae0df6d0005e6199323
- stable/c/68ca0eea0af02bed36c5e2c13e9fa1647c31a7d4
- stable/c/ceacaa76f221a6577aba945bb8873c2e640aeba4
- stable/c/9862ef9ab0a116c6dca98842aab7de13a252ae02