ASoC: tas2781: bound firmware description string parsing
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.1epss 0.1%
exploitation probability
0.1%top 97% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
ASoC: tas2781: bound firmware description string parsing
The TAS2781 firmware parser reads several variable-length description
strings with strlen() before checking that the string terminator is
present inside the firmware blob. A malformed firmware image without a
NUL terminator can therefore make the parser walk past the end of the
firmware buffer before the later size checks run.
Add a small bounded string-length helper and use it for all description
fields that are parsed from the firmware buffer. Keep the existing size
checks for the fixed bytes that follow each string.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/0ec45e80a82785ee147516fdecf5c93707dec119https://git.kernel.org/stable/c/3ddb0d3e36507615e5ef010a879357a54870adf5https://git.kernel.org/stable/c/41ae2b7d37c3dd82302167496836cca9f0328374https://git.kernel.org/stable/c/bc889dfcea9294a1eae7f8e2f3573a90764ae4d0https://git.kernel.org/stable/c/e75ef37d83c90b09bedb601624b47e168202b226