Re: [PATCH net] tcp: reject net_iov in zerocopy receive mapping hints

From: patchwork-bot+netdevbpf

Date: Fri Oct 02 2026 - 16:10:20 EST


Hello:

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

On Wed, 30 Sep 2026 19:25:24 +0900 you wrote:
> After copying a readable prefix, receive_fallback_to_copy() asks
> tcp_zerocopy_set_hint_for_skb() where page mapping can resume. If the
> next skb is unreadable, find_next_mappable_frag() passes its net_iov
> fragment to can_map_frag().
>
> skb_frag_page() returns NULL for a net_iov, but can_map_frag()
> dereferences it in PageCompound(). A v7.2 KASAN run on a connected TCP
> socket with 64 readable bytes followed by a 4096-byte NET_IOV_DMABUF
> fragment reported:
>
> [...]

Here is the summary with links:
- [net] tcp: reject net_iov in zerocopy receive mapping hints
https://git.kernel.org/netdev/net/c/8b1f0af1fd5f

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