VDB

CVE-2024-38388

CVE-2024-38388 PUBLISHED CVSS 7.8 HIGH

ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup

Reported by linux · Published June 21, 2024

In the Linux kernel, the following vulnerability has been resolved: ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup Use the control private_free callback to free the associated data block. This ensures that the memory won't leak, whatever way the control gets destroyed. The original implementation didn't actually remove the ALSA controls in hda_cs_dsp_control_remove(). It only freed the internal tracking structure. This meant it was possible to remove/unload the amp driver while leaving its ALSA controls still present in the soundcard. Obviously attempting to access them could cause segfaults or at least dereferencing stale pointers.

Fixed versions

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

PackageEcosystemFixed in
linux_kernellinux6.9.4, 6.6.33, 6.1.93
LinuxLinux172811e3a557d8681a5e2d0f871dc04a2d17eb13

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
LinuxLinux3233b978af23f11b4ad4f7f11a9a64bd05702b1f, 3233b978af23f11b4ad4f7f11a9a64bd05702b1f, 3233b978af23f11b4ad4f7f11a9a64bd05702b1f
LinuxLinux6.0, 0, 6.1.93
LinuxLinux3233b978af23f11b4ad4f7f11a9a64bd05702b1f, 6.1.93, 6.9.4
linuxlinux_kernel6.0, 6.0, 6.0

Timeline

  • Jun 21, 2024 CVE Published
  • Jun 22, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jan 8, 2026 Security Advisory (59 in total, the first dated here)
  • May 28, 2026 Distribution Patch (54 in total, the first dated here)
  • Aug 4, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38388
vulnetix vdb fixes CVE-2024-38388

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-38388/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 ›