Re: [PATCH net] hv_sock: Report no unread data before a channel is available

From: patchwork-bot+netdevbpf

Date: Tue Nov 10 2026 - 17:32:06 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Fri, 6 Nov 2026 13:39:18 +0100 you wrote:
> The Hyper-V transport is assigned before the asynchronous VMBus channel
> offer completes. Its zero-initialized hvsock therefore has a NULL chan
> until hvs_open_connection() associates the channel with the socket.
>
> SIOCINQ can query the assigned transport while the socket is connecting,
> or after connect() fails once the transport has been assigned. Unlike
> poll(), that path does not check stream_is_active() before calling the
> transport's stream_has_data callback. hvs_stream_has_data() then passes
> the NULL channel to hvs_channel_readable_payload(), and any user in the
> guest can trigger an oops:
>
> [...]

Here is the summary with links:
- [net] hv_sock: Report no unread data before a channel is available
https://git.kernel.org/netdev/net/c/71b06766b7c4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html