VYPR
Unrated severityNVD Advisory· Published Jun 20, 2024· Updated May 4, 2025

tracing/histogram: Fix a potential memory leak for kstrdup()

CVE-2022-48768

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

140

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.