THREATINT

We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Zendesk (Helpdesk and Chat)

Ok

PUBLISHED

CVE-2022-48768

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

Assigner:Linux
Reserved:2024-06-20
Published:2024-06-20
Updated:2024-06-20

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

Product status

Default status
unaffected

38b67e60b6b5 before 8a8878ebb596
affected

d380dcde9a07 before d71b06aa9950
affected

d380dcde9a07 before e33fa4a46ee2
affected

d380dcde9a07 before df86e2fe808c
affected

d380dcde9a07 before e629e7b525a1
affected

Default status
affected

5.6
affected

Any version before 5.6
unaffected

5.4.176
unaffected

5.10.96
unaffected

5.15.19
unaffected

5.16.5
unaffected

5.17
unaffected

References

https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8

https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7

https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175

https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cf

https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fb

cve.org CVE-2022-48768

nvd.nist.gov CVE-2022-48768

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2022-48768