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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-04-28T12:59:57.575Z
- Modified: 2026-06-17T05:15:48.087Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3bc158f8d0330f0ac58597c023acca2234c14616 before b043a525a3f5520abb676a7cd8f6328fdf959e88; from 3bc158f8d0330f0ac58597c023acca2234c14616 before 08d7524f366a886b99b1630a24a27dd6e0d7f852; from 3bc158f8d0330f0ac58597c023acca2234c14616 before 985b031667c3177b9e7fb9787b989628e4271714; from 3bc158f8d0330f0ac58597c023acca2234c14616 before 9a4d6dd554b86e65581ef6b6638a39ae079b17ac; 5.3 (not affected: before 5.3; from 5.10.146 up to 5.10.*; from 5.15.71 up to 5.15.*; from 5.19.12 up to 5.19.*; from 6.0 up to *)
- linux 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

## References

- <https://git.kernel.org/stable/c/b043a525a3f5520abb676a7cd8f6328fdf959e88> (patch)
- <https://git.kernel.org/stable/c/08d7524f366a886b99b1630a24a27dd6e0d7f852> (patch)
- <https://git.kernel.org/stable/c/985b031667c3177b9e7fb9787b989628e4271714> (patch)
- <https://git.kernel.org/stable/c/9a4d6dd554b86e65581ef6b6638a39ae079b17ac> (patch)

## Sources

- CVE List: [CVE-2022-48642](https://www.cve.org/CVERecord?id=CVE-2022-48642), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48642](https://nvd.nist.gov/vuln/detail/CVE-2022-48642), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48642 · Whole record: https://cve.day/CVE-2022-48642.json · Rebuilt by cve.day 2026-11-25T22:58:19.779Z
