Re: [PATCH net] net: Return error from sk_stream_wait_connect() if sk_wait_event() fails

From: patchwork-bot+netdevbpf
Date: Fri Dec 15 2023 - 05:50:35 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 14 Dec 2023 14:09:22 +0900 you wrote:
> The following NULL pointer dereference issue occurred:
>
> BUG: kernel NULL pointer dereference, address: 0000000000000000
> <...>
> RIP: 0010:ccid_hc_tx_send_packet net/dccp/ccid.h:166 [inline]
> RIP: 0010:dccp_write_xmit+0x49/0x140 net/dccp/output.c:356
> <...>
> Call Trace:
> <TASK>
> dccp_sendmsg+0x642/0x7e0 net/dccp/proto.c:801
> inet_sendmsg+0x63/0x90 net/ipv4/af_inet.c:846
> sock_sendmsg_nosec net/socket.c:730 [inline]
> __sock_sendmsg+0x83/0xe0 net/socket.c:745
> ____sys_sendmsg+0x443/0x510 net/socket.c:2558
> ___sys_sendmsg+0xe5/0x150 net/socket.c:2612
> __sys_sendmsg+0xa6/0x120 net/socket.c:2641
> __do_sys_sendmsg net/socket.c:2650 [inline]
> __se_sys_sendmsg net/socket.c:2648 [inline]
> __x64_sys_sendmsg+0x45/0x50 net/socket.c:2648
> do_syscall_x64 arch/x86/entry/common.c:51 [inline]
> do_syscall_64+0x43/0x110 arch/x86/entry/common.c:82
> entry_SYSCALL_64_after_hwframe+0x63/0x6b
>
> [...]

Here is the summary with links:
- [net] net: Return error from sk_stream_wait_connect() if sk_wait_event() fails
https://git.kernel.org/netdev/net/c/cac23b7d7627

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