ASoC: tas2781: bound firmware description string parsing
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel e75ef37d83c90b09bedb601624b47e168202b226, Kernel 0ec45e80a82785ee147516fdecf5c93707dec119, Kernel 3ddb0d3e36507615e5ef010a879357a54870adf5 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=915f5eadebd29ba185ac506766a90120153b7e14 <e75ef37d83c90b09bedb601624b47e168202b226, >=915f5eadebd29ba185ac506766a90120153b7e14 <0ec45e80a82785ee147516fdecf5c93707dec119, >=915f5eadebd29ba185ac506766a90120153b7e14 <3ddb0d3e36507615e5ef010a879357a54870adf5, >=915f5eadebd29ba185ac506766a90120153b7e14 <41ae2b7d37c3dd82302167496836cca9f0328374, >=915f5eadebd29ba185ac506766a90120153b7e14 <bc889dfcea9294a1eae7f8e2f3573a90764ae4d0, =6.5 | e75ef37d83c90b09bedb601624b47e168202b226, 0ec45e80a82785ee147516fdecf5c93707dec119, 3ddb0d3e36507615e5ef010a879357a54870adf5, 41ae2b7d37c3dd82302167496836cca9f0328374, bc889dfcea9294a1eae7f8e2f3573a90764ae4d0 |
| linux-kernel: Kernel | >=6.19.0 <7.1.6, >=6.5.0 <6.6.148, >=6.7.0 <6.12.101, >=6.13.0 <6.18.42 | 7.1.6, 6.6.148, 6.12.101, 6.18.42 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket