CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's firmware parsing functionality, specifically in the `fw_parse()` method, which fails to properly validate the boundaries of firmware records. This oversight can lead to potential memory corruption or arbitrary memory writes, posing a risk of system instability or exploitation. Organizations utilizing Linux in critical systems or embedded devices should prioritize addressing this issue to mitigate potential security risks.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: can: softing: fw_parse(): validate firmware record spans fw_parse() reads a fixed record header, a firmware-provided payload, and a trailing checksum without knowing the end of the firmware blob. A truncated record can therefore make those reads exceed the blob. The same record also supplies addresses and lengths for writes into DPRAM. The generic loader uses wrap-prone mixed signed arithmetic for its bounds check, while the application loader does not bound the staging copy at all. Pass the firmware end to the parser and validate the full source record. Use a signed wide offset for generic DPRAM records and validate the application staging span against the mapped DPRAM before copying.