{"id":"CVE-2024-38388","summary":"ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda/cs_dsp_ctl: Use private_free for control cleanup\n\nUse the control private_free callback to free the associated data\nblock. This ensures that the memory won't leak, whatever way the\ncontrol gets destroyed.\n\nThe original implementation didn't actually remove the ALSA\ncontrols in hda_cs_dsp_control_remove(). It only freed the internal\ntracking structure. This meant it was possible to remove/unload the\namp driver while leaving its ALSA controls still present in the\nsoundcard. Obviously attempting to access them could cause segfaults\nor at least dereferencing stale pointers.","modified":"2026-04-16T04:30:15.893142064Z","published":"2024-06-21T10:18:12.995Z","related":["SUSE-SU-2024:2372-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38388.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/172811e3a557d8681a5e2d0f871dc04a2d17eb13"},{"type":"WEB","url":"https://git.kernel.org/stable/c/191dc1b2ff0fb35e7aff15a53224837637df8bff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3291486af5636540980ea55bae985f3eaa5b0740"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6e359be4975006ff72818e79dad8fe48293f2eb2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38388.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38388"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3233b978af23f11b4ad4f7f11a9a64bd05702b1f"},{"fixed":"191dc1b2ff0fb35e7aff15a53224837637df8bff"},{"fixed":"6e359be4975006ff72818e79dad8fe48293f2eb2"},{"fixed":"3291486af5636540980ea55bae985f3eaa5b0740"},{"fixed":"172811e3a557d8681a5e2d0f871dc04a2d17eb13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38388.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"}]}