CVE-2024-38388CWE-401

CVE-2024-38388

High · published June 21, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00233 · 13.4th percentile
Weakness
CWE-401 · Missing Release of Memory after Effective Lifetime
Published
2024-06-21T15:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.0, < 6.1.936.1.93
linux/linux_kernel≥ 6.2, < 6.6.336.6.33
linux/linux_kernel≥ 6.7, < 6.9.46.9.4
References (8)
EPSS history
Timeline
  • 21 JUN 10:18Z
    ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup
    cvelistv5