{"id":"CVE-2024-53076","published":"2024-11-19T17:31:40Z","modified":"2026-08-05T11:43:28Z","title":"iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()\n\nIf per_time_scales[i] or per_time_gains[i] kcalloc fails in the for loop\nof iio_gts_build_avail_scale_table(), the err_free_out will fail to call\nkfree() each time when i is reduced to 0, so all the per_time_scales[0]\nand per_time_gains[0] will not be freed, which will cause memory leaks.\n\nFix it by checking if i >= 0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0032,"percentile":0.17473,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/62c11896683129790b8f5ab6eb7e695818b0b723","tags":[]},{"url":"https://git.kernel.org/stable/c/b304362ce836968b803e5d4c5f84dcb51a7bf0f2","tags":[]},{"url":"https://git.kernel.org/stable/c/369f05688911b05216cfcd6ca74473bec87948d7","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.49},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 38416c28e16890b52fdd5eb73479299ec3f062f3, < 62c11896683129790b8f5ab6eb7e695818b0b723",">= 38416c28e16890b52fdd5eb73479299ec3f062f3, < b304362ce836968b803e5d4c5f84dcb51a7bf0f2",">= 38416c28e16890b52fdd5eb73479299ec3f062f3, < 369f05688911b05216cfcd6ca74473bec87948d7"]},{"vendor":"Linux","product":"Linux","versions":["6.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:12:14.041082Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-50492","exploited":false,"provenance":"source"}}