CVE-2022-48933

MEDIUM

Linux Kernel 5.4-5.16 - Use-After-Free in Netfilter Stateful Object Update

Title source: llm
STIX 2.1

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().

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 11.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (17)
linux/Kernel 5.11.0 - 5.15.26linux
linux/Kernel 5.16.0 - 5.16.12linux
linux/Kernel 5.4.0 - 5.4.182linux
linux/Kernel 5.5.0 - 5.10.103linux
Linux/Linux < 5.4
Linux/Linux 5.10.103 - 5.10.*
Linux/Linux 5.15.26 - 5.15.*
Linux/Linux 5.16.12 - 5.16.*
Linux/Linux 5.17
Linux/Linux 5.4
... and 7 more
Published Aug 22, 2024
Tracked Since Feb 18, 2026