{"id":"CVE-2024-38388","published":"2024-06-21T10:18:12Z","modified":"2026-08-05T11:32:36Z","title":"ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00231,"percentile":0.14284,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/191dc1b2ff0fb35e7aff15a53224837637df8bff","tags":[]},{"url":"https://git.kernel.org/stable/c/6e359be4975006ff72818e79dad8fe48293f2eb2","tags":[]},{"url":"https://git.kernel.org/stable/c/3291486af5636540980ea55bae985f3eaa5b0740","tags":[]},{"url":"https://git.kernel.org/stable/c/172811e3a557d8681a5e2d0f871dc04a2d17eb13","tags":[]}],"priority":{"score":8.3,"factors":[{"name":"EPSS percentile","points":2.86},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3233b978af23f11b4ad4f7f11a9a64bd05702b1f, < 191dc1b2ff0fb35e7aff15a53224837637df8bff",">= 3233b978af23f11b4ad4f7f11a9a64bd05702b1f, < 6e359be4975006ff72818e79dad8fe48293f2eb2",">= 3233b978af23f11b4ad4f7f11a9a64bd05702b1f, < 3291486af5636540980ea55bae985f3eaa5b0740",">= 3233b978af23f11b4ad4f7f11a9a64bd05702b1f, < 172811e3a557d8681a5e2d0f871dc04a2d17eb13"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-24T15:21:00.338175Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37295","exploited":false,"provenance":"source"}}