← CVE Intelligence

CVE-2024-38388

ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 3233b978af23f11b4ad4f7f11a9a64bd05702b1f before 191dc1b2ff0fb35e7aff15a53224837637df8bff; affected 3233b978af23f11b4ad4f7f11a9a64bd05702b1f before 6e359be4975006ff72818e79dad8fe48293f2eb2; affected 3233b978af23f11b4ad4f7f11a9a64bd05702b1f before 3291486af5636540980ea55bae985f3eaa5b0740; affected 3233b978af23f11b4ad4f7f11a9a64bd05702b1f before 172811e3a557d8681a5e2d0f871dc04a2d17eb13
Linux / Linuxaffected 6.0; unaffected 0 before 6.0; unaffected 6.1.93 through 6.1.*; unaffected 6.6.33 through 6.6.*; unaffected 6.9.4 through 6.9.*; unaffected 6.10 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.