Re: [PATCH net v2] net: qlcnic: validate unified ROM sections before loading
From: patchwork-bot+netdevbpf
Date: Thu Aug 20 2026 - 16:01:34 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Sun, 16 Aug 2026 13:21:09 +0800 you wrote:
> The unified ROM parser reads directory, product, and data-descriptor fields
> from the firmware file. Existing validation forms table and data ends with
> unchecked additions and multiplications. Malformed values can wrap before
> they are compared with the firmware size. The parser also dereferences
> typed pointers at firmware-controlled offsets.
>
> Valid descriptor extents alone are insufficient for the consumers. The
> loader reads a fixed-size bootloader regardless of its declared size, the
> version parser assumes a 17-byte tail, and a partial final firmware word is
> read as a full u64. A truncated image can therefore make the driver read
> beyond the firmware allocation during validation or loading.
>
> [...]
Here is the summary with links:
- [net,v2] net: qlcnic: validate unified ROM sections before loading
https://git.kernel.org/netdev/net/c/5e8076e4e412
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html