From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B8E9C25B0D for ; Thu, 11 Aug 2022 05:30:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229437AbiHKFaY (ORCPT ); Thu, 11 Aug 2022 01:30:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233601AbiHKFaW (ORCPT ); Thu, 11 Aug 2022 01:30:22 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5380031F for ; Wed, 10 Aug 2022 22:30:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E17AEB81F27 for ; Thu, 11 Aug 2022 05:30:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 88263C433D7; Thu, 11 Aug 2022 05:30:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660195816; bh=EPkGtej6QWMX1FFY3687EVfa44VtrwczjURVrhNWWx0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=UXt6euGkfTwAQYt+UQPnRFYsnwhfzRp4nO2CCktvajntIKC0OI8+k40iK2kSe36uO 8gUHUbNmdX35KrzpXV7yjZO2+vu0fIGZd5kG5FDu5h40UQAjCJm5mWEmiGmfySY+C5 GeZ00yLo0iks5xt7nYOJbc4FyvbWzQPYSnIeIvdWprKRkT96a+o4kO5QUA7b4GVk3j hxVMvOvA5CzyUvxxge4SDewH5Kd1kEdKKSaQ/NdVeeciToTr7nZlZCpOXoL8G0wtiw sVUFNRrr1UdtcFx2XCFn1h42Jubbc0L3MifyzDwb/qTWwWSRBEXF3lknxdz7/IlJo9 ucSh0w54h1Bpg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 6D9FBC43143; Thu, 11 Aug 2022 05:30:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v5 0/2] net: enhancements to sk_user_data field From: patchwork-bot+netdevbpf@kernel.org Message-Id: <166019581644.16509.4729586700211293087.git-patchwork-notify@kernel.org> Date: Thu, 11 Aug 2022 05:30:16 +0000 References: In-Reply-To: To: Hawkins Jiawei Cc: syzbot+5f26f85569bd179c18ce@syzkaller.appspotmail.com, paskripkin@gmail.com, skhan@linuxfoundation.org, linux-kernel-mentees@lists.linuxfoundation.org, 18801353760@163.com, bpf@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: bpf@vger.kernel.org Hello: This series was applied to netdev/net.git (master) by Jakub Kicinski : On Fri, 5 Aug 2022 15:36:48 +0800 you wrote: > This patchset fixes refcount bug by adding SK_USER_DATA_PSOCK flag bit in > sk_user_data field. The bug cause following info: > > WARNING: CPU: 1 PID: 3605 at lib/refcount.c:19 refcount_warn_saturate+0xf4/0x1e0 lib/refcount.c:19 > Modules linked in: > CPU: 1 PID: 3605 Comm: syz-executor208 Not tainted 5.18.0-syzkaller-03023-g7e062cda7d90 #0 > > __refcount_add_not_zero include/linux/refcount.h:163 [inline] > __refcount_inc_not_zero include/linux/refcount.h:227 [inline] > refcount_inc_not_zero include/linux/refcount.h:245 [inline] > sk_psock_get+0x3bc/0x410 include/linux/skmsg.h:439 > tls_data_ready+0x6d/0x1b0 net/tls/tls_sw.c:2091 > tcp_data_ready+0x106/0x520 net/ipv4/tcp_input.c:4983 > tcp_data_queue+0x25f2/0x4c90 net/ipv4/tcp_input.c:5057 > tcp_rcv_state_process+0x1774/0x4e80 net/ipv4/tcp_input.c:6659 > tcp_v4_do_rcv+0x339/0x980 net/ipv4/tcp_ipv4.c:1682 > sk_backlog_rcv include/net/sock.h:1061 [inline] > __release_sock+0x134/0x3b0 net/core/sock.c:2849 > release_sock+0x54/0x1b0 net/core/sock.c:3404 > inet_shutdown+0x1e0/0x430 net/ipv4/af_inet.c:909 > __sys_shutdown_sock net/socket.c:2331 [inline] > __sys_shutdown_sock net/socket.c:2325 [inline] > __sys_shutdown+0xf1/0x1b0 net/socket.c:2343 > __do_sys_shutdown net/socket.c:2351 [inline] > __se_sys_shutdown net/socket.c:2349 [inline] > __x64_sys_shutdown+0x50/0x70 net/socket.c:2349 > do_syscall_x64 arch/x86/entry/common.c:50 [inline] > do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 > entry_SYSCALL_64_after_hwframe+0x46/0xb0 > > > [...] Here is the summary with links: - [net,v5,1/2] net: fix refcount bug in sk_psock_get (2) https://git.kernel.org/netdev/net/c/2a0133723f9e - [net,v5,2/2] net: refactor bpf_sk_reuseport_detach() https://git.kernel.org/netdev/net/c/cf8c1e967224 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html