Linux
ASoC: tas2781: bound firmware description string parsing
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 915f5eadebd29ba185ac506766a90120153b7e14, < 3ddb0d3e36507615e5ef010a879357a54870adf5
- >= 915f5eadebd29ba185ac506766a90120153b7e14, < 0ec45e80a82785ee147516fdecf5c93707dec119
- >= 915f5eadebd29ba185ac506766a90120153b7e14, < 41ae2b7d37c3dd82302167496836cca9f0328374
- >= 915f5eadebd29ba185ac506766a90120153b7e14, < e75ef37d83c90b09bedb601624b47e168202b226
- >= 915f5eadebd29ba185ac506766a90120153b7e14, < bc889dfcea9294a1eae7f8e2f3573a90764ae4d0
Fixed in 3ddb0d3e36507615e5ef010a879357a54870adf5, 0ec45e80a82785ee147516fdecf5c93707dec119, 41ae2b7d37c3dd82302167496836cca9f0328374, e75ef37d83c90b09bedb601624b47e168202b226, bc889dfcea9294a1eae7f8e2f3573a90764ae4d0
- 6.5
Fixed in 0, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 3ddb0d3e36507615e5ef010a879357a54870adf5 or 0ec45e80a82785ee147516fdecf5c93707dec119 or 41ae2b7d37c3dd82302167496836cca9f0328374 or e75ef37d83c90b09bedb601624b47e168202b226 or bc889dfcea9294a1eae7f8e2f3573a90764ae4d0 or later.
Upgrade Linux to 0 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.