INFO: task syz-executor.0:12333 blocked for more than 145 seconds. Not tainted 6.2.0-syzkaller-09238-gd2980d8d8265 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25176 pid:12333 ppid:5103 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5304 [inline] __schedule+0x17d8/0x4990 kernel/sched/core.c:6622 schedule+0xc3/0x180 kernel/sched/core.c:6698 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2143 do_wait_for_common+0x449/0x5f0 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x4a/0x60 kernel/sched/completion.c:138 io_wq_exit_workers io_uring/io-wq.c:1259 [inline] io_wq_put_and_exit+0x46c/0xb20 io_uring/io-wq.c:1294 io_uring_clean_tctx+0x168/0x1e0 io_uring/tctx.c:193 io_uring_cancel_generic+0x614/0x680 io_uring/io_uring.c:3260 io_uring_files_cancel include/linux/io_uring.h:55 [inline] do_exit+0x32c/0x2290 kernel/exit.c:824 do_group_exit+0x206/0x2c0 kernel/exit.c:1019 get_signal+0x1701/0x17e0 kernel/signal.c:2859 arch_do_signal_or_restart+0x91/0x670 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x2e0 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0b92c8c0f9 RSP: 002b:00007f0b93ab7168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000826 RBX: 00007f0b92dabf80 RCX: 00007f0b92c8c0f9 RDX: 0000000000000000 RSI: 0000000000000826 RDI: 0000000000000008 RBP: 00007f0b92ce7ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcc01d415f R14: 00007f0b93ab7300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf27b70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf28370 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 2 locks held by getty/4747: #0: ffff88802cb39098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015802f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177 1 lock held by syz-executor.2/5104: #0: ffff88803061c0e0 (&type->s_umount_key#82){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 1 lock held by syz-executor.5/5106: #0: ffff88807aada0e0 (&type->s_umount_key#82){++++}-{3:3}, at: deactivate_super+0xad/0xf0 fs/super.c:361 3 locks held by kworker/1:17/23779: #0: ffff888012470d38 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0 #1: ffffc90005a57d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365 #2: ffff8880812b3240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2d1/0x4130 drivers/net/netdevsim/fib.c:1489 2 locks held by kworker/u4:72/9514: 3 locks held by kworker/u4:90/9562: 2 locks held by kworker/u4:130/9812: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0 #1: ffffc9001890fd20 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365 1 lock held by iou-wrk-12333/12356: #0: ffff88802976a0e0 (&type->s_umount_key#30){++++}-{3:3}, at: iterate_supers+0xb0/0x1e0 fs/super.c:734 3 locks held by kworker/u4:0/13571: #0: ffff8880176ec138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x77f/0x13a0 #1: ffffc90016e57d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7c6/0x13a0 kernel/workqueue.c:2365 #2: ffff88803d442ad0 (&ni->mrec_lock){+.+.}-{3:3}, at: map_mft_record+0x4c/0x630 fs/ntfs/mft.c:154 2 locks held by syz-executor.5/15004: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-syzkaller-09238-gd2980d8d8265 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e5/0x560 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x1b4/0x410 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0x1024/0x1070 kernel/hung_task.c:379 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9812 Comm: kworker/u4:130 Not tainted 6.2.0-syzkaller-09238-gd2980d8d8265 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:lock_acquire+0x9e/0x630 kernel/locking/lockdep.c:5637 Code: ec 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 04 2c 43 c7 44 2c 09 f2 f2 f2 00 43 c7 44 2c 11 f3 f3 f3 f3 66 43 c7 44 2c 15 f3 f3 <43> c6 44 2c 17 f3 0f 1f 44 00 00 65 8b 1d ac 01 98 7e 48 c7 c0 f8 RSP: 0018:ffffc9001890f9e0 EFLAGS: 00000a06 RAX: f2f2f200f1f1f1f1 RBX: ffffffff8a855398 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88802fe35758 RBP: ffffc9001890fb30 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92003121f44 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888146fa4090 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd00b585058 CR3: 000000000cd30000 CR4: 00000000003506f0 DR0: 00000000ffff070c DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x35/0x50 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] batadv_nc_purge_paths+0xe8/0x3a0 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x30f/0x5c0 net/batman-adv/network-coding.c:722 process_one_work+0x915/0x13a0 kernel/workqueue.c:2390 worker_thread+0xa63/0x1210 kernel/workqueue.c:2537 kthread+0x270/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308