CVE-2024-53076
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 19 Nov 2024
- Last modified
- 4 Aug 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Modified
- Weakness
- CWE-401
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.4, < 6.6.60 | 6.6.60 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.11.7 | 6.11.7 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:* |
= 6.12 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:* |
= 6.12 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:* |
= 6.12 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:* |
= 6.12 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:* |
= 6.12 |
References
- https://git.kernel.org/stable/c/369f05688911b05216cfcd6ca74473bec87948d7 · Patch
- https://git.kernel.org/stable/c/62c11896683129790b8f5ab6eb7e695818b0b723 · Patch
- https://git.kernel.org/stable/c/b304362ce836968b803e5d4c5f84dcb51a7bf0f2 · Patch
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 19 Nov 2024)