CVE-2022-48768

MEDIUM

Linux Kernel - Use-After-Free in Histogram Tracing via kstrdup Memory Leak

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: tracing/histogram: Fix a potential memory leak for kstrdup() kfree() is missing on an error path to free the memory allocated by kstrdup(): p = param = kstrdup(data->params[i], GFP_KERNEL); So it is better to free it via kfree(p).

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 (21)
linux/Kernel < 5.4.176linux
linux/Kernel 5.11.0 - 5.16.5linux
linux/Kernel 5.5.0 - 5.10.96linux
linux/Kernel 5.6.0 - 5.15.19linux
Linux/Linux < 5.6
Linux/Linux 38b67e60b6b582e81f9db1b2e7176cbbfbd3e574 - 8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8
Linux/Linux 5.10.96 - 5.10.*
Linux/Linux 5.15.19 - 5.15.*
Linux/Linux 5.16.5 - 5.16.*
Linux/Linux 5.17
... and 11 more
Published Jun 20, 2024
Tracked Since Feb 18, 2026