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

netfilter: nf_tables: fix underflow in chain reference counter

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.20, 5.5, 5.11, 5.16, 6.4
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix underflow in chain reference counter Set element addition error path decrements reference counter on chains twice: once on element release and again via nft_data_release(). Then, d6b478666ffa ("netfilter: nf_tables: fix underflow in object reference counter") incorrectly fixed this by removing the stateful object reference count decrement. Restore the stateful object decrement as in b91d90368837 ("netfilter: nf_tables: fix leaking object reference count") and let nft_data_release() decrement the chain reference counter, so this is done only once.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 4.19.316 · fixed in 4.20; From 5.4.262 · fixed in 5.5; From 5.10.188 · fixed in 5.11; From 5.15.121 · fixed in 5.16; From 6.3.10 · fixed in 6.4

  • Linux Linux

    6.4

References 3

git.kernel.org