← Database

CVE-2022-48768

MEDIUM CVSS: 5.5 Published: 2024-06-20 Modified: 2026-06-17

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

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-401

References