CVE-2022-48768

MEDIUM

Linux Kernel < 5.4.176 - Memory Leak

Title source: rule

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.0003
EPSS Percentile 9.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE
CWE-401
Status published

Affected Products (6)

linux/linux_kernel < 5.4.176
linux/linux_kernel
linux/Kernel < 5.4.176linux
linux/Kernel < 5.10.96linux
linux/Kernel < 5.15.19linux
linux/Kernel < 5.16.5linux

Timeline

Published Jun 20, 2024
Tracked Since Feb 18, 2026