Lucene search

K
cveLinuxCVE-2024-39491
HistoryJul 10, 2024 - 8:15 a.m.

CVE-2024-39491

2024-07-1008:15:11
Linux
web.nvd.nist.gov
41
linux kernel
alsa
cs35l56
vulnerability

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.8%

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance

The cs_dsp instance is initialized in the driver probe() so it
should be freed in the driver remove(). Also fix a missing call
to cs_dsp_remove() in the error path of cs35l56_hda_common_probe().

The call to cs_dsp_remove() was being done in the component unbind
callback cs35l56_hda_unbind(). This meant that if the driver was
unbound and then re-bound it would be using an uninitialized cs_dsp
instance.

It is best to initialize the cs_dsp instance in probe() so that it
can return an error if it fails. The component binding API doesn’t
have any error handling so there’s no way to handle a failure if
cs_dsp was initialized in the bind.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.66.6.33
OR
linuxlinux_kernelRange6.7.06.9.4
OR
linuxlinux_kernelRange6.10.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*:*

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/cs35l56_hda.c"
    ],
    "versions": [
      {
        "version": "73cfbfa9caea",
        "lessThan": "9054c474f9c2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "73cfbfa9caea",
        "lessThan": "60d5e087e5f3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "73cfbfa9caea",
        "lessThan": "d344873c4cbd",
        "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/cs35l56_hda.c"
    ],
    "versions": [
      {
        "version": "6.6",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.6",
        "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",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.5

Confidence

Low

EPSS

0

Percentile

15.8%