Vulnerability 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).
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.4.19, < 5.4.176 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8Patch
- https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7Patch
- https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cfPatch
- https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175Patch
- https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fbPatch
- https://git.kernel.org/stable/c/8a8878ebb596281f50fc0b9a6e1f23f0d7f154e8Patch
- https://git.kernel.org/stable/c/d71b06aa995007eafd247626d0669b9364c42ad7Patch
- https://git.kernel.org/stable/c/df86e2fe808c3536a9dba353cc2bebdfea00d0cfPatch
- https://git.kernel.org/stable/c/e33fa4a46ee22de88a700e2e3d033da8214a5175Patch
- https://git.kernel.org/stable/c/e629e7b525a179e29d53463d992bdee759c950fbPatch
FAQ
What is CVE-2022-48768?
CVE-2022-48768 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 k...
How severe is CVE-2022-48768?
CVE-2022-48768 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-48768?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.