INFO: task kworker/1:10:3850 blocked for more than 143 seconds. Not tainted 6.1.0-syzkaller-03295-g02bf43c7b7f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:10 state:D stack:21056 pid:3850 ppid:2 flags:0x00004000 Workqueue: gfs_recovery gfs2_recover_func Call Trace: context_switch kernel/sched/core.c:5233 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6545 schedule+0xcb/0x190 kernel/sched/core.c:6621 io_schedule+0x83/0x100 kernel/sched/core.c:8801 folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1296 folio_wait_locked include/linux/pagemap.h:1022 [inline] gfs2_jhead_process_page+0x195/0x800 fs/gfs2/lops.c:476 gfs2_find_jhead+0x671/0xea0 fs/gfs2/lops.c:583 gfs2_recover_func+0x65b/0x1f30 fs/gfs2/recovery.c:460 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 INFO: task syz-executor.2:4263 blocked for more than 144 seconds. Not tainted 6.1.0-syzkaller-03295-g02bf43c7b7f7 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:20192 pid:4263 ppid:3679 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5233 [inline] __schedule+0x995/0xe20 kernel/sched/core.c:6545 schedule+0xcb/0x190 kernel/sched/core.c:6621 bit_wait+0xe/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit+0xb5/0x170 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1c3/0x240 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_recover_journal+0xda/0x120 fs/gfs2/recovery.c:577 init_journal+0x18a5/0x22c0 fs/gfs2/ops_fstype.c:835 init_inodes+0xdc/0x340 fs/gfs2/ops_fstype.c:889 gfs2_fill_super+0x1bb2/0x2700 fs/gfs2/ops_fstype.c:1247 get_tree_bdev+0x400/0x620 fs/super.c:1282 gfs2_get_tree+0x50/0x210 fs/gfs2/ops_fstype.c:1330 vfs_get_tree+0x88/0x270 fs/super.c:1489 do_new_mount+0x289/0xad0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6ee528d60a RSP: 002b:00007f6ee609af88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000037f57 RCX: 00007f6ee528d60a RDX: 0000000020000000 RSI: 0000000020037f80 RDI: 00007f6ee609afe0 RBP: 00007f6ee609b020 R08: 00007f6ee609b020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020037f80 R14: 00007f6ee609afe0 R15: 0000000020037fc0 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d328390 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d328b90 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by ksoftirqd/0/15: #0: ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 1 lock held by khungtaskd/28: #0: ffffffff8d3281c0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:5/1205: 2 locks held by getty/3310: #0: ffff88814aabe098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177 3 locks held by syz-fuzzer/3654: 2 locks held by syz-executor.4/3672: #0: ffff88803fd020e0 (&type->s_umount_key#53){++++}-{3:3}, at: deactivate_super+0x96/0xd0 fs/super.c:362 #1: ffffffff8d32d838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #1: ffffffff8d32d838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/1:10/3850: #0: ffff88801866a538 ((wq_completion)gfs_recovery){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90004807d00 ((work_completion)(&jd->jd_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 1 lock held by syz-executor.2/4263: #0: ffff8880753c60e0 (&type->s_umount_key#64/1){+.+.}-{3:3}, at: alloc_super+0x212/0x920 fs/super.c:228 2 locks held by kworker/0:15/5474: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90003c0fd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 3 locks held by kworker/0:16/5475: #0: ffff888012864d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc900036ffd00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 #2: ffffffff8d32d838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #2: ffffffff8d32d838 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946 2 locks held by kworker/0:17/5478: #0: ffff888012866538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0 #1: ffffc90003e9fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264 1 lock held by syz-executor.1/5736: #0: ffff8880753c60e0 (&type->s_umount_key#95){.+.+}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.1/5787: #0: ffff8880753c60e0 (&type->s_umount_key#95){.+.+}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.1/5790: #0: ffff8880753c60e0 (&type->s_umount_key#95){.+.+}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.1/5791: #0: ffff8880753c60e0 (&type->s_umount_key#95){.+.+}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.1/5792: #0: ffff8880753c60e0 (&type->s_umount_key#95){.+.+}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.1/5796: #0: ffff8880753c60e0 (&type->s_umount_key#95){.+.+}-{3:3}, at: iterate_supers+0xb0/0x1f0 fs/super.c:722 1 lock held by syz-executor.3/5849: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-syzkaller-03295-g02bf43c7b7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1b1/0x28e lib/dump_stack.c:106 nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1ba/0x420 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 46 Comm: kworker/u4:3 Not tainted 6.1.0-syzkaller-03295-g02bf43c7b7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x12a9/0x1f60 kernel/locking/lockdep.c:5058 Code: 3c 24 48 8b 74 24 28 8b 54 24 24 4c 89 e9 e8 fe ae 00 00 85 c0 0f 84 d4 02 00 00 48 ba 00 00 00 00 00 fc ff df 41 80 3c 14 00 <74> 12 4c 89 f7 e8 2d f0 74 00 48 ba 00 00 00 00 00 fc ff df 4d 89 RSP: 0018:ffffc90000b779a8 EFLAGS: 00000046 RAX: 0000000000000001 RBX: ffffffff9049d940 RCX: f2f200f2f2f2f2f2 RDX: dffffc0000000000 RSI: ffff8880186b0aa0 RDI: ffff8880186b0000 RBP: ffff8880186b0ac0 R08: dffffc0000000000 R09: fffffbfff20f4c29 R10: fffffbfff20f4c29 R11: 1ffffffff20f4c28 R12: 1ffff110030d6148 R13: 992cea5078c716ca R14: ffff8880186b0a40 R15: 0000000000004000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f399ae8e718 CR3: 0000000043370000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x182/0x3c0 kernel/locking/lockdep.c:5668 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313 rcu_read_lock include/linux/rcupdate.h:752 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xc8/0x5b0 net/batman-adv/network-coding.c:719 process_one_work+0x877/0xdb0 kernel/workqueue.c:2289 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306