INFO: task syz-executor.0:7958 blocked for more than 151 seconds. Not tainted 6.3.0-rc6-syzkaller-00183-ga7a55e27ad72 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26488 pid:7958 ppid:5108 flags:0x00024000 Call Trace: context_switch kernel/sched/core.c:5307 [inline] __schedule+0xc91/0x5770 kernel/sched/core.c:6625 schedule+0xde/0x1a0 kernel/sched/core.c:6701 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 io_wq_exit_workers io_uring/io-wq.c:1265 [inline] io_wq_put_and_exit+0x273/0xec0 io_uring/io-wq.c:1300 io_uring_clean_tctx+0x10e/0x190 io_uring/tctx.c:193 io_uring_cancel_generic+0x566/0x690 io_uring/io_uring.c:3260 io_uring_files_cancel include/linux/io_uring.h:56 [inline] do_exit+0x54f/0x2960 kernel/exit.c:824 do_group_exit+0xd4/0x2a0 kernel/exit.c:1019 get_signal+0x2315/0x25b0 kernel/signal.c:2859 arch_do_signal_or_restart+0x79/0x5c0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x1d/0x50 kernel/entry/common.c:297 do_syscall_64+0x46/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f60a468c169 RSP: 002b:00007f60a31dd168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 00000000000002ff RBX: 00007f60a47ac120 RCX: 00007f60a468c169 RDX: 0000000000000000 RSI: 00000000000002ff RDI: 0000000000000025 RBP: 00007f60a46e7ca1 R08: 0000000000000000 R09: 2000000000000a32 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc367921ef R14: 00007f60a31dd300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c794a70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c794770 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8c7955c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495 2 locks held by getty/4754: #0: ffff88802a678098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by kworker/u4:10/17560: 2 locks held by kworker/u4:16/24048: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x87a/0x15c0 kernel/workqueue.c:2361 #1: ffffc90003b07da8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x15c0 kernel/workqueue.c:2365 1 lock held by syz-executor.4/11560: #0: ffff88803cf020e0 (&type->s_umount_key#59/1){+.+.}-{3:3}, at: alloc_super+0x22e/0xb60 fs/super.c:228 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc6-syzkaller-00183-ga7a55e27ad72 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 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+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x2e8/0x3a0 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: 24048 Comm: kworker/u4:16 Not tainted 6.3.0-rc6-syzkaller-00183-ga7a55e27ad72 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] RIP: 0010:hlock_class kernel/locking/lockdep.c:228 [inline] RIP: 0010:__lock_acquire+0xbb8/0x5d40 kernel/locking/lockdep.c:5053 Code: 74 0e 3c 03 7f 0a 48 8b 7c 24 38 e8 52 b2 6f 00 41 0f b7 5c 24 20 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 e8 06 <48> 8d 3c c5 80 2b 4d 91 e8 8b b8 6f 00 48 0f a3 1d 43 e0 e8 0f 0f RSP: 0018:ffffc90003b079b0 EFLAGS: 00000016 RAX: 000000000000001b RBX: 00000000000006c7 RCX: ffffffff8164565a RDX: 1ffff110101918a5 RSI: 0000000000000008 RDI: ffffffff91524460 RBP: ffff888080c8c52a R08: 0000000000000000 R09: ffffffff914d2c5f R10: fffffbfff229a58b R11: 0000000000000000 R12: ffff888080c8c508 R13: ffff888080c8ba80 R14: 0000000000000000 R15: 740f18be4ec77703 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6c18186058 CR3: 000000002b9eb000 CR4: 0000000000350ef0 Call Trace: lock_acquire kernel/locking/lockdep.c:5669 [inline] lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline] _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] batadv_nc_purge_paths+0xdf/0x3c0 net/batman-adv/network-coding.c:442 batadv_nc_worker+0x8fa/0xfe0 net/batman-adv/network-coding.c:720 process_one_work+0x991/0x15c0 kernel/workqueue.c:2390 worker_thread+0x669/0x1090 kernel/workqueue.c:2537 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308