Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp75314iol; Wed, 8 Jun 2022 22:23:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz7lxxbSTJgleqIsIDTAq2mxE+2F2NwCmzw9XaflVcnYIFPb+jJs+XFDYXIJOyPxt9VL5Q8 X-Received: by 2002:a05:6a00:23c4:b0:51c:5e8:e8a9 with SMTP id g4-20020a056a0023c400b0051c05e8e8a9mr22688644pfc.62.1654752218010; Wed, 08 Jun 2022 22:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654752218; cv=none; d=google.com; s=arc-20160816; b=YYB4knYWhIT9hkpncqq3CPfjAcitgj2/2YHQshX3ptDxPZSVNHOOMBVRf0PZJ4snPk PgaQZJbmzy3VZDRfAjPi+7uSaeSJTrIIdU55YRuoFTsY2KPh0YANMCn12jhFwAh/B1fI UHorCXyypPz/zOYsYavZBONtkRAHaEiedlqCWlUd6NYUYaXax5T3vjR9PqlDFd9noUim r+eBREdkuUdTnb6/YM6CShmmd/ndrcSeGjRVr0tt6XsinEUXPMqnQ+tiYzBh8kcMtrjh I5mCdx6Rof781Y/+vm11OdIH26kOzQFwjZZOPL/+HC6W4r+j2R0euxHa4RGsXYOwQ44h NO8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=RSLiPAtENbTkSowwv2uPq1Qvn2KqDjp9roHFS/8AUSY=; b=R3aLmx6Q2jjrcKRL36UqmO8TA6/llUEnI/j4f+ktdGZk/436tDIiVN+BflertQkTRw ubbrNuHYqY/VgMTSDtLRjRusLpsRzeo0lGjaNSCYJm/8hgOPwf/oOvQJUeAir1g0OoUB XAtZhJnhE0UN6IAo+84eXzGg4WhEzg5xLK0yQ58wuvgzcJK+2TOwRGYkZ0iiRPwXNNOr cnOe5OQDEsJV3zDDdz/lHHC35gaH4FbOui+b1TiyYPBSmycUjmXBdlc45aIHqNzyOFYW Et9UDpQnN6p51xKdVfdbgEa8FbBT1Xp5enKkUXR/AfipFLagdLHtyi3ntSBFMo97Mq+z t82Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ng17-20020a17090b1a9100b001df621048f4si43925078pjb.10.2022.06.08.22.23.23; Wed, 08 Jun 2022 22:23:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232464AbiFIEB2 (ORCPT + 99 others); Thu, 9 Jun 2022 00:01:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234685AbiFIEB0 (ORCPT ); Thu, 9 Jun 2022 00:01:26 -0400 Received: from mail-io1-f70.google.com (mail-io1-f70.google.com [209.85.166.70]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D29CC7C159 for ; Wed, 8 Jun 2022 21:01:24 -0700 (PDT) Received: by mail-io1-f70.google.com with SMTP id 69-20020a6b0148000000b00669a17a2916so1467146iob.4 for ; Wed, 08 Jun 2022 21:01:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=RSLiPAtENbTkSowwv2uPq1Qvn2KqDjp9roHFS/8AUSY=; b=nZ54gbz2k14WQwLk6T3r10klj3Ik3yMpY2ELAd3Gy1MMFhywSNXaA8ZlwJbcj4oWKD Z4Z1u5sK+T0CmSTxuWVN0F+xZTME3rdVwVtgrnrbCTNhqU5wI212mKIrcMPl25/9/eUe 4cqRKKdN4WWPoC1GJsHa+AVMB0sXayAQd0qYEI5U32nDReGLSdz0arBiaa1BRifYjub8 CDUaJyctq/FXGVAVEHtxaCm6D+P9ClWOiFp4nBJz0BZ5GrpKjKIrgkYk0z5Z2fzV4+9n E/DHKkn2LtSha6Y5sS5E21ONlMNyuolKOfraYcfqp6i4+fGoxwmj99oGZY2I3jqoOp0i +Ukg== X-Gm-Message-State: AOAM532Uq9F3ds4Khq/0xMHoiYuyVpqvhd3EdASnG64biOtti9Ma0zZL zq/X7HHuLonpoFjOkrSfV0t0Cmta0BroNrTTKbYWxrHfHeMZ MIME-Version: 1.0 X-Received: by 2002:a05:6e02:1645:b0:2d6:5dd3:e627 with SMTP id v5-20020a056e02164500b002d65dd3e627mr3465147ilu.268.1654747284259; Wed, 08 Jun 2022 21:01:24 -0700 (PDT) Date: Wed, 08 Jun 2022 21:01:24 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000124e9105e0fbe047@google.com> Subject: [syzbot] BUG: sleeping function called from invalid context in corrupted (2) From: syzbot To: andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, daniel@iogearbox.net, davem@davemloft.net, edumazet@google.com, jakub@cloudflare.com, john.fastabend@gmail.com, kafai@fb.com, kpsingh@kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, songliubraving@fb.com, syzkaller-bugs@googlegroups.com, wangyufen@huawei.com, yhs@fb.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 03c312cc5f47 Add linux-next specific files for 20220608 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=155a4b73f00000 kernel config: https://syzkaller.appspot.com/x/.config?x=a0a0f5184fb46b dashboard link: https://syzkaller.appspot.com/bug?extid=efe1afd49d981d281ae4 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=168d9ebff00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=125c6e5ff00000 The issue was bisected to: commit d8616ee2affcff37c5d315310da557a694a3303d Author: Wang Yufen Date: Tue May 24 07:53:11 2022 +0000 bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queues bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=138a4b57f00000 final oops: https://syzkaller.appspot.com/x/report.txt?x=104a4b57f00000 console output: https://syzkaller.appspot.com/x/log.txt?x=178a4b57f00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+efe1afd49d981d281ae4@syzkaller.appspotmail.com Fixes: d8616ee2affc ("bpf, sockmap: Fix sk->sk_forward_alloc warn_on in sk_stream_kill_queues") BUG: sleeping function called from invalid context at kernel/workqueue.c:3010 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3611, name: syz-executor124 preempt_count: 201, expected: 0 RCU nest depth: 0, expected: 0 3 locks held by syz-executor124/3611: #0: ffff888073295c10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:742 [inline] #0: ffff888073295c10 (&sb->s_type->i_mutex_key#10){+.+.}-{3:3}, at: __sock_release+0x86/0x280 net/socket.c:649 #1: ffff888073ff1ab0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1691 [inline] #1: ffff888073ff1ab0 (sk_lock-AF_INET6){+.+.}-{0:0}, at: tcp_close+0x1e/0xc0 net/ipv4/tcp.c:2908 --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. For information about bisection process see: https://goo.gl/tpsmEJ#bisection syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches