CVE-2022-48933

netfilter: nf_tables: fix memory leak during stateful obj update

MEDIUM
5.5
CVSS Score
Published: August 22, 2024 at 03:31 AM UTC
Updated: June 17, 2026 at 05:16 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 memory leak during stateful obj update stateful objects can be updated from the control plane. The transaction logic allocates a temporary object for this purpose. The ->init function was called for this object, so plain kfree() leaks resources. We must call ->destroy function of the object. nft_obj_destroy does this, but it also decrements the module refcount, but the update path doesn't increment it. To avoid special-casing the update object release, do module_get for the update case too and release it via nft_obj_destroy().

Affected

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

5.11 ≤ v < 5.15.265.16 ≤ v < 5.16.125.4 ≤ v < 5.10.1035.4 ≤ v < 5.15.265.4 ≤ v < 5.16.125.4 ≤ v < 5.175.4 ≤ v < 5.4.1825.5 ≤ v < 5.10.1035.4d62d0ba97b5803183e70cfded7f7b9da76893bf5
Vendor states this is fixed in 34bb90e407e3288f610558beaae54ecaa32b11c4 (fixed)
Vendor states this is fixed in 53026346a94c43f35c32b18804041bc483271d87 (fixed)
Vendor states this is fixed in 7e9880e81d3fd6a43c202f205717485290432826 (fixed)
Vendor states this is fixed in dad3bdeef45f81a6e90204bcc85360bb76eccec7 (fixed)
Vendor states this is fixed in e96e204ee6fa46702f6c94c3c69a09e69e0eac52 (fixed)
Vendor states this is fixed in 5.10.103 (unaffected)
Vendor states this is fixed in 5.15.26 (unaffected)
Vendor states this is fixed in 5.16.12 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)
Vendor states this is fixed in 5.4.182 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/34bb90e407e3288f610558beaae54ecaa32b11c4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/53026346a94c43f35c32b18804041bc483271d87
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7e9880e81d3fd6a43c202f205717485290432826
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dad3bdeef45f81a6e90204bcc85360bb76eccec7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e96e204ee6fa46702f6c94c3c69a09e69e0eac52

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