Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2022-48768
HistoryJun 20, 2024 - 11:13 a.m.

CVE-2022-48768 tracing/histogram: Fix a potential memory leak for kstrdup()

2024-06-2011:13:43
Linux
github.com
linux kernel
memory leak
tracing
kstrdup
kfree
potential vulnerability

AI Score

6.8

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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 Score

6.8

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial