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: r8153_ecm: reject short register reads
Author: patchwork-bot+netdevbpf
Date: Thu, 08 Oct 2026 02:30
Date: Thu, 08 Oct 2026 02:30
27 lines
6449 bytes
6449 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Mon, 5 Oct 2026 01:59:43 -0400 you wrote:
> pla_read_word() and pla_write_word() read four bytes into an
> uninitialized stack variable, but only check usbnet_read_cmd() for
> negative return values. The helper can also return a non-negative
> length smaller than requested, leaving part or all of tmp
> uninitialized.
>
> pla_read_word() may then derive the register value from uninitialized
> bytes. pla_write_word() may include uninitialized bytes in the buffer
> sent to the device during its read-modify-write operation.
>
> [...]
Here is the summary with links:
- [net] net: usb: r8153_ecm: reject short register reads
https://git.kernel.org/netdev/net-next/c/802f46305787
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