INFO: task syz-executor.5:16875 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:25144 pid:16875 ppid: 7331 flags:0x00024004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 io_wq_exit_workers fs/io-wq.c:1217 [inline] io_wq_put_and_exit+0x33a/0xb70 fs/io-wq.c:1252 io_uring_clean_tctx fs/io_uring.c:9801 [inline] io_uring_cancel_generic+0x61d/0x690 fs/io_uring.c:9882 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x60c/0x2b40 kernel/exit.c:787 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2852 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f39d3d4fae9 RSP: 002b:00007f39d12c5188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000080 RBX: 00007f39d3e62f60 RCX: 00007f39d3d4fae9 RDX: 0000000000000000 RSI: 0000000010002a6e RDI: 0000000000000004 RBP: 00007f39d3da9f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f39d4396b2f R14: 00007f39d12c5300 R15: 0000000000022000 INFO: task syz-executor.3:16877 blocked for more than 143 seconds. Not tainted 5.16.0-rc3-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25048 pid:16877 ppid: 8218 flags:0x00024004 Call Trace: context_switch kernel/sched/core.c:4972 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6253 schedule+0xd2/0x260 kernel/sched/core.c:6326 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 io_wq_exit_workers fs/io-wq.c:1217 [inline] io_wq_put_and_exit+0x33a/0xb70 fs/io-wq.c:1252 io_uring_clean_tctx fs/io_uring.c:9801 [inline] io_uring_cancel_generic+0x61d/0x690 fs/io_uring.c:9882 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x60c/0x2b40 kernel/exit.c:787 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2852 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868 handle_signal_work kernel/entry/common.c:148 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207 __syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline] syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f8f04a9bae9 RSP: 002b:00007f8f02011188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000080 RBX: 00007f8f04baef60 RCX: 00007f8f04a9bae9 RDX: 0000000000000000 RSI: 0000000010002a6e RDI: 0000000000000004 RBP: 00007f8f04af5f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f8f050e2b2f R14: 00007f8f02011300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6222: #0: ffff888072632ff0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 2 locks held by agetty/6452: #0: ffff8880772a3098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc9000296c2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xc1d/0xf50 kernel/hung_task.c:295 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 14365 Comm: kworker/u4:11 Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0xa/0x170 lib/smp_processor_id.c:13 Code: f8 65 48 8b 3c 25 40 70 02 00 e8 a1 af 0e f8 eb 99 0f 1f 44 00 00 0f 0b e9 23 ff ff ff cc cc cc 41 56 41 55 49 89 f5 41 54 55 <48> 89 fd 53 0f 1f 44 00 00 65 44 8b 25 5d da bd 76 65 8b 1d ce 34 RSP: 0018:ffffc90006497b78 EFLAGS: 00000046 RAX: 0000000000000007 RBX: 1ffff92000c92f76 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff89ac0f20 RDI: ffffffff8a0518e0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff8d912e17 R10: fffffbfff1b225c2 R11: 0000000000000000 R12: 0000000000000002 R13: ffffffff89ac0f20 R14: ffffffff8bb83b60 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0030c5000 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:433 [inline] lock_acquire kernel/locking/lockdep.c:5636 [inline] lock_acquire+0x170/0x510 kernel/locking/lockdep.c:5602 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:688 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:723 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: f8 clc 1: 65 48 8b 3c 25 40 70 mov %gs:0x27040,%rdi 8: 02 00 a: e8 a1 af 0e f8 callq 0xf80eafb0 f: eb 99 jmp 0xffffffaa 11: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 16: 0f 0b ud2 18: e9 23 ff ff ff jmpq 0xffffff40 1d: cc int3 1e: cc int3 1f: cc int3 20: 41 56 push %r14 22: 41 55 push %r13 24: 49 89 f5 mov %rsi,%r13 27: 41 54 push %r12 29: 55 push %rbp * 2a: 48 89 fd mov %rdi,%rbp <-- trapping instruction 2d: 53 push %rbx 2e: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 33: 65 44 8b 25 5d da bd mov %gs:0x76bdda5d(%rip),%r12d # 0x76bdda98 3a: 76 3b: 65 gs 3c: 8b .byte 0x8b 3d: 1d .byte 0x1d 3e: ce (bad) 3f: 34 .byte 0x34