CVE-2022-48642

netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()

MEDIUM
5.5
CVSS Score
Published: April 28, 2024 at 12:59 PM UTC
Updated: June 17, 2026 at 05:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.715.16 ≤ v < 5.19.125.3 ≤ v < 5.10.1465.3 ≤ v < 5.15.715.3 ≤ v < 5.19.125.3 ≤ v < 6.03bc158f8d0330f0ac58597c023acca2234c146166.0 rc16.0 rc26.0 rc36.0 rc46.0 rc56.0 rc6
Vendor states this is fixed in 08d7524f366a886b99b1630a24a27dd6e0d7f852 (fixed)
Vendor states this is fixed in 985b031667c3177b9e7fb9787b989628e4271714 (fixed)
Vendor states this is fixed in 9a4d6dd554b86e65581ef6b6638a39ae079b17ac (fixed)
Vendor states this is fixed in b043a525a3f5520abb676a7cd8f6328fdf959e88 (fixed)
Vendor states this is fixed in 5.10.146 (unaffected)
Vendor states this is fixed in 5.15.71 (unaffected)
Vendor states this is fixed in 5.19.12 (unaffected)
Vendor states this is fixed in 5.3 (unaffected)
Vendor states this is fixed in 6.0 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/08d7524f366a886b99b1630a24a27dd6e0d7f852
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/985b031667c3177b9e7fb9787b989628e4271714
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9a4d6dd554b86e65581ef6b6638a39ae079b17ac
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b043a525a3f5520abb676a7cd8f6328fdf959e88

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card