Lucene search

K
cvelistLinuxCVELIST:CVE-2024-41056
HistoryJul 29, 2024 - 2:33 p.m.

CVE-2024-41056 firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files

2024-07-2914:33:27
Linux
www.cve.org
6
linux kernel
firmware
cs_dsp
vulnerability
strnlen
wmfw files

EPSS

0

Percentile

16.2%

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

firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files

Use strnlen() instead of strlen() on the algorithm and coefficient name
string arrays in V1 wmfw files.

In V1 wmfw files the name is a NUL-terminated string in a fixed-size
array. cs_dsp should protect against overrunning the array if the NUL
terminator is missing.

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": "16d76857d6b5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f6bc909e7673",
        "lessThan": "392cff2f86a2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f6bc909e7673",
        "lessThan": "53a9f8cdbf35",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "f6bc909e7673",
        "lessThan": "680e126ec040",
        "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

16.2%