Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 915f5eadebd29ba185ac506766a90120153b7e14 before 3ddb0d3e36507615e5ef010a879357a54870adf5; affected 915f5eadebd29ba185ac506766a90120153b7e14 before 0ec45e80a82785ee147516fdecf5c93707dec119; affected 915f5eadebd29ba185ac506766a90120153b7e14 before 41ae2b7d37c3dd82302167496836cca9f0328374; affected 915f5eadebd29ba185ac506766a90120153b7e14 before e75ef37d83c90b09bedb601624b47e168202b226; affected 915f5eadebd29ba185ac506766a90120153b7e14 before bc889dfcea9294a1eae7f8e2f3573a90764ae4d0 |
| Linux / Linux | affected 6.5; unaffected 0 before 6.5; unaffected 6.6.148 through 6.6.*; unaffected 6.12.101 through 6.12.*; unaffected 6.18.42 through 6.18.*; unaffected 7.1.6 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/3ddb0d3e36507615e5ef010a879357a54870adf5
- https://git.kernel.org/stable/c/0ec45e80a82785ee147516fdecf5c93707dec119
- https://git.kernel.org/stable/c/41ae2b7d37c3dd82302167496836cca9f0328374
- https://git.kernel.org/stable/c/e75ef37d83c90b09bedb601624b47e168202b226
- https://git.kernel.org/stable/c/bc889dfcea9294a1eae7f8e2f3573a90764ae4d0
ADP enrichment
No English description supplied.
No references supplied.