CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's TAS2781 firmware parser, which improperly handles variable-length description strings by using strlen() without verifying the presence of a NUL terminator. This flaw can lead to buffer overflows, potentially allowing an attacker to execute arbitrary code or crash the system. Organizations using affected Linux systems, particularly those relying on TAS2781 firmware, should prioritize patching to mitigate these risks.
Original NVD Description
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.