netfilter: nft_set_rbtree: fix overlap expiration walk
- 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.10.190, 5.15.124, 6.1.43
- 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
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: netfilter: nft_set_rbtree: fix overlap expiration walk The lazy gc on insert that should remove timed-out entries fails to release the other half of the interval, if any. Can be reproduced with tests/shell/testcases/sets/0044interval_overlap_0 in nftables.git and kmemleak enabled kernel. Second bug is the use of rbe_prev vs. prev pointer. If rbe_prev() returns NULL after at least one iteration, rbe_prev points to element that is not an end interval, hence it should not be removed. Lastly, check the genmask of the end interval if this is active in the current generation.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 5.10.166 · fixed in 5.10.190; From 5.15.91 · fixed in 5.15.124; From 6.1.9 · fixed in 6.1.43
- Linux Linux
6.2
References 7
git.kernel.org
- stable/c/8284a79136c384059e85e278da2210b809730287
- stable/c/acaee227cf79c45a5d2d49c3e9a66333a462802c
- stable/c/893cb3c3513cf661a0ff45fe0cfa83fe27131f76
- stable/c/50cbb9d195c197af671869c8cadce3bd483735a0
- stable/c/89a4d1a89751a0fbd520e64091873e19cc0979e8
- stable/c/cd66733932399475fe933cb3ec03e687ed401462
- stable/c/f718863aca469a109895cb855e6b81fff4827d71