CVE-2024-53076
iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()
CVSS Score
5.5
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Nov 19, 2024 |
| Last Updated | May 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new medium vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
38416c28e16890b52fdd5eb73479299ec3f062f3 < 62c11896683129790b8f5ab6eb7e695818b0b723 38416c28e16890b52fdd5eb73479299ec3f062f3 < b304362ce836968b803e5d4c5f84dcb51a7bf0f2 38416c28e16890b52fdd5eb73479299ec3f062f3 < 369f05688911b05216cfcd6ca74473bec87948d7
Linux / Linux
6.4