Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Thu, 22 Oct 2026 00:30
Re: [PATCH net v2 0/2] ionic: fix port_info lifetime bugs
Author: patchwork-bot+netdevbpf
Date: Thu, 22 Oct 2026 00:30
Date: Thu, 22 Oct 2026 00:30
29 lines
9007 bytes
9007 bytes
Hello:
This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 15 Oct 2026 16:03:29 -0700 you wrote:
> Two fixes for the lifetime of the ionic port_info DMA buffer.
>
> Patch 1 fixes a use-after-free. ionic_port_init() allocates port_info
> only when the pointer is NULL, but its error path frees the buffer
> unconditionally. On the firmware recovery paths,
> ionic_lif_handle_fw_up() and ionic_reset_done(), the buffer belongs to
> an earlier successful init, so a failed PORT_INIT frees it under any
> ethtool op that is already reading it. The error path now frees only
> what the same call allocated.
>
> [...]
Here is the summary with links:
- [net,v2,1/2] ionic: fix port_info use-after-free on firmware recovery
https://git.kernel.org/netdev/net-next/c/d90d1a768b3b
- [net,v2,2/2] ionic: free port_info when probe fails after the port is set up
https://git.kernel.org/netdev/net-next/c/4e15e0a941ce
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