From: patchwork-bot+netdevbpf@kernel.org
To: Xin Long <lucien.xin@gmail.com>
Cc: netdev@vger.kernel.org, linux-sctp@vger.kernel.org,
davem@davemloft.net, kuba@kernel.org, edumazet@google.com,
pabeni@redhat.com, horms@kernel.org, marcelo.leitner@gmail.com,
n.zhandarovich@fintech.ru
Subject: Re: [PATCH net] sctp: linearize cloned gso packets in sctp_rcv
Date: Fri, 08 Aug 2025 20:20:09 +0000 [thread overview]
Message-ID: <175468440950.254982.15282866112466128113.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <dd7dc337b99876d4132d0961f776913719f7d225.1754595611.git.lucien.xin@gmail.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
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
prev parent reply other threads:[~2025-08-08 20:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-07 19:40 [PATCH net] sctp: linearize cloned gso packets in sctp_rcv Xin Long
2025-08-07 21:47 ` Marcelo Ricardo Leitner
2025-08-08 20:20 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175468440950.254982.15282866112466128113.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-sctp@vger.kernel.org \
--cc=lucien.xin@gmail.com \
--cc=marcelo.leitner@gmail.com \
--cc=n.zhandarovich@fintech.ru \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.