Lucene search

K
cve416baaa9-dc9f-4396-8d5f-8c081fb06d67CVE-2024-38388
HistoryJun 21, 2024 - 11:15 a.m.

CVE-2024-38388

2024-06-2111:15:10
416baaa9-dc9f-4396-8d5f-8c081fb06d67
web.nvd.nist.gov
23
linux kernel
alsa
vulnerability
control cleanup
memory leak
soundcard
segfaults

6.6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

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 configurations

Vulners
Node
linuxlinux_kernelRange6.06.1.93
OR
linuxlinux_kernelRange6.2.06.6.33
OR
linuxlinux_kernelRange6.7.06.9.4
OR
linuxlinux_kernelRange6.10.06.10-rc1

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "sound/pci/hda/hda_cs_dsp_ctl.c"
    ],
    "versions": [
      {
        "version": "3233b978af23",
        "lessThan": "191dc1b2ff0f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3233b978af23",
        "lessThan": "6e359be49750",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3233b978af23",
        "lessThan": "3291486af563",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "3233b978af23",
        "lessThan": "172811e3a557",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "sound/pci/hda/hda_cs_dsp_ctl.c"
    ],
    "versions": [
      {
        "version": "6.0",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.0",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.93",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.33",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.4",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10-rc1",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%