CVE-2024-38388
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 6.9.4, 6.6.33, 6.1.93 |
| Linux | Linux | 172811e3a557d8681a5e2d0f871dc04a2d17eb13 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3233b978af23f11b4ad4f7f11a9a64bd05702b1f, 3233b978af23f11b4ad4f7f11a9a64bd05702b1f, 3233b978af23f11b4ad4f7f11a9a64bd05702b1f |
| Linux | Linux | 6.0, 0, 6.1.93 |
| Linux | Linux | 3233b978af23f11b4ad4f7f11a9a64bd05702b1f, 6.1.93, 6.9.4 |
| linux | linux_kernel | 6.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