Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by patchwork-bot+netdevbpf
Thu, 12 Nov 2026 18:50
Re: [PATCH net] net: netns: fix INT_MAX nsid cleanup
Author: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 18:50
Date: Thu, 12 Nov 2026 18:50
25 lines
8551 bytes
8551 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 11 Nov 2026 11:35:25 +0800 you wrote:
> A syzkaller reproducer assigning INT_MAX as a peer nsid triggers an
> idr_get_next() warning during netns cleanup. With panic_on_warn, this
> panics the kernel.
>
> alloc_netid() also overflows reqid + 1 for this nsid. Use
> idr_alloc_u32() for requested IDs and idr_get_next_ul() for cleanup so
> the cursor can advance past INT_MAX.
>
> [...]
Here is the summary with links:
- [net] net: netns: fix INT_MAX nsid cleanup
https://git.kernel.org/netdev/net/c/dd6f1e7582f0
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