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 44F66C4332F for ; Sat, 24 Dec 2022 04:03:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232624AbiLXEDx (ORCPT ); Fri, 23 Dec 2022 23:03:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230498AbiLXEDo (ORCPT ); Fri, 23 Dec 2022 23:03:44 -0500 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C61019283 for ; Fri, 23 Dec 2022 20:03:43 -0800 (PST) Received: by mail-il1-f198.google.com with SMTP id l3-20020a056e021aa300b00304be32e9e5so3578064ilv.12 for ; Fri, 23 Dec 2022 20:03:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U1UQUd3vyTkUP8x8Sf6RMJ97c9ni0l2jcysvOfEmp2g=; b=QpWGSEwtasEt9THYIAZylTMkzx27qDHcU84UtfUSJ9/K71smxtDspgsBglmPq7Slwv eBGTQ/KxiDHoRWUuvJ3GZqinnIg+AmYSP+fAdRKahwhY9sCM1TwuEeowhpCkuKB4vUag kHqNG13UgPFuk3A8f8Mbn0K1PH7m3tJXdxWkbrCairuGKDoQbVNq5FwXz+YtbRXE1KAM qKUkg3d1VYjI9g13sRmaylL1YQsAfs0VHR4C5cKVYYj75rxrZ85K/ddMEwZ8tXePc0Vj OkxaqJUaqnVf/lmrSRIwogquvnUfEON7YR6/bpAoDOFLto1JzrsamZxcfhmPYw4SNdes FVjQ== X-Gm-Message-State: AFqh2kr7YoDmWVOo7+S4P9FBHtyAWZqVOjAu4y85/BxQBkAMMSuS4GUE riBXty8lPijdIylt+EthPOUJN1jVg4ksLke1u0UxxeshWhen X-Google-Smtp-Source: AMrXdXsQ1q0MvPM0cHGlSGHLwvqXS3+yhzNedTL4nqDc2r/iD7KAr4T549QlA7/CB+uevI4qiXcIimnpxSPM/KJmSrLhewoXCyi5 MIME-Version: 1.0 X-Received: by 2002:a02:620e:0:b0:376:2324:bfe1 with SMTP id d14-20020a02620e000000b003762324bfe1mr1078019jac.189.1671854622694; Fri, 23 Dec 2022 20:03:42 -0800 (PST) Date: Fri, 23 Dec 2022 20:03:42 -0800 In-Reply-To: <000000000000aa6d8005f04d3d00@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000e6ec2805f08afc11@google.com> Subject: Re: [syzbot] [gfs2?] INFO: task hung in gfs2_jhead_process_page From: syzbot To: agruenba@redhat.com, akpm@linux-foundation.org, brauner@kernel.org, broonie@kernel.org, catalin.marinas@arm.com, cluster-devel@redhat.com, ebiederm@xmission.com, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, rpeterso@redhat.com, syzkaller-bugs@googlegroups.com, wangkefeng.wang@huawei.com, will@kernel.org, willy@infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org syzbot has found a reproducer for the following issue on: HEAD commit: a5541c0811a0 Merge branch 'for-next/core' into for-kernelci git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=172de6df880000 kernel config: https://syzkaller.appspot.com/x/.config?x=cbd4e584773e9397 dashboard link: https://syzkaller.appspot.com/bug?extid=b9c5afe053a08cd29468 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=116fc088480000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1756e060480000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/4b7702208fb9/disk-a5541c08.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/9ec0153ec051/vmlinux-a5541c08.xz kernel image: https://storage.googleapis.com/syzbot-assets/6f8725ad290a/Image-a5541c08.gz.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/aa84169739f7/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+b9c5afe053a08cd29468@syzkaller.appspotmail.com INFO: task kworker/1:2:2221 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:0 pid:2221 ppid:2 flags:0x00000008 Workqueue: gfs_recovery gfs2_recover_func Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5209 [inline] __schedule+0x408/0x594 kernel/sched/core.c:6521 schedule+0x64/0xa4 kernel/sched/core.c:6597 io_schedule+0x38/0xbc kernel/sched/core.c:8741 folio_wait_bit_common+0x430/0x97c mm/filemap.c:1296 folio_wait_bit+0x30/0x40 mm/filemap.c:1440 folio_wait_locked include/linux/pagemap.h:1022 [inline] gfs2_jhead_process_page+0xb4/0x40c fs/gfs2/lops.c:476 gfs2_find_jhead+0x450/0x50c fs/gfs2/lops.c:594 gfs2_recover_func+0x278/0xcc8 fs/gfs2/recovery.c:460 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 INFO: task syz-executor189:3110 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor189 state:D stack:0 pid:3110 ppid:3109 flags:0x00000009 Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5209 [inline] __schedule+0x408/0x594 kernel/sched/core.c:6521 schedule+0x64/0xa4 kernel/sched/core.c:6597 bit_wait+0x18/0x60 kernel/sched/wait_bit.c:199 __wait_on_bit kernel/sched/wait_bit.c:49 [inline] out_of_line_wait_on_bit+0xc8/0x140 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xc0/0x104 fs/gfs2/recovery.c:577 init_journal+0x930/0xcbc fs/gfs2/ops_fstype.c:835 init_inodes+0x74/0x184 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x630/0x874 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1324 gfs2_get_tree+0x30/0xc0 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x40/0x140 fs/super.c:1531 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x890 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffff80000d4a4768 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffff80000d4a4db8 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffff80000d4a4640 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:303 2 locks held by kworker/1:2/2221: #0: ffff0000c028d138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff800015de3d80 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 2 locks held by getty/2758: #0: ffff0000c535f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x28/0x58 drivers/tty/tty_ldisc.c:244 #1: ffff80000f6be2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x19c/0x89c drivers/tty/n_tty.c:2177 1 lock held by syz-executor189/3110: #0: ffff0000cb5ee0e0 (&type->s_umount_key#40/1){+.+.}-{3:3}, at: alloc_super+0xf8/0x430 fs/super.c:228 ============================================= 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4FB21C4332F for ; Sat, 24 Dec 2022 15:19:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:Subject:Message-ID:In-Reply-To: Date:MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Owner; bh=3IRqdcaLEf2rOc3k2bvYtZItjiW984by8bQ5ismSDxc=; b=aMQMznecubx41C O0ot6rAjN08ILMuftkBHwTgwW4BxfHIDZYWrgK599DWM+/LKiJ7qwp/+lj73onz8+55ARoKrdYuSD 933pB5ySozeJ6a8eArKI6k+6cQJ0YfcYz2O2rk2qFpjMJngKIBqUP/PaPUtQki+RCjYuxymvWsAwN svaujU/b+jeCqzmh/YoYJ2jLCApS26HaiL1rESeKFn4mmty+5cpr447m9eowqVW4Z+nEf5Flqcvkv VE5iRC2uJCnIgIHfIIOhyWhOyKgG4PUalqaZKnLc2cZC+N4fL5OUDfpwvVz+qsd0eoZW3fFYJKqz+ bHi0WO0Z3coerrHdMgtQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p96HQ-0010Se-Jf; Sat, 24 Dec 2022 15:17:46 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p90oM-00GfD2-Hi for linux-arm-kernel@bombadil.infradead.org; Sat, 24 Dec 2022 09:27:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:To:From:Subject: Message-ID:In-Reply-To:Date:MIME-Version:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:References; bh=U1UQUd3vyTkUP8x8Sf6RMJ97c9ni0l2jcysvOfEmp2g=; b=NnokovIaUec5xIGDpsukQ4UYWx kyqyznk9tgYaqZbc9yt3uZLwLxcyAyYxCm8/baAsebbqrR7UZjYiJk+gLiG7yiukc9zCaZg+TPqYn d902VFTukB9AyhtF17MKbX1EFDL08A5wi+2Zi3cB0/BtEbbNwPaMQRj52PUAuKMR9+sZJXV2RER/l R3oZlYvnGanVcpetf9uAOsiogtzRDhuZR7+jht8GYeywDsnLs1s5ny5q91Qicej00om6OmPSoXoER vmm1zGWDD2kH09hUOmbRHpF+gd6yj2iCpmfAlL7/hYiEx41dOrDvVlJqOlocSOt+38+vDG00xTksN NBl48BpA==; Received: from mail-il1-f200.google.com ([209.85.166.200]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1p8vlC-00EQrB-2T for linux-arm-kernel@lists.infradead.org; Sat, 24 Dec 2022 04:03:53 +0000 Received: by mail-il1-f200.google.com with SMTP id s2-20020a056e02216200b0030bc3be69e5so3588316ilv.20 for ; Fri, 23 Dec 2022 20:03:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=U1UQUd3vyTkUP8x8Sf6RMJ97c9ni0l2jcysvOfEmp2g=; b=pS8k9iqWYtv+RJ2Na91lZa88kNKfJsD3VR19Wv4KPw1qTGK1QJfiuiQMwO/YLVfKx8 MZUt8J/aEw44kmDznwOcrm8hTU5y4/XYKkd1kv9BSFxHFFY5fgUcQxDSqCI2B+oI0dR7 gN2l0GAqbndpSW6inQLsB37CYjCWqBNgntTsv2Hg2UfiKp/saIhJspcFME1C+W4I9Nrk lB5g4jXcbD3r2llevOX62pBN7zMpDtaLoldkhzc4d7tpiFNhTEaE8wGY+QpE0L2n0I/9 x0W/njNZVVAr3pI3/ZpJG43sqR9Yxjlc9v49g7s0HvLK4os8aUWSaUkoZZgi15VachpC wnZQ== X-Gm-Message-State: AFqh2kq1L4XAzGfRV41e83tzdPATfUQgrd99Codt9Ewvv9en4jsQsBPn 9/SZm29sPYk5jXtcdbLKLdgAFrdzlXkBV/qY+JDFwZiW2rRM X-Google-Smtp-Source: AMrXdXsQ1q0MvPM0cHGlSGHLwvqXS3+yhzNedTL4nqDc2r/iD7KAr4T549QlA7/CB+uevI4qiXcIimnpxSPM/KJmSrLhewoXCyi5 MIME-Version: 1.0 X-Received: by 2002:a02:620e:0:b0:376:2324:bfe1 with SMTP id d14-20020a02620e000000b003762324bfe1mr1078019jac.189.1671854622694; Fri, 23 Dec 2022 20:03:42 -0800 (PST) Date: Fri, 23 Dec 2022 20:03:42 -0800 In-Reply-To: <000000000000aa6d8005f04d3d00@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <000000000000e6ec2805f08afc11@google.com> Subject: Re: [syzbot] [gfs2?] INFO: task hung in gfs2_jhead_process_page From: syzbot To: agruenba@redhat.com, akpm@linux-foundation.org, brauner@kernel.org, broonie@kernel.org, catalin.marinas@arm.com, cluster-devel@redhat.com, ebiederm@xmission.com, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, rpeterso@redhat.com, syzkaller-bugs@googlegroups.com, wangkefeng.wang@huawei.com, will@kernel.org, willy@infradead.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221224_040349_328588_47FACDB5 X-CRM114-Status: UNSURE ( 4.32 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org syzbot has found a reproducer for the following issue on: HEAD commit: a5541c0811a0 Merge branch 'for-next/core' into for-kernelci git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=172de6df880000 kernel config: https://syzkaller.appspot.com/x/.config?x=cbd4e584773e9397 dashboard link: https://syzkaller.appspot.com/bug?extid=b9c5afe053a08cd29468 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=116fc088480000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1756e060480000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/4b7702208fb9/disk-a5541c08.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/9ec0153ec051/vmlinux-a5541c08.xz kernel image: https://storage.googleapis.com/syzbot-assets/6f8725ad290a/Image-a5541c08.gz.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/aa84169739f7/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+b9c5afe053a08cd29468@syzkaller.appspotmail.com INFO: task kworker/1:2:2221 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:0 pid:2221 ppid:2 flags:0x00000008 Workqueue: gfs_recovery gfs2_recover_func Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5209 [inline] __schedule+0x408/0x594 kernel/sched/core.c:6521 schedule+0x64/0xa4 kernel/sched/core.c:6597 io_schedule+0x38/0xbc kernel/sched/core.c:8741 folio_wait_bit_common+0x430/0x97c mm/filemap.c:1296 folio_wait_bit+0x30/0x40 mm/filemap.c:1440 folio_wait_locked include/linux/pagemap.h:1022 [inline] gfs2_jhead_process_page+0xb4/0x40c fs/gfs2/lops.c:476 gfs2_find_jhead+0x450/0x50c fs/gfs2/lops.c:594 gfs2_recover_func+0x278/0xcc8 fs/gfs2/recovery.c:460 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 INFO: task syz-executor189:3110 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor189 state:D stack:0 pid:3110 ppid:3109 flags:0x00000009 Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5209 [inline] __schedule+0x408/0x594 kernel/sched/core.c:6521 schedule+0x64/0xa4 kernel/sched/core.c:6597 bit_wait+0x18/0x60 kernel/sched/wait_bit.c:199 __wait_on_bit kernel/sched/wait_bit.c:49 [inline] out_of_line_wait_on_bit+0xc8/0x140 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xc0/0x104 fs/gfs2/recovery.c:577 init_journal+0x930/0xcbc fs/gfs2/ops_fstype.c:835 init_inodes+0x74/0x184 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x630/0x874 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1324 gfs2_get_tree+0x30/0xc0 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x40/0x140 fs/super.c:1531 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x890 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffff80000d4a4768 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffff80000d4a4db8 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffff80000d4a4640 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:303 2 locks held by kworker/1:2/2221: #0: ffff0000c028d138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff800015de3d80 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 2 locks held by getty/2758: #0: ffff0000c535f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x28/0x58 drivers/tty/tty_ldisc.c:244 #1: ffff80000f6be2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x19c/0x89c drivers/tty/n_tty.c:2177 1 lock held by syz-executor189/3110: #0: ffff0000cb5ee0e0 (&type->s_umount_key#40/1){+.+.}-{3:3}, at: alloc_super+0xf8/0x430 fs/super.c:228 ============================================= _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 From: syzbot Date: Fri, 23 Dec 2022 20:03:42 -0800 Subject: [Cluster-devel] [syzbot] [gfs2?] INFO: task hung in gfs2_jhead_process_page In-Reply-To: <000000000000aa6d8005f04d3d00@google.com> Message-ID: <000000000000e6ec2805f08afc11@google.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit syzbot has found a reproducer for the following issue on: HEAD commit: a5541c0811a0 Merge branch 'for-next/core' into for-kernelci git tree: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci console output: https://syzkaller.appspot.com/x/log.txt?x=172de6df880000 kernel config: https://syzkaller.appspot.com/x/.config?x=cbd4e584773e9397 dashboard link: https://syzkaller.appspot.com/bug?extid=b9c5afe053a08cd29468 compiler: Debian clang version 13.0.1-++20220126092033+75e33f71c2da-1~exp1~20220126212112.63, GNU ld (GNU Binutils for Debian) 2.35.2 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=116fc088480000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1756e060480000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/4b7702208fb9/disk-a5541c08.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/9ec0153ec051/vmlinux-a5541c08.xz kernel image: https://storage.googleapis.com/syzbot-assets/6f8725ad290a/Image-a5541c08.gz.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/aa84169739f7/mount_0.gz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+b9c5afe053a08cd29468 at syzkaller.appspotmail.com INFO: task kworker/1:2:2221 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:2 state:D stack:0 pid:2221 ppid:2 flags:0x00000008 Workqueue: gfs_recovery gfs2_recover_func Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5209 [inline] __schedule+0x408/0x594 kernel/sched/core.c:6521 schedule+0x64/0xa4 kernel/sched/core.c:6597 io_schedule+0x38/0xbc kernel/sched/core.c:8741 folio_wait_bit_common+0x430/0x97c mm/filemap.c:1296 folio_wait_bit+0x30/0x40 mm/filemap.c:1440 folio_wait_locked include/linux/pagemap.h:1022 [inline] gfs2_jhead_process_page+0xb4/0x40c fs/gfs2/lops.c:476 gfs2_find_jhead+0x450/0x50c fs/gfs2/lops.c:594 gfs2_recover_func+0x278/0xcc8 fs/gfs2/recovery.c:460 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:863 INFO: task syz-executor189:3110 blocked for more than 143 seconds. Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor189 state:D stack:0 pid:3110 ppid:3109 flags:0x00000009 Call trace: __switch_to+0x180/0x298 arch/arm64/kernel/process.c:555 context_switch kernel/sched/core.c:5209 [inline] __schedule+0x408/0x594 kernel/sched/core.c:6521 schedule+0x64/0xa4 kernel/sched/core.c:6597 bit_wait+0x18/0x60 kernel/sched/wait_bit.c:199 __wait_on_bit kernel/sched/wait_bit.c:49 [inline] out_of_line_wait_on_bit+0xc8/0x140 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xc0/0x104 fs/gfs2/recovery.c:577 init_journal+0x930/0xcbc fs/gfs2/ops_fstype.c:835 init_inodes+0x74/0x184 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x630/0x874 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x1e8/0x2a0 fs/super.c:1324 gfs2_get_tree+0x30/0xc0 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x40/0x140 fs/super.c:1531 do_new_mount+0x1dc/0x4e4 fs/namespace.c:3040 path_mount+0x358/0x890 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x2c4/0x3c4 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall arch/arm64/kernel/syscall.c:52 [inline] el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/11: #0: ffff80000d4a4768 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/12: #0: ffff80000d4a4db8 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x3c/0x450 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/27: #0: ffff80000d4a4640 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x4/0x48 include/linux/rcupdate.h:303 2 locks held by kworker/1:2/2221: #0: ffff0000c028d138 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x270/0x504 kernel/workqueue.c:2262 #1: ffff800015de3d80 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x29c/0x504 kernel/workqueue.c:2264 2 locks held by getty/2758: #0: ffff0000c535f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x28/0x58 drivers/tty/tty_ldisc.c:244 #1: ffff80000f6be2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x19c/0x89c drivers/tty/n_tty.c:2177 1 lock held by syz-executor189/3110: #0: ffff0000cb5ee0e0 (&type->s_umount_key#40/1){+.+.}-{3:3}, at: alloc_super+0xf8/0x430 fs/super.c:228 =============================================