CVE-2024-53076

MEDIUM

Linux Kernel 6.4-6.6.60, 6.7-6.11.7 - Use-After-Free in iio_gts_build_avail_scale_table Error Path

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 12.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-401
Status published
Products (12)
linux/Kernel 6.4.0 - 6.6.60linux
linux/Kernel 6.7.0 - 6.11.7linux
Linux/Linux < 6.4
Linux/Linux 38416c28e16890b52fdd5eb73479299ec3f062f3 - 369f05688911b05216cfcd6ca74473bec87948d7
Linux/Linux 38416c28e16890b52fdd5eb73479299ec3f062f3 - 62c11896683129790b8f5ab6eb7e695818b0b723
Linux/Linux 38416c28e16890b52fdd5eb73479299ec3f062f3 - b304362ce836968b803e5d4c5f84dcb51a7bf0f2
Linux/Linux 6.11.7 - 6.11.*
Linux/Linux 6.12
Linux/Linux 6.4
Linux/Linux 6.6.60 - 6.6.*
... and 2 more
Published Nov 19, 2024
Tracked Since Feb 18, 2026