Lucene search

K
cvelistLinuxCVELIST:CVE-2024-42238
HistoryAug 07, 2024 - 3:14 p.m.

CVE-2024-42238 firmware: cs_dsp: Return error if block header overflows file

2024-08-0715:14:26
Linux
www.cve.org
8
linux kernel
vulnerability
firmware
cs_dsp
block header
file overflow
error
data processing.

EPSS

0

Percentile

5.0%

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

firmware: cs_dsp: Return error if block header overflows file

Return an error from cs_dsp_power_up() if a block header is longer
than the amount of data left in the file.

The previous code in cs_dsp_load() and cs_dsp_load_coeff() would loop
while there was enough data left in the file for a valid region. This
protected against overrunning the end of the file data, but it didn’t
abort the file processing with an error.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/firmware/cirrus/cs_dsp.c"
    ],
    "versions": [
      {
        "version": "f6bc909e7673",
        "lessThan": "b8be70566b33",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f6bc909e7673",
        "lessThan": "90ab191b7d18",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f6bc909e7673",
        "lessThan": "6eabd2338380",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f6bc909e7673",
        "lessThan": "959fe01e85b7",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/firmware/cirrus/cs_dsp.c"
    ],
    "versions": [
      {
        "version": "5.16",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.16",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.100",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.41",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.10",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

5.0%