Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table() If per_time_scales[i] or per_time_gains[i] kcalloc fails in the for loop of iio_gts_build_avail_scale_table(), the err_free_out will fail to call kfree() each time when i is reduced to 0, so all the per_time_scales[0] and per_time_gains[0] will not be freed, which will cause memory leaks. Fix it by checking if i >= 0.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.4, < 6.6.60 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/369f05688911b05216cfcd6ca74473bec87948d7Patch
- https://git.kernel.org/stable/c/62c11896683129790b8f5ab6eb7e695818b0b723Patch
- https://git.kernel.org/stable/c/b304362ce836968b803e5d4c5f84dcb51a7bf0f2Patch
FAQ
What is CVE-2024-53076?
CVE-2024-53076 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table() If per_time_scales[i] or per_time_gains[...
How severe is CVE-2024-53076?
CVE-2024-53076 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-2024-53076?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.