Lucene search

K
nvd416baaa9-dc9f-4396-8d5f-8c081fb06d67NVD:CVE-2022-48768
HistoryJun 20, 2024 - 12:15 p.m.

CVE-2022-48768

2024-06-2012:15:14
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
1
linux kernel
potential memory leak
tracing/histogram
vulnerability
kstrdup
kfree

0.0004 Low

EPSS

Percentile

15.7%

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

0.0004 Low

EPSS

Percentile

15.7%

Related for NVD:CVE-2022-48768