CVE-2024-38388
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.23%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.23% probability · 14th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-401
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/172811e3a557d8681a5e2d0f871dc04a2d17eb13Patch
- https://git.kernel.org/stable/c/191dc1b2ff0fb35e7aff15a53224837637df8bffPatch
- https://git.kernel.org/stable/c/3291486af5636540980ea55bae985f3eaa5b0740Patch
- https://git.kernel.org/stable/c/6e359be4975006ff72818e79dad8fe48293f2eb2Patch
- https://git.kernel.org/stable/c/172811e3a557d8681a5e2d0f871dc04a2d17eb13Patch
- https://git.kernel.org/stable/c/191dc1b2ff0fb35e7aff15a53224837637df8bffPatch
- https://git.kernel.org/stable/c/3291486af5636540980ea55bae985f3eaa5b0740Patch
- https://git.kernel.org/stable/c/6e359be4975006ff72818e79dad8fe48293f2eb2Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.