Re: [PATCH net v2] mctp: serial: handle zero-length frames to prevent rx buffer overflow
From: patchwork-bot+netdevbpf
Date: Thu Jul 23 2026 - 09:53:50 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Wed, 15 Jul 2026 10:20:21 +0200 you wrote:
> The MCTP serial receive state machine reads a frame length byte in
> mctp_serial_push_header() case 2 and validates it upper-bound-only:
>
> if (c > MCTP_SERIAL_FRAME_MTU) {
> dev->rxstate = STATE_ERR;
> } else {
> dev->rxlen = c;
> dev->rxpos = 0;
> dev->rxstate = STATE_DATA;
> ...
> }
>
> [...]
Here is the summary with links:
- [net,v2] mctp: serial: handle zero-length frames to prevent rx buffer overflow
https://git.kernel.org/netdev/net/c/793b9b729f1e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html