From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.161.70 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796047499; b=Oi2PuSDgFJORhTuuVIGJkAWL1ltBaFMEE0pXZ5f2slktp1W1qrlTcUPBP/U4uenVPZY5 JYBrmbY5Ep9YiM73QFdhZjc6uh4csNJwqgwb9hCLr6P778E4ZRoorm7OMdwB1fuN419Kc xCV5jX6uFIJDk8oSfVMHqf4wfXl0OJSkGTNUMssUA3RzzkW/ZOkLskjycUFBrAbosbfWw o75CMAFtR+3BfqzjMsLLY/3CeW7NUcbYAAIX/XzgD+HRh10ECd1wwsUHw161/F9jE/L3F GZgqYBlW8puFmpKSAy/1edmpKkAsd8NbACWLv9O/lFxxdmlWw5BFiOE3WzsTpFGo1sA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796047499; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:MIME-Version:X-Received:Date: X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID: Subject:From:To:Content-Type; bh=9cnRYdCz1yRa79L948Ev0DaSjt9zeCpY1KWXbMQtvvc=; b=JqIev4UkAar+Kz0bTAuRqLWpXT4WeLRwaA8AnWwORplhWUdidnK4J41sY/WUVKLCjt8p KZkQ6457YUC1jxuhJCVVMVDWhm2huyzfg2bc3Svd9OCVLybAH/gmwCOcQxVnDMKzJbpBx k0r+bwGaoC3fGsSwhQs2tgEvHSCmydbBolLMKYjar3AfagJdwQoNKHkQljaKZz3EygCZH SS6i5UP55YIFTwfD8LCFC3H+ld1FidGzFy0m8oE8AN/pW9q7E/oBPIVh5EJqSEFFIp/zg eAPw0Z/sHUcRk6XjPFL4NliPZdoC/JFBPJZL6ABm9WZIK68VScYSEhcE4rgXbpPzyUQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.remote-ip=209.85.161.70 Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3F967606A329 for ; Mon, 30 Nov 2026 14:04:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3F967606A329 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-oo1-f70.google.com with SMTP id 006d021491bc7-71ade585746so4764775eaf.0 for ; Mon, 30 Nov 2026 06:04:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796047498; x=1796652298; h=content-type:to:from:subject:message-id:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=9cnRYdCz1yRa79L948Ev0DaSjt9zeCpY1KWXbMQtvvc=; b=f9b8V8+aFmx3AkiZ19N8Pt1/JaOI2hDZtLnR5oAtc3sdg7BKL6nRzmK7NED3IuoTUk RgXrDU8SyzaRvuzkcH4NJ4XF2jqW4HheNiQAQki0+f4QsbFE+pSqkpR+rRHB7JNXM5+T Aa7cDdXhSMZK4KdqONJUn85JZdGV9KXxBTpbeEEoQ3hcIBowaJjDt/6g35DFkpGqpt+L wGqhbacwmFgp2uasZ2k8ODdhT+RqMcBP7YJfmHFqHIaLSUZeQg3JNjXyPDZwYfNyZpKA h96l+8lwLup9t8EYAiZ+BUmqE7FNTFPAbONObKSZQbaphgzLX2Urtr09Pz9z+CTDbBQe OPEQ== X-Forwarded-Encrypted: i=1; AL+hErGqB3UU/AaVmbESOanMhnK1sUQwzxX6zjAiMy52SsLfQK73mUVNrNZCeUxsTGWzQSIl/KrXmXLbcAtT@vger.kernel.org X-Gm-Message-State: APuU4Z/ERzSBmrlmJE/m9ypgbTOqSgzDiEfN7zUS522YLsQKLGbYKyfL QudbYCLNlFhmMM4+SxdWWCWC2zvEpaK4FducJ6g5eaBeipMVcRLbVmrkuemPxE2JroUWIsD8xqK bPxARYL8i8HDtrPwYiZn1QniMOQBgaxBc8roGPDYz/3zM6S5/8641At9HRfQ= X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Received: by 2002:a05:6820:1501:b0:71a:e4a8:bed0 with SMTP id 006d021491bc7-71b395c0ce0mr25686879eaf.90.1796047498163; Mon, 30 Nov 2026 06:04:58 -0800 (PST) Date: Mon, 30 Nov 2026 06:04:58 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6b0d828a.3ba11d86.1c9c77.000e.GAE@google.com> Subject: [syzbot] [ext4?] INFO: task hung in jbd2_log_do_checkpoint From: syzbot To: jack@suse.cz, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, tytso@mit.edu Content-Type: text/plain; charset="UTF-8" Hello, syzbot found the following issue on: HEAD commit: 3fdeb5ad9354 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=170d5903580000 kernel config: https://syzkaller.appspot.com/x/.config?x=be66ed143fccf867 dashboard link: https://syzkaller.appspot.com/bug?extid=2cc28770f99213896a7c compiler: Debian clang version 22.1.8 (1~deb13u5), Debian LLD 22.1.8 userspace arch: arm64 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=112808cd580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=152808cd580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/ccee81d6dbde/disk-3fdeb5ad.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/90d430ca3943/vmlinux-3fdeb5ad.xz kernel image: https://storage.googleapis.com/syzbot-assets/b5a239b08fe1/Image-3fdeb5ad.gz.xz mounted in repro: https://storage.googleapis.com/syzbot-assets/f4b25ccb88ca/mount_0.gz fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=162808cd580000) The issue was bisected by AI to: commit 3f079114bf522f27f3680238b6429f3dd45535b6 Author: Jan Kara Date: Tue Feb 28 05:13:19 2023 +0000 ext4: Convert data=journal writeback to use ext4_writepages() reasoning: https://syzkaller.appspot.com/ai_job?id=88a94d5a-3950-4cc5-bd87-d0e2eef13543 AI-generated root cause summary: In data=journal mode, ext4_do_writepages() calls mpage_prepare_extent_to_map() while accumulating writeback bios in mpd->io_submit.io_bio and only submits them via ext4_io_submit() after mpage_prepare_extent_to_map() returns. Inside mpage_prepare_extent_to_map(), mpage_submit_folio() marks folios with PG_writeback and queues them into mpd->io_submit.io_bio, while the folio can remain dirty (via mpage_journal_page_buffers() -> ext4_dirty_journalled_data() or folio_redirty_for_writepage() in ext4_bio_write_folio()). A subsequent iteration of mpage_prepare_extent_to_map() calls ext4_journal_ensure_credits() without first submitting mpd->io_submit.io_bio, which can restart the handle (jbd2__journal_restart() -> jbd2_log_do_checkpoint()) and block in jbd2_log_wait_commit() waiting for kjournald2 to commit. Meanwhile, kjournald2 in ext4_journalled_submit_inode_data_buffers() -> writeback_iter() -> folio_prepare_writeback() blocks in folio_wait_writeback() waiting for PG_writeback on the folio whose bio is still held unsubmitted by the writeback worker, deadlocking writeback and unmount. full analysis: https://syzkaller.appspot.com/x/ai_root_cause?x=2cc28770f99213896a7c IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+2cc28770f99213896a7c@syzkaller.appspotmail.com The bisection result may be wrong. If you agree with it, please also add: Fixes: 3f079114bf52 ("ext4: Convert data=journal writeback to use ext4_writepages()") INFO: task kworker/u8:5:142 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u8:5 state:D stack:0 pid:142 tgid:142 ppid:2 task_flags:0x4248060 flags:0x00000010 Workqueue: writeback wb_workfn (flush-7:0) Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5584 [inline] __schedule+0x13a0/0x2bd4 kernel/sched/core.c:7386 __schedule_loop kernel/sched/core.c:7463 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7478 jbd2_log_wait_commit+0x240/0x414 fs/jbd2/journal.c:687 jbd2_log_do_checkpoint+0x7d0/0xac4 fs/jbd2/checkpoint.c:230 __jbd2_log_wait_for_space+0x240/0x390 fs/jbd2/checkpoint.c:91 add_transaction_credits fs/jbd2/transaction.c:279 [inline] start_this_handle+0xdc0/0x1bc0 fs/jbd2/transaction.c:403 jbd2__journal_restart+0x1dc/0x624 fs/jbd2/transaction.c:797 ext4_journal_restart fs/ext4/ext4_jbd2.h:267 [inline] ext4_journal_ensure_credits fs/ext4/ext4_jbd2.h:314 [inline] mpage_prepare_extent_to_map+0x644/0x13bc fs/ext4/inode.c:2788 ext4_do_writepages+0x9ac/0x3618 fs/ext4/inode.c:3018 ext4_writepages+0x198/0x2dc fs/ext4/inode.c:3166 do_writepages+0x284/0x47c mm/page-writeback.c:2562 __writeback_single_inode+0x144/0x1634 fs/fs-writeback.c:1809 writeback_sb_inodes+0x790/0x15f4 fs/fs-writeback.c:2120 wb_writeback+0x3bc/0xd40 fs/fs-writeback.c:2305 wb_do_writeback fs/fs-writeback.c:2473 [inline] wb_workfn+0x318/0xc78 fs/fs-writeback.c:2518 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 INFO: task syz-executor:4858 blocked for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:0 pid:4858 tgid:4858 ppid:1 task_flags:0x400140 flags:0x00800011 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5584 [inline] __schedule+0x13a0/0x2bd4 kernel/sched/core.c:7386 __schedule_loop kernel/sched/core.c:7463 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7478 wb_wait_for_completion+0x15c/0x210 fs/fs-writeback.c:227 __writeback_inodes_sb_nr+0x1d0/0x23c fs/fs-writeback.c:2975 writeback_inodes_sb_nr fs/fs-writeback.c:2992 [inline] writeback_inodes_sb+0x78/0x8c fs/fs-writeback.c:3007 sync_filesystem+0xa0/0x210 fs/sync.c:54 generic_shutdown_super+0x7c/0x2c0 fs/super.c:702 kill_block_super+0x48/0xa4 fs/super.c:1852 ext4_kill_sb+0x68/0xa8 fs/ext4/super.c:7578 deactivate_locked_super+0xcc/0x128 fs/super.c:558 deactivate_super+0xd4/0xf4 fs/super.c:586 cleanup_mnt+0x190/0x220 fs/namespace.c:1396 __cleanup_mnt+0x20/0x30 fs/namespace.c:1403 task_work_run+0x1cc/0x25c kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:70 [inline] exit_to_user_mode_loop+0x10c/0x17c kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] arm64_syscall_exit_to_user_mode arch/arm64/kernel/entry-common.c:147 [inline] el0_svc+0x12c/0x1d8 arch/arm64/kernel/entry-common.c:798 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 INFO: task jbd2/loop0-8:4942 blocked in I/O wait for more than 143 seconds. Not tainted syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:jbd2/loop0-8 state:D stack:0 pid:4942 tgid:4942 ppid:2 task_flags:0x240040 flags:0x00000010 Call trace: __switch_to+0x2b4/0x6e4 arch/arm64/kernel/process.c:792 (T) context_switch kernel/sched/core.c:5584 [inline] __schedule+0x13a0/0x2bd4 kernel/sched/core.c:7386 __schedule_loop kernel/sched/core.c:7463 [inline] schedule+0x13c/0x20c kernel/sched/core.c:7478 io_schedule+0x1c/0xe0 kernel/sched/core.c:8150 folio_wait_bit_common+0x69c/0xb38 mm/filemap.c:1327 folio_wait_bit+0x30/0x40 mm/filemap.c:1483 folio_wait_writeback+0x9c/0xf8 mm/page-writeback.c:3064 folio_prepare_writeback mm/page-writeback.c:2391 [inline] writeback_get_folio mm/page-writeback.c:2427 [inline] writeback_iter+0x7c0/0xfa4 mm/page-writeback.c:2520 ext4_journalled_submit_inode_data_buffers fs/ext4/super.c:586 [inline] ext4_journal_submit_inode_data_buffers+0x1dc/0x3e4 fs/ext4/super.c:600 journal_submit_data_buffers fs/jbd2/commit.c:250 [inline] jbd2_journal_commit_transaction+0xb84/0x4e80 fs/jbd2/commit.c:572 kjournald2+0x2ec/0x5dc fs/jbd2/journal.c:200 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 Showing all locks held in the system: locks held by kworker/u8:1/14: 3, last CPU#0: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff80008fa97c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff80008fa97c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000c952ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000c952ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000c952ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by khungtaskd/32: 1, on CPU#0: #0: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x4c/0x188 kernel/locking/lockdep.c:6871 locks held by kworker/u8:2/42: 3, last CPU#1: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800090fe7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800090fe7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000cf86ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000cf86ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000cf86ccd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by kworker/u8:3/43: 3, last CPU#1: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800090ff7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800090ff7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000d5884cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000d5884cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000d5884cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by kworker/u9:0/52: 3, last CPU#0: #0: ffff0000c37db948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c37db948 ((wq_completion)hci2){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800092097c20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800092097c20 ((work_completion)(&hdev->cmd_sync_work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000ec1f0ea0 (&hdev->req_lock){+.+.}-{4:4}, at: hci_cmd_sync_work+0x1b0/0x380 net/bluetooth/hci_sync.c:339 locks held by kworker/u8:4/61: 3, last CPU#0: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800092177c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800092177c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000dc6d0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000dc6d0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000dc6d0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by kworker/u8:5/142: 3, last CPU#1: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800093037c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800093037c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000d0d44cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000d0d44cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000d0d44cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by kworker/u8:6/1164: 3, last CPU#0: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800094967c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800094967c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000f1e80cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000f1e80cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000f1e80cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by kworker/u8:7/3558: 3, last CPU#1: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff80009b317c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff80009b317c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000f7e34cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000f7e34cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000f7e34cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by getty/4494: 2, last CPU#0: #0: ffff0000cdda00a0 (&tty->ldisc_sem){++++}-{0:0}, at: ldsem_down_read+0x3c/0x4c drivers/tty/tty_ldsem.c:340 #1: ffff8000932ee2e8 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x350/0xffc drivers/tty/n_tty.c:2211 locks held by syz-executor/4858: 1, last CPU#0: #0: ffff0000d0238100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000d0238100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000d0238100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by syz-executor/4962: 1, last CPU#0: #0: ffff0000cedde100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000cedde100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000cedde100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by syz-executor/5009: 1, last CPU#1: #0: ffff0000c757c100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000c757c100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000c757c100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by syz-executor/5052: 1, last CPU#0: #0: ffff0000d262c100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000d262c100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000d262c100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by kworker/u8:8/5077: 3, last CPU#0: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff80009a1b7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff80009a1b7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000d2594cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000d2594cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000d2594cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by syz-executor/5094: 1, last CPU#0: #0: ffff0000d9bba100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000d9bba100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000d9bba100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by syz-executor/5141: 1, last CPU#0: #0: ffff0000cfeca100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000cfeca100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000cfeca100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by kworker/u8:10/5185: 3, last CPU#0: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800099ef7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800099ef7c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000f4524cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000f4524cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000f4524cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by syz-executor/5188: 1, last CPU#0: #0: ffff0000f4b28100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000f4b28100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000f4b28100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by syz-executor/5238: 1, last CPU#0: #0: ffff0000cfd68100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000cfd68100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000cfd68100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by kworker/u8:12/5283: 3, last CPU#0: #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c2427148 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800099c07c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800099c07c20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000f40b0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: percpu_down_read include/linux/percpu-rwsem.h:77 [inline] #2: ffff0000f40b0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_read fs/ext4/ext4.h:1893 [inline] #2: ffff0000f40b0cd8 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages+0x170/0x2dc fs/ext4/inode.c:3165 locks held by syz-executor/5286: 1, last CPU#1: #0: ffff0000f7b64100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000f7b64100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000f7b64100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 locks held by kworker/u8:14/5332: 5, on CPU#1: #0: ffff0000ce73d148 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000ce73d148 ((wq_completion)bat_events){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff800099407c20 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff800099407c20 ((work_completion)(&(&forw_packet_aggr->delayed_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff0000d9ee71c8 (&hard_iface->bat_iv.ogm_buff_mutex){+.+.}-{4:4}, at: batadv_iv_ogm_schedule+0xb0/0xdf8 net/batman-adv/bat_iv_ogm.c:1010 #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: batadv_iv_ogm_slide_own_bcast_window net/batman-adv/bat_iv_ogm.c:870 [inline] #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: batadv_iv_ogm_schedule_buff net/batman-adv/bat_iv_ogm.c:949 [inline] #3: ffff800089ad5760 (rcu_read_lock){....}-{1:3}, at: batadv_iv_ogm_schedule+0x344/0xdf8 net/batman-adv/bat_iv_ogm.c:1011 #4: ffff800089ad5820 (rcu_read_lock_sched){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #4: ffff800089ad5820 (rcu_read_lock_sched){....}-{1:2}, at: rcu_read_lock_sched include/linux/rcupdate.h:947 [inline] #4: ffff800089ad5820 (rcu_read_lock_sched){....}-{1:2}, at: pfn_valid+0xa4/0x214 include/linux/mmzone.h:2292 locks held by syz-executor/5334: 1, last CPU#1: #0: ffff0000cc554100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock fs/super.c:60 [inline] #0: ffff0000cc554100 (&type->s_umount_key#32){++++}-{4:4}, at: __super_lock_excl fs/super.c:75 [inline] #0: ffff0000cc554100 (&type->s_umount_key#32){++++}-{4:4}, at: deactivate_super+0xcc/0xf4 fs/super.c:585 ============================================= --- 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#ai-bisection If the report is already addressed, let syzbot know by replying with: #syz fix: exact-commit-title 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