What’s Vulnerable › Vulnerabilities

CVE-2022-48642: netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain() It seems to me that percpu memory for chain stats started leaking since commit 3bc158f8d0330f0a ("netfilter: nf_tables: map basechain priority to hardware priority") when nft_chain_offload_priority() returned an error.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.146, 5.15.71, 5.19.12. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-48642 or the next vulnerability affects your stack