VDB

CVE-2024-53076

CVE-2024-53076 PUBLISHED CVSS 7.8 HIGH

iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()

Reported by linux · Published November 19, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux6.4, 369f05688911b05216cfcd6ca74473bec87948d7

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux38416c28e16890b52fdd5eb73479299ec3f062f3, 38416c28e16890b52fdd5eb73479299ec3f062f3, 38416c28e16890b52fdd5eb73479299ec3f062f3
LinuxLinux6.4, 0, 6.6.60
LinuxLinux38416c28e16890b52fdd5eb73479299ec3f062f3, 0, 6.4
linuxlinux_kernel6.4, 6.4, 6.4

Timeline

  • Nov 19, 2024 CVE Published
  • Nov 20, 2024 EPSS Score (30 in total, the first dated here)
  • Nov 20, 2024 Coalition ESS Score (10 in total, the first dated here)
  • Jan 1, 2026 Security Advisory (160 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (139 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-53076
vulnetix vdb fixes CVE-2024-53076

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53076/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›