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 68606C433F5 for ; Sun, 15 May 2022 14:52:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237314AbiEOOwo (ORCPT ); Sun, 15 May 2022 10:52:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237325AbiEOOwf (ORCPT ); Sun, 15 May 2022 10:52:35 -0400 Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8645118B0C for ; Sun, 15 May 2022 07:52:23 -0700 (PDT) Received: by mail-io1-f71.google.com with SMTP id n5-20020a056602340500b0065a9f426e7aso8784403ioz.0 for ; Sun, 15 May 2022 07:52:23 -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=CDM6KLJWHiUdyyYgu+q/QybYO2uV3H4N8wCbvfHehAE=; b=WLr1cRYoIsYQn+Fv1nJ95FGQhJoj6dVUu66/Q4n64DM0zcLx7trgMg1QAls68JraEx 7u3lkpFLNc6IPnoQu71tanaG85xP7YVNtvs5Up7qWt6UcWFCrX1tNjS4cnq3zVbk28Mw aOW5p7ooyktUEased+SNDZfMhBq+rfjvtjfsN87mECgIL8M5Ekmr/UbpR/2rvGiwW2l3 49fDETVNo1SlHGU58rLPwLcgMNBCsAnR9OoyzzqwuKsAZMysItXyB2x40Rt0GCzO9KzY n87//uaHQ3WxAc/nPJ1Gq1UUKhGADIGhhYwfEZbUStsr/ns0r7kPFjSbwnzwWPFNROjq tIuA== X-Gm-Message-State: AOAM531HLX/1XQQZfhCizLrznTqMSEHaL667hKEVwhdCf9TAPr7ORQE7 /kkFefi75+8Nha+qGMoZwgDhg1VpeVD8aCP5Jj2Vud3ejkGE X-Google-Smtp-Source: ABdhPJy+c3igZ6REoGHXaRIHK/l8izrNbiLeqCZutXsVaftSfsxCHQYdN0Hli0eV1B2jfCu/Kee8cDqe9vXVpoQcHKHRgcgs4pdF MIME-Version: 1.0 X-Received: by 2002:a6b:e406:0:b0:657:baed:ec0b with SMTP id u6-20020a6be406000000b00657baedec0bmr6242365iog.27.1652626342805; Sun, 15 May 2022 07:52:22 -0700 (PDT) Date: Sun, 15 May 2022 07:52:22 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000001c058f05df0e0eea@google.com> Subject: [syzbot] WARNING: still has locks held in io_ring_submit_lock From: syzbot To: asml.silence@gmail.com, axboe@kernel.dk, f.fainelli@gmail.com, io-uring@vger.kernel.org, kuba@kernel.org, linux-kernel@vger.kernel.org, olteanv@gmail.com, syzkaller-bugs@googlegroups.com, xiam0nd.tong@gmail.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: 1e1b28b936ae Add linux-next specific files for 20220513 git tree: linux-next console+strace: https://syzkaller.appspot.com/x/log.txt?x=10872211f00000 kernel config: https://syzkaller.appspot.com/x/.config?x=e4eb3c0c4b289571 dashboard link: https://syzkaller.appspot.com/bug?extid=987d7bb19195ae45208c 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=1141bd21f00000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=167ebdbef00000 The issue was bisected to: commit 6da69b1da130e7d96766042750cd9f902e890eba Author: Xiaomeng Tong Date: Mon Mar 28 03:24:31 2022 +0000 net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1652eb11f00000 final oops: https://syzkaller.appspot.com/x/report.txt?x=1552eb11f00000 console output: https://syzkaller.appspot.com/x/log.txt?x=1152eb11f00000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+987d7bb19195ae45208c@syzkaller.appspotmail.com Fixes: 6da69b1da130 ("net: dsa: bcm_sf2_cfp: fix an incorrect NULL check on list iterator") ==================================== WARNING: iou-wrk-3613/3623 still has locks held! 5.18.0-rc6-next-20220513-syzkaller #0 Not tainted ------------------------------------ 1 lock held by iou-wrk-3613/3623: #0: ffff888140bfe0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_submit_lock+0x75/0xc0 fs/io_uring.c:1494 stack backtrace: CPU: 0 PID: 3623 Comm: iou-wrk-3613 Not tainted 5.18.0-rc6-next-20220513-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 try_to_freeze include/linux/freezer.h:66 [inline] get_signal+0x1424/0x2600 kernel/signal.c:2647 io_wqe_worker+0x64b/0xdb0 fs/io-wq.c:663 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:297 --- 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