Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp532878rdb; Mon, 29 Jan 2024 09:32:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCEg62vu9GJDGgjydD+8TIM+jFCtsj1Ax+jpqnZxJb6cCroEIbW9ccEr8DIakJCBKiG9bg X-Received: by 2002:ac8:7e92:0:b0:42a:b18d:ef13 with SMTP id w18-20020ac87e92000000b0042ab18def13mr416876qtj.9.1706549525976; Mon, 29 Jan 2024 09:32:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706549525; cv=pass; d=google.com; s=arc-20160816; b=Eq2pGRFutjSai3/u9kDnZ18xGQ/0Cb4biRn4fjEm2770hDOQ8JVLAtu6e0joT9HCKz HWE7wofqfS36G/7e2AzPkqqUrODl+910m5s3veSThcYrAEW3CGnD/BfIsteMWCVlxN9N ouXCll7fCVjNYGJxmW7jPAOj2ExhYn0wFZec3SNxzjYnLPfvXPzOzVHjIyx4Vg+hG4SJ lxLAPzF0ekJe986XvPg/JjWCMFjJX6oEfNDGy3FdZwfNVeraMBKXBBop8Dn9lzzD/UMU r90AnJCPixg4CNbPXEGZIVTXeYwRvzY59zPlAZN8s8p5o6JAKisJOJfkfJmiTKWQBJM4 1Hbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=Do+30ZjldJkOOFALkF49apSqQIhe35ps7eq5uqUhCqQ=; fh=LfwnH4WWjzxkSjZKoFah/sHYpAND4N6Qu8WW9D0n9eI=; b=F0tkGlNFwuwIvz/jIY29La0qArpz++shQX5Vf3HO1HzYYv7yNMMAoClBnQ9q91zLl7 PU8cpxx5wQJGyDkn5zBrEDffeU18I2VNdx9ZJ8lsQiAasHMuv1qchd6NEbPnRYqgJASv qaK5+B0hmNEn42PgGzSr6bpymhfbfzjDafH7cAKtOnWOym+S9BUYHlFL50lC07dUC+/9 Iqhj+goeixqCmwL1kaPl5EmmMahBRfqgoezaaxykdxNuMTNvlB3C8j9hjiIU6Wz+AcwV +g6BIh7TzbnxeDAW7NObTmFDqamZlcquhurqxs37qfyIxiKsJQvhdhwXIhtOBRbwzM7B FjcA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zz75F49i; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-ext4+bounces-997-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-ext4+bounces-997-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id c11-20020ac87dcb000000b0042a8aab28fasi6127812qte.343.2024.01.29.09.32.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 09:32:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4+bounces-997-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zz75F49i; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-ext4+bounces-997-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-ext4+bounces-997-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A8DBF1C23275 for ; Mon, 29 Jan 2024 17:32:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 22A3076C9F; Mon, 29 Jan 2024 17:31:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Zz75F49i" X-Original-To: linux-ext4@vger.kernel.org Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A8F376C63; Mon, 29 Jan 2024 17:31:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706549507; cv=none; b=jOSPGbCev5C1BdIB/vpGwLNzTrDSG6Ah2LsTLy+HBoFiSvPqaSpOmkNzrDWO3cy+c2szPGrRuAtOG/cfryAYyPsEUiM3OxRP2XqIPdZ5/0anq+DXoRqL704tFJAi/RPnMkJg8LP+mfe+BtdW4CNC+hflvYJjBpFq6cO2X+1RwAk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706549507; c=relaxed/simple; bh=yihK/WiheHr+M7FeWjmo/5MSPccdhJfgnWNCvCFcUaY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=UsrHvF68cdUeVEMKGjtFOpDthIs92bVhbvLX9LOo7nitUKOuD8lTuNsKO9ijT3DtT/5Ql3zBkpQpZEZFNQmhWS6OcnRS4lHjCh1GC7XECRBbUDFfwKZhzTPvarCczmEjW13f9sauLU1YDqSaEcRO9YThLHidyI1yvBYL+0jAJFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Zz75F49i; arc=none smtp.client-ip=209.85.167.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-510f37d673aso1978748e87.0; Mon, 29 Jan 2024 09:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706549503; x=1707154303; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Do+30ZjldJkOOFALkF49apSqQIhe35ps7eq5uqUhCqQ=; b=Zz75F49i75aTX5ChQK2XJGPVKK7q25hQkYkX07ToOxPXk0t+p+1kk+GEanMWF5zxdb BZhfUKJBvWJFLlLmwHiMvRw4NkQKkRg9AEIkvukuzWx+1Lzrdr9YyTmh2F6WEgzyoruN xj1eaSRT3EiYS9uz88QNZ3FQq1BFot7dO6j1tO5ZJOWM0EfywpC1gFvjS9AHFRWRVVUF OgOkwlD4oy7oIOjDz4g7hLbke0bFDeJFNhc8exzMJfNXk0DK4D1KOA1sfyRhbpC8O5Lh 4po+2Oy+UxwmgyJeiLuz6Lq9W9OSBI7YG2dBNVal3d4sp08uijQFjR6mdmUiEGsYmCIA 8yCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706549503; x=1707154303; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Do+30ZjldJkOOFALkF49apSqQIhe35ps7eq5uqUhCqQ=; b=PA8EfrgI9ASW9XbEKnMEJiF5YtOgoAK/5wWj0K1GqebK6TyXL+Ep8lQamoPjIaCBDy RC643toyfMZ0POIpPPBq1mWCWR6rIgipnRFQ+NSwpAzmQ3DXfPGtVJAQif5Mx6dEbFiR DhDNg4bGFLem258TjfVEcfsgpmQMJGTWCzXhCTG3KEM4Epz9s6DkdqmEhy3ge1ZgvURz M+UE4+5k5gNZ5NVYonhewCw34VZBZkA/HY6J/cJ1GO7Hk19IV21LVJD65kaS8FdH+uAA w2FoeONCheqwk9u/66mLixNSupEu0wUyu0TyL7z/YAVebcX3xB8bxLA+O91dPImzT8zC vD3g== X-Gm-Message-State: AOJu0Ywt57Xb2ygZk/c0eF21G0PFFnEEIV8Jetkc/jj0B4NNKPEBCq8I 4NYFgDSBSxl07JmdauoCb7KKXSOFWfxJSaLQJMBZxs5d7r5x7LdF+zh43civxFdsKigF2CpZ9rR UH6b8S1lBe+xxGML2nbMjHYsHO2s= X-Received: by 2002:ac2:4911:0:b0:510:b1b:5db3 with SMTP id n17-20020ac24911000000b005100b1b5db3mr4808091lfi.67.1706549502982; Mon, 29 Jan 2024 09:31:42 -0800 (PST) Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <00000000000047d819061004ad6c@google.com> In-Reply-To: <00000000000047d819061004ad6c@google.com> From: Ryusuke Konishi Date: Tue, 30 Jan 2024 02:31:25 +0900 Message-ID: Subject: Re: [syzbot] [ext4?] [nilfs?] INFO: task hung in migrate_pages_batch To: syzbot Cc: adilger.kernel@dilger.ca, akpm@linux-foundation.org, linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-nilfs@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu, willy@infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 29, 2024 at 2:15=E2=80=AFAM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit: 0802e17d9aca Merge branch 'for-next/core' into for-kernel= ci > 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=3D10832107e8000= 0 > kernel config: https://syzkaller.appspot.com/x/.config?x=3Df9616b7e18057= 7ba > dashboard link: https://syzkaller.appspot.com/bug?extid=3Dee2ae68da3b22d0= 4cd8d > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Deb= ian) 2.40 > userspace arch: arm64 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=3D163043bfe80= 000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=3D1306c1e3e8000= 0 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/e84e45f27a78/dis= k-0802e17d.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/a8b16d2fc3b1/vmlinu= x-0802e17d.xz > kernel image: https://storage.googleapis.com/syzbot-assets/4c7ac36b3de1/I= mage-0802e17d.gz.xz > mounted in repro: https://storage.googleapis.com/syzbot-assets/e31cee0eb9= 27/mount_10.gz > > IMPORTANT: if you fix the issue, please add the following tag to the comm= it: > Reported-by: syzbot+ee2ae68da3b22d04cd8d@syzkaller.appspotmail.com > > INFO: task syz-executor439:7446 blocked for more than 143 seconds. > Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > task:syz-executor439 state:D stack:0 pid:7446 tgid:7429 ppid:6155 = flags:0x0000000d > Call trace: > __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 > context_switch kernel/sched/core.c:5376 [inline] > __schedule+0x1354/0x2360 kernel/sched/core.c:6688 > __schedule_loop kernel/sched/core.c:6763 [inline] > schedule+0xb8/0x19c kernel/sched/core.c:6778 > io_schedule+0x8c/0x12c kernel/sched/core.c:8998 > folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1273 > folio_wait_bit+0x30/0x40 mm/filemap.c:1412 > folio_wait_writeback+0x14c/0x3bc mm/page-writeback.c:3065 > migrate_folio_unmap mm/migrate.c:1191 [inline] > migrate_pages_batch+0xc1c/0x25b0 mm/migrate.c:1680 > migrate_pages_sync mm/migrate.c:1873 [inline] > migrate_pages+0x1bf8/0x3114 mm/migrate.c:1955 > do_mbind mm/mempolicy.c:1344 [inline] > kernel_mbind mm/mempolicy.c:1486 [inline] > __do_sys_mbind mm/mempolicy.c:1560 [inline] > __se_sys_mbind mm/mempolicy.c:1556 [inline] > __arm64_sys_mbind+0x1410/0x18e8 mm/mempolicy.c:1556 > __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] > invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 > el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 > do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 > el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 > el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 > el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 > INFO: task segctord:7440 blocked for more than 143 seconds. > Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > task:segctord state:D stack:0 pid:7440 tgid:7440 ppid:2 = flags:0x00000008 > Call trace: > __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 > context_switch kernel/sched/core.c:5376 [inline] > __schedule+0x1354/0x2360 kernel/sched/core.c:6688 > __schedule_loop kernel/sched/core.c:6763 [inline] > schedule+0xb8/0x19c kernel/sched/core.c:6778 > io_schedule+0x8c/0x12c kernel/sched/core.c:8998 > folio_wait_bit_common+0x65c/0xb90 mm/filemap.c:1273 > __folio_lock+0x2c/0x3c mm/filemap.c:1611 > folio_lock include/linux/pagemap.h:1031 [inline] > nilfs_lookup_dirty_data_buffers+0x2b0/0x7e8 fs/nilfs2/segment.c:727 > nilfs_segctor_scan_file+0x1e4/0xcdc fs/nilfs2/segment.c:1084 > nilfs_segctor_collect_blocks fs/nilfs2/segment.c:1206 [inline] > nilfs_segctor_collect fs/nilfs2/segment.c:1533 [inline] > nilfs_segctor_do_construct+0x16ec/0x6560 fs/nilfs2/segment.c:2081 > nilfs_segctor_construct+0x110/0x768 fs/nilfs2/segment.c:2415 > nilfs_segctor_thread_construct fs/nilfs2/segment.c:2523 [inline] > nilfs_segctor_thread+0x3d4/0xd74 fs/nilfs2/segment.c:2606 > kthread+0x288/0x310 kernel/kthread.c:388 > ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:857 > INFO: task syz-executor439:7442 blocked for more than 143 seconds. > Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > task:syz-executor439 state:D stack:0 pid:7442 tgid:7441 ppid:6156 = flags:0x0000000d > Call trace: > __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 > context_switch kernel/sched/core.c:5376 [inline] > __schedule+0x1354/0x2360 kernel/sched/core.c:6688 > __schedule_loop kernel/sched/core.c:6763 [inline] > schedule+0xb8/0x19c kernel/sched/core.c:6778 > wb_wait_for_completion+0x154/0x29c fs/fs-writeback.c:192 > sync_inodes_sb+0x220/0x944 fs/fs-writeback.c:2758 > sync_inodes_one_sb+0x58/0x70 fs/sync.c:77 > iterate_supers+0xd4/0x188 fs/super.c:971 > ksys_sync+0xb4/0x1cc fs/sync.c:102 > __arm64_sys_sync+0x14/0x24 fs/sync.c:113 > __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] > invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 > el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 > do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 > el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 > el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 > el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 > INFO: task syz-executor439:7445 blocked for more than 143 seconds. > Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > task:syz-executor439 state:D stack:0 pid:7445 tgid:7444 ppid:6160 = flags:0x0000000d > Call trace: > __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 > context_switch kernel/sched/core.c:5376 [inline] > __schedule+0x1354/0x2360 kernel/sched/core.c:6688 > __schedule_loop kernel/sched/core.c:6763 [inline] > schedule+0xb8/0x19c kernel/sched/core.c:6778 > schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6835 > rwsem_down_write_slowpath+0xcfc/0x1aa0 kernel/locking/rwsem.c:1178 > __down_write_common kernel/locking/rwsem.c:1306 [inline] > __down_write kernel/locking/rwsem.c:1315 [inline] > down_write+0xb4/0xc0 kernel/locking/rwsem.c:1580 > bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 > sync_inodes_one_sb+0x58/0x70 fs/sync.c:77 > iterate_supers+0xd4/0x188 fs/super.c:971 > ksys_sync+0xb4/0x1cc fs/sync.c:102 > __arm64_sys_sync+0x14/0x24 fs/sync.c:113 > __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] > invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 > el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 > do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 > el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 > el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 > el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 > INFO: task syz-executor439:7450 blocked for more than 143 seconds. > Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > task:syz-executor439 state:D stack:0 pid:7450 tgid:7448 ppid:6153 = flags:0x0000000d > Call trace: > __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 > context_switch kernel/sched/core.c:5376 [inline] > __schedule+0x1354/0x2360 kernel/sched/core.c:6688 > __schedule_loop kernel/sched/core.c:6763 [inline] > schedule+0xb8/0x19c kernel/sched/core.c:6778 > schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6835 > rwsem_down_write_slowpath+0xcfc/0x1aa0 kernel/locking/rwsem.c:1178 > __down_write_common kernel/locking/rwsem.c:1306 [inline] > __down_write kernel/locking/rwsem.c:1315 [inline] > down_write+0xb4/0xc0 kernel/locking/rwsem.c:1580 > bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 > sync_inodes_one_sb+0x58/0x70 fs/sync.c:77 > iterate_supers+0xd4/0x188 fs/super.c:971 > ksys_sync+0xb4/0x1cc fs/sync.c:102 > __arm64_sys_sync+0x14/0x24 fs/sync.c:113 > __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] > invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 > el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 > do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 > el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 > el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 > el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 > INFO: task syz-executor439:7451 blocked for more than 143 seconds. > Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > task:syz-executor439 state:D stack:0 pid:7451 tgid:7449 ppid:6154 = flags:0x0000000d > Call trace: > __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 > context_switch kernel/sched/core.c:5376 [inline] > __schedule+0x1354/0x2360 kernel/sched/core.c:6688 > __schedule_loop kernel/sched/core.c:6763 [inline] > schedule+0xb8/0x19c kernel/sched/core.c:6778 > schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6835 > rwsem_down_write_slowpath+0xcfc/0x1aa0 kernel/locking/rwsem.c:1178 > __down_write_common kernel/locking/rwsem.c:1306 [inline] > __down_write kernel/locking/rwsem.c:1315 [inline] > down_write+0xb4/0xc0 kernel/locking/rwsem.c:1580 > bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 > sync_inodes_one_sb+0x58/0x70 fs/sync.c:77 > iterate_supers+0xd4/0x188 fs/super.c:971 > ksys_sync+0xb4/0x1cc fs/sync.c:102 > __arm64_sys_sync+0x14/0x24 fs/sync.c:113 > __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] > invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 > el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 > do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 > el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 > el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 > el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 > INFO: task syz-executor439:7460 blocked for more than 143 seconds. > Not tainted 6.7.0-rc8-syzkaller-g0802e17d9aca #0 > "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. > task:syz-executor439 state:D stack:0 pid:7460 tgid:7456 ppid:6161 = flags:0x0000000d > Call trace: > __switch_to+0x314/0x560 arch/arm64/kernel/process.c:556 > context_switch kernel/sched/core.c:5376 [inline] > __schedule+0x1354/0x2360 kernel/sched/core.c:6688 > __schedule_loop kernel/sched/core.c:6763 [inline] > schedule+0xb8/0x19c kernel/sched/core.c:6778 > schedule_preempt_disabled+0x18/0x2c kernel/sched/core.c:6835 > rwsem_down_write_slowpath+0xcfc/0x1aa0 kernel/locking/rwsem.c:1178 > __down_write_common kernel/locking/rwsem.c:1306 [inline] > __down_write kernel/locking/rwsem.c:1315 [inline] > down_write+0xb4/0xc0 kernel/locking/rwsem.c:1580 > bdi_down_write_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > sync_inodes_sb+0x208/0x944 fs/fs-writeback.c:2756 > sync_inodes_one_sb+0x58/0x70 fs/sync.c:77 > iterate_supers+0xd4/0x188 fs/super.c:971 > ksys_sync+0xb4/0x1cc fs/sync.c:102 > __arm64_sys_sync+0x14/0x24 fs/sync.c:113 > __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] > invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 > el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 > do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 > el0_svc+0x54/0x158 arch/arm64/kernel/entry-common.c:678 > el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 > el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:595 > > Showing all locks held in the system: > 1 lock held by khungtaskd/29: > #0: ffff80008e6c48c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0= xc/0x44 include/linux/rcupdate.h:300 > 2 locks held by kworker/u4:3/41: > #0: ffff0000c1c3a138 ((wq_completion)writeback){+.+.}-{0:0}, at: process= _one_work+0x560/0x1204 kernel/workqueue.c:2600 > #1: ffff8000943f7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0= }, at: process_one_work+0x5a0/0x1204 kernel/workqueue.c:2602 > 2 locks held by getty/5863: > #0: ffff0000d255f0a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+= 0x3c/0x4c drivers/tty/tty_ldsem.c:340 > #1: ffff800094e702f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_r= ead+0x41c/0x1228 drivers/tty/n_tty.c:2201 > 1 lock held by segctord/7440: > #0: ffff0000c7ade2a0 (&nilfs->ns_segctor_sem){++++}-{3:3}, at: nilfs_tra= nsaction_lock+0x178/0x33c fs/nilfs2/segment.c:357 > 2 locks held by syz-executor439/7442: > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: __super_l= ock fs/super.c:58 [inline] > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: super_loc= k+0x160/0x328 fs/super.c:117 > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_w= rite_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inode= s_sb+0x208/0x944 fs/fs-writeback.c:2756 > 2 locks held by syz-executor439/7445: > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: __super_l= ock fs/super.c:58 [inline] > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: super_loc= k+0x160/0x328 fs/super.c:117 > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_w= rite_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inode= s_sb+0x208/0x944 fs/fs-writeback.c:2756 > 2 locks held by syz-executor439/7450: > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: __super_l= ock fs/super.c:58 [inline] > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: super_loc= k+0x160/0x328 fs/super.c:117 > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_w= rite_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inode= s_sb+0x208/0x944 fs/fs-writeback.c:2756 > 2 locks held by syz-executor439/7451: > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: __super_l= ock fs/super.c:58 [inline] > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: super_loc= k+0x160/0x328 fs/super.c:117 > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_w= rite_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inode= s_sb+0x208/0x944 fs/fs-writeback.c:2756 > 2 locks held by syz-executor439/7460: > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: __super_l= ock fs/super.c:58 [inline] > #0: ffff0000c5e920e0 (&type->s_umount_key#64){++++}-{3:3}, at: super_loc= k+0x160/0x328 fs/super.c:117 > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: bdi_down_w= rite_wb_switch_rwsem fs/fs-writeback.c:364 [inline] > #1: ffff0000c9d147d0 (&bdi->wb_switch_rwsem){+.+.}-{3:3}, at: sync_inode= s_sb+0x208/0x944 fs/fs-writeback.c:2756 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > --- > 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. > > If the report is already addressed, let syzbot know by replying with: > #syz fix: exact-commit-title > > If you want syzbot to run the reproducer, reply with: > #syz test: git://repo/address.git branch-or-commit-hash > If you attach or paste a git patch, syzbot will apply it before testing. > > If you want to overwrite report's subsystems, reply with: > #syz set subsystems: new-subsystem > (See the list of subsystem names on the web dashboard) > > If the report is a duplicate of another one, reply with: > #syz dup: exact-subject-of-another-report > > If you want to undo deduplication, reply with: > #syz undup The hang of this report seems to be due to an issue of nilfs2 side. I will fix it. Ryusuke Konishi