Re: [PATCH net v5] net: sock: fix hardened usercopy panic in sock_recv_errqueue

From: patchwork-bot+netdevbpf
Date: Sun Jan 04 2026 - 13:26:53 EST


Hello:

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

On Wed, 24 Dec 2025 04:35:35 +0800 you wrote:
> From: Weiming Shi <bestswngs@xxxxxxxxx>
>
> skbuff_fclone_cache was created without defining a usercopy region,
> [1] unlike skbuff_head_cache which properly whitelists the cb[] field.
> [2] This causes a usercopy BUG() when CONFIG_HARDENED_USERCOPY is
> enabled and the kernel attempts to copy sk_buff.cb data to userspace
> via sock_recv_errqueue() -> put_cmsg().
>
> [...]

Here is the summary with links:
- [net,v5] net: sock: fix hardened usercopy panic in sock_recv_errqueue
https://git.kernel.org/netdev/net/c/2a71a1a8d0ed

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