CVE-2022-48642 netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
A memory leak in the Linux kernel's netfilter subsystem allows attackers to cause a denial of service by exhausting percpu memory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-48642?
CVE-2022-48642 is a medium-severity denial of service vulnerability in Linux kernel, published on 28 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-401
Which versions are affected by CVE-2022-48642?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-48642?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-48642 being exploited?
There is no known exploitation of CVE-2022-48642 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-48642, GHSA-j8fx-m4jh-f28m, UBUNTU-CVE-2022-48642.