Skip to main content
← All vulnerabilities
CVE-2023-53304

netfilter: nft_set_rbtree: fix overlap expiration walk

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.190, 5.15.124, 6.1.43
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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. 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