CVE-2024-38388

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-38388
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38388.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-38388
Downstream
Related
Published
2024-06-21T11:15:10Z
Modified
2025-08-09T19:01:28Z
Summary
[none]
Details

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

ALSA: hda/csdspctl: 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 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.

References

Affected packages