Re: [PATCH net v2] kcm: fix zero-frag skb in frag_list on partial sendmsg error

From: patchwork-bot+netdevbpf

Date: Mon Feb 23 2026 - 20:40:16 EST


Hello:

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

On Thu, 19 Feb 2026 09:42:51 +0800 you wrote:
> From: Jiayuan Chen <jiayuan.chen@xxxxxxxxxx>
>
> Syzkaller reported a warning in kcm_write_msgs() when processing a
> message with a zero-fragment skb in the frag_list.
>
> When kcm_sendmsg() fills MAX_SKB_FRAGS fragments in the current skb,
> it allocates a new skb (tskb) and links it into the frag_list before
> copying data. If the copy subsequently fails (e.g. -EFAULT from
> user memory), tskb remains in the frag_list with zero fragments:
>
> [...]

Here is the summary with links:
- [net,v2] kcm: fix zero-frag skb in frag_list on partial sendmsg error
https://git.kernel.org/netdev/net/c/ca220141fa8e

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