CVE-2024-38388

ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup

HIGH
7.8
CVSS Score
Published: June 21, 2024 at 10:18 AM UTC
Updated: August 5, 2026 at 12:04 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.0 ≤ v < 6.1.936.0 ≤ v < 6.106.0 ≤ v < 6.6.336.0 ≤ v < 6.9.46.2 ≤ v < 6.6.336.7 ≤ v < 6.9.43233b978af23f11b4ad4f7f11a9a64bd05702b1f6.0
Vendor states this is fixed in 172811e3a557d8681a5e2d0f871dc04a2d17eb13 (fixed)
Vendor states this is fixed in 191dc1b2ff0fb35e7aff15a53224837637df8bff (fixed)
Vendor states this is fixed in 3291486af5636540980ea55bae985f3eaa5b0740 (fixed)
Vendor states this is fixed in 6e359be4975006ff72818e79dad8fe48293f2eb2 (fixed)
Vendor states this is fixed in 6.0 (unaffected)
Vendor states this is fixed in 6.1.93 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.33 (unaffected)
Vendor states this is fixed in 6.9.4 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/172811e3a557d8681a5e2d0f871dc04a2d17eb13
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/191dc1b2ff0fb35e7aff15a53224837637df8bff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3291486af5636540980ea55bae985f3eaa5b0740
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6e359be4975006ff72818e79dad8fe48293f2eb2

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card