What’s Vulnerable › Vulnerabilities
CVE-2022-48642: netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-28 · updated 2026-06-17
- Weakness: CWE-401
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
- Linux kernel: from 5.3 before 5.10.146; from 5.11 before 5.15.71; from 5.16 before 5.19.12; 6.0-rc1, 6.0-rc2, 6.0-rc3, 6.0-rc4, 6.0-rc5, 6.0-rc6 — fixed in 5.10.146, 5.15.71, 5.19.12
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
- https://git.kernel.org/stable/c/08d7524f366a886b99b1630a24a27dd6e0d7f852
- https://git.kernel.org/stable/c/985b031667c3177b9e7fb9787b989628e4271714
- https://git.kernel.org/stable/c/9a4d6dd554b86e65581ef6b6638a39ae079b17ac
- https://git.kernel.org/stable/c/b043a525a3f5520abb676a7cd8f6328fdf959e88
- https://git.kernel.org/stable/c/08d7524f366a886b99b1630a24a27dd6e0d7f852
- https://git.kernel.org/stable/c/985b031667c3177b9e7fb9787b989628e4271714
- https://git.kernel.org/stable/c/9a4d6dd554b86e65581ef6b6638a39ae079b17ac
- https://git.kernel.org/stable/c/b043a525a3f5520abb676a7cd8f6328fdf959e88
Get alerted when CVE-2022-48642 or the next vulnerability affects your stack