netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's nf_tables_addchain() can leak per-CPU memory for chain statistics when nft_chain_offload_priority() returns an error. The input does not establish how an attacker could trigger the leak or whether access, authentication, or user interaction is required.
Teams running the Linux kernel should check whether their version is affected; affected versions are not specified in the input.