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

Published Jun 21, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda/csdspctl: Use privatefree for control cleanup

The Linux kernel CVE team has assigned CVE-2024-38388 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024062137-CVE-2024-38388-fb75@gregkh/T

Other sources

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda/csdspctl: Use privatefree for control cleanup

Use the control privatefree 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 hdacsdspcontrolremove(). 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.

NVD

Affected Software

8 affected componentsFixes available
redhat/kernel<6.1.93
6.1.93
redhat/kernel<6.6.33
6.6.33
redhat/kernel<6.9.4
6.9.4
redhat/kernel<6.10
6.10
Linux Linux kernel>=6.0<6.1.93
Linux Linux kernel>=6.2<6.6.33
Linux Linux kernel>=6.7<6.9.4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.93
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.33
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9.4
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.10
  5. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2024-38388

Event History

Jun 21, 2024
CVE Published
via MITRE·10:18 AM
Data Sourced
via MITRE·10:18 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 11, 2024
Data Sourced
via Launchpad·04:24 PM
Description
Nov 30, 2024
Data Sourced
via Ubuntu·04:43 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38388?

CVE-2024-38388 has been categorized as a low severity vulnerability in the Linux kernel.

2

How do I fix CVE-2024-38388?

To fix CVE-2024-38388, update your kernel to version 6.1.93 or later for Red Hat or to the specified versions for Debian.

3

Which versions of the Linux kernel are affected by CVE-2024-38388?

CVE-2024-38388 affects various versions of the Linux kernel, including those below 6.1.93, 6.6.33, 6.9.4, and 6.10 for Red Hat, as well as specific versions for Debian.

4

Is CVE-2024-38388 being actively exploited?

There have been no reported active exploits for CVE-2024-38388 at this time.

5

What systems are most at risk from CVE-2024-38388?

Systems running vulnerable versions of the Linux kernel, particularly those using ALSA controls, are most at risk for CVE-2024-38388.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203