CVE-2024-38388

published 21 Jun 2024 · updated 5 Aug 2026

ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 172811e3a557d8681a5e2d0f871dc04a2d17eb13, Kernel 191dc1b2ff0fb35e7aff15a53224837637df8bff, Kernel 3291486af5636540980ea55bae985f3eaa5b0740 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.0, >=3233b978af23f11b4ad4f7f11a9a64bd05702b1f <172811e3a557d8681a5e2d0f871dc04a2d17eb13, >=3233b978af23f11b4ad4f7f11a9a64bd05702b1f <191dc1b2ff0fb35e7aff15a53224837637df8bff, >=3233b978af23f11b4ad4f7f11a9a64bd05702b1f <3291486af5636540980ea55bae985f3eaa5b0740, >=3233b978af23f11b4ad4f7f11a9a64bd05702b1f <6e359be4975006ff72818e79dad8fe48293f2eb2172811e3a557d8681a5e2d0f871dc04a2d17eb13, 191dc1b2ff0fb35e7aff15a53224837637df8bff, 3291486af5636540980ea55bae985f3eaa5b0740, 6e359be4975006ff72818e79dad8fe48293f2eb2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-38388 severity on Zeptric[![CVE-2024-38388](https://zeptric.io/badge/cve/CVE-2024-38388.svg)](https://zeptric.io/cve/CVE-2024-38388)