INFO: task syz-executor.3:12422 blocked for more than 143 seconds. Not tainted 5.18.0-rc1-next-20220408-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:27104 pid:12422 ppid: 3624 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5106 [inline] __schedule+0xa9a/0x4cc0 kernel/sched/core.c:6421 schedule+0xd2/0x1f0 kernel/sched/core.c:6493 schedule_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x378/0x530 kernel/sched/completion.c:106 io_wq_exit_workers fs/io-wq.c:1266 [inline] io_wq_put_and_exit+0x4d6/0xe40 fs/io-wq.c:1301 io_uring_clean_tctx fs/io_uring.c:10581 [inline] io_uring_cancel_generic+0x538/0x5bc fs/io_uring.c:10651 io_uring_files_cancel include/linux/io_uring.h:18 [inline] do_exit+0x4f9/0x2a00 kernel/exit.c:750 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 get_signal+0x22df/0x24c0 kernel/signal.c:2864 arch_do_signal_or_restart+0x82/0x20f0 arch/x86/kernel/signal.c:867 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f910d689049 RSP: 002b:00007f910e822218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f910d79bf68 RCX: 00007f910d689049 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f910d79bf68 RBP: 00007f910d79bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f910d79bf6c R13: 00007fff6d751e9f R14: 00007f910e822300 R15: 0000000000022000 INFO: task iou-wrk-12422:12445 can't die for more than 143 seconds. task:iou-wrk-12422 state:R running task stack:28128 pid:12445 ppid: 3624 flags:0x00024006 Call Trace: Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8bd83a20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491 2 locks held by getty/3275: #0: ffff888144eb2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002e732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075 2 locks held by kworker/u4:11/4827: #0: ffff8880b9d39f98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:541 #1: ffffc900038c7da8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc1-next-20220408-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+0x1e6/0x230 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:256 [inline] watchdog+0xcb7/0xed0 kernel/hung_task.c:413 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 3890 Comm: kworker/u4:6 Not tainted 5.18.0-rc1-next-20220408-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_purge_orig RIP: 0010:lockdep_enabled kernel/locking/lockdep.c:115 [inline] RIP: 0010:lockdep_softirqs_on+0x22/0x340 kernel/locking/lockdep.c:4437 Code: 0f 1f 84 00 00 00 00 00 48 c7 c0 2c b6 b7 8d 41 54 49 89 fc 48 ba 00 00 00 00 00 fc ff df 48 89 c1 55 83 e0 07 48 c1 e9 03 53 <83> c0 03 0f b6 14 11 65 48 8b 1c 25 00 70 02 00 38 d0 7c 08 84 d2 RSP: 0018:ffffc90005207bb8 EFLAGS: 00000807 RAX: 0000000000000004 RBX: 0000000000000201 RCX: 1ffffffff1b6f6c5 RDX: dffffc0000000000 RSI: ffffffff81483a33 RDI: ffffffff88fef907 RBP: ffffffff88fef907 R08: 0000000000000000 R09: ffff888027636983 R10: ffffffff818053cd R11: 0000000000000000 R12: ffffffff88fef907 R13: ffffc90005207da8 R14: ffff88801f013600 R15: 00000000000001a6 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8098da7990 CR3: 000000007a197000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __local_bh_enable_ip+0xcd/0x120 kernel/softirq.c:371 spin_unlock_bh include/linux/spinlock.h:399 [inline] batadv_purge_orig_ref+0xeb7/0x1550 net/batman-adv/originator.c:1259 batadv_purge_orig+0x17/0x60 net/batman-adv/originator.c:1272 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 ---------------- Code disassembly (best guess): 0: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 7: 00 8: 48 c7 c0 2c b6 b7 8d mov $0xffffffff8db7b62c,%rax f: 41 54 push %r12 11: 49 89 fc mov %rdi,%r12 14: 48 ba 00 00 00 00 00 movabs $0xdffffc0000000000,%rdx 1b: fc ff df 1e: 48 89 c1 mov %rax,%rcx 21: 55 push %rbp 22: 83 e0 07 and $0x7,%eax 25: 48 c1 e9 03 shr $0x3,%rcx 29: 53 push %rbx * 2a: 83 c0 03 add $0x3,%eax <-- trapping instruction 2d: 0f b6 14 11 movzbl (%rcx,%rdx,1),%edx 31: 65 48 8b 1c 25 00 70 mov %gs:0x27000,%rbx 38: 02 00 3a: 38 d0 cmp %dl,%al 3c: 7c 08 jl 0x46 3e: 84 d2 test %dl,%dl