Re: [PATCH net] sctp: linearize cloned gso packets in sctp_rcv

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Thu,  7 Aug 2025 15:40:11 -0400 you wrote:
> A cloned head skb still shares these frag skbs in fraglist with the
> original head skb. It's not safe to access these frag skbs.
> 
> syzbot reported two use-of-uninitialized-memory bugs caused by this:
> 
>   BUG: KMSAN: uninit-value in sctp_inq_pop+0x15b7/0x1920 net/sctp/inqueue.c:211
>    sctp_inq_pop+0x15b7/0x1920 net/sctp/inqueue.c:211
>    sctp_assoc_bh_rcv+0x1a7/0xc50 net/sctp/associola.c:998
>    sctp_inq_push+0x2ef/0x380 net/sctp/inqueue.c:88
>    sctp_backlog_rcv+0x397/0xdb0 net/sctp/input.c:331
>    sk_backlog_rcv+0x13b/0x420 include/net/sock.h:1122
>    __release_sock+0x1da/0x330 net/core/sock.c:3106
>    release_sock+0x6b/0x250 net/core/sock.c:3660
>    sctp_wait_for_connect+0x487/0x820 net/sctp/socket.c:9360
>    sctp_sendmsg_to_asoc+0x1ec1/0x1f00 net/sctp/socket.c:1885
>    sctp_sendmsg+0x32b9/0x4a80 net/sctp/socket.c:2031
>    inet_sendmsg+0x25a/0x280 net/ipv4/af_inet.c:851
>    sock_sendmsg_nosec net/socket.c:718 [inline]
> 
> [...]

Here is the summary with links:
  - [net] sctp: linearize cloned gso packets in sctp_rcv
    https://git.kernel.org/netdev/net/c/fd60d8a08619

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






[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     SCTP

  Powered by Linux