Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Thu, 08 Oct 2026 02:30
Re: [PATCH net] net: usb: sierra_net: reject short firmware attribute reads
Author: patchwork-bot+netdevbpf
Date: Thu, 08 Oct 2026 02:30
Date: Thu, 08 Oct 2026 02:30
26 lines
6534 bytes
6534 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 5 Oct 2026 11:59:20 -0400 you wrote:
> sierra_net_get_fw_attr() only checks usbnet_read_cmd() for negative
> return values before converting attrdata and storing it in *datap.
> A zero-length or one-byte response leaves attrdata wholly or partially
> uninitialized.
>
> Although sierra_net_bind() rejects responses of unexpected length, its
> dev_dbg() call uses fwattr before that check. When the debug message is
> enabled, the incomplete value may therefore be used in the debug output.
>
> [...]
Here is the summary with links:
- [net] net: usb: sierra_net: reject short firmware attribute reads
https://git.kernel.org/netdev/net-next/c/8df0638138d3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads