# CVE-2024-38388: ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-06-21T10:18:12.995Z
- Modified: 2026-08-05T11:32:36.453Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3233b978af23f11b4ad4f7f11a9a64bd05702b1f before 191dc1b2ff0fb35e7aff15a53224837637df8bff; from 3233b978af23f11b4ad4f7f11a9a64bd05702b1f before 6e359be4975006ff72818e79dad8fe48293f2eb2; from 3233b978af23f11b4ad4f7f11a9a64bd05702b1f before 3291486af5636540980ea55bae985f3eaa5b0740; from 3233b978af23f11b4ad4f7f11a9a64bd05702b1f before 172811e3a557d8681a5e2d0f871dc04a2d17eb13; 6.0 (not affected: before 6.0; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.9.4 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.0 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.9.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://git.kernel.org/stable/c/191dc1b2ff0fb35e7aff15a53224837637df8bff> (patch)
- <https://git.kernel.org/stable/c/6e359be4975006ff72818e79dad8fe48293f2eb2> (patch)
- <https://git.kernel.org/stable/c/3291486af5636540980ea55bae985f3eaa5b0740> (patch)
- <https://git.kernel.org/stable/c/172811e3a557d8681a5e2d0f871dc04a2d17eb13> (patch)

## Sources

- CVE List: [CVE-2024-38388](https://www.cve.org/CVERecord?id=CVE-2024-38388), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-38388](https://nvd.nist.gov/vuln/detail/CVE-2024-38388), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-38388 · Whole record: https://cve.day/CVE-2024-38388.json · Rebuilt by cve.day 2026-11-25T22:58:42.113Z
