INFO: task syz-executor.0:6299 blocked for more than 143 seconds. Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:25744 pid: 6299 ppid: 3622 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6440 __mutex_lock_common kernel/locking/mutex.c:673 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733 io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9867 io_uring_clean_tctx fs/io_uring.c:9883 [inline] io_uring_cancel_generic+0x5c3/0x695 fs/io_uring.c:9961 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x4f4/0x2aa0 kernel/exit.c:761 do_group_exit+0xd2/0x2f0 kernel/exit.c:935 get_signal+0x4b0/0x28c0 kernel/signal.c:2862 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:0x7efe246de059 RSP: 002b:00007efe23653218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007efe247f0f68 RCX: 00007efe246de059 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007efe247f0f68 RBP: 00007efe247f0f60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efe247f0f6c R13: 00007fff0c10304f R14: 00007efe23653300 R15: 0000000000022000 INFO: task syz-executor.0:6309 can't die for more than 143 seconds. task:syz-executor.0 state:R running task stack:21976 pid: 6309 ppid: 3622 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5000 [inline] __schedule+0xab2/0x4db0 kernel/sched/core.c:6309 schedule+0xd2/0x1f0 kernel/sched/core.c:6381 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 rcu_barrier+0x36a/0x630 kernel/rcu/tree.c:4122 netdev_run_todo+0x2b2/0xaa0 net/core/dev.c:9934 rtnl_unlock net/core/rtnetlink.c:112 [inline] rtnetlink_rcv_msg+0x420/0xb80 net/core/rtnetlink.c:5595 netlink_rcv_skb+0x153/0x420 net/netlink/af_netlink.c:2494 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x539/0x7e0 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x904/0xe00 net/netlink/af_netlink.c:1919 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:725 ____sys_sendmsg+0x6e8/0x810 net/socket.c:2413 __sys_sendmsg_sock+0x26/0x30 net/socket.c:2479 io_sendmsg+0x1da/0x5a0 fs/io_uring.c:4947 io_issue_sqe+0x21f3/0x72e0 fs/io_uring.c:6771 __io_queue_sqe fs/io_uring.c:7098 [inline] io_queue_sqe fs/io_uring.c:7140 [inline] io_submit_sqe fs/io_uring.c:7348 [inline] io_submit_sqes+0x1044/0x8ba0 fs/io_uring.c:7454 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10154 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7efe246de059 RSP: 002b:00007efe23611168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007efe247f1100 RCX: 00007efe246de059 RDX: 0000000000000000 RSI: 000000000000688c RDI: 0000000000000003 RBP: 00007efe2473808d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff0c10304f R14: 00007efe23611300 R15: 0000000000022000 Showing all locks held in the system: 5 locks held by kworker/0:1/7: #0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline] #0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:636 [inline] #0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:663 [inline] #0: ffff888010c66538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x87a/0x1610 kernel/workqueue.c:2260 #1: ffffc90000cc7da8 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264 #2: ffff8880b9c39e58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:490 #3: ffff8880b9c27948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3e7/0x4e0 kernel/sched/psi.c:891 #4: ffffffff905e8630 (&obj_hash[i].lock){-.-.}-{2:2}, at: __debug_check_no_obj_freed lib/debugobjects.c:980 [inline] #4: ffffffff905e8630 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_check_no_obj_freed+0xc7/0x420 lib/debugobjects.c:1023 1 lock held by khungtaskd/26: #0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6463 2 locks held by getty/3280: #0: ffff8880234a7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 1 lock held by syz-executor.0/6299: #0: ffff888079b360a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9867 3 locks held by syz-executor.0/6309: #0: ffff888079b360a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __do_sys_io_uring_enter+0xf60/0x1f50 fs/io_uring.c:10153 #1: ffffffff8d336e28 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #1: ffffffff8d336e28 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x3be/0xb80 net/core/rtnetlink.c:5591 #2: ffffffff8bb8de60 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:290 [inline] #2: ffffffff8bb8de60 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x54f/0x680 kernel/rcu/tree_exp.h:841 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc2-next-20220204-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:377 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: 3702 Comm: kworker/u4:6 Not tainted 5.17.0-rc2-next-20220204-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_nc_worker RIP: 0010:instrument_atomic_read include/linux/instrumented.h:71 [inline] RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline] RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:379 [inline] RIP: 0010:cpu_online include/linux/cpumask.h:921 [inline] RIP: 0010:trace_lock_acquire include/trace/events/lock.h:13 [inline] RIP: 0010:lock_acquire+0x9a/0x510 kernel/locking/lockdep.c:5610 Code: 65 48 8b 04 25 28 00 00 00 48 89 84 24 a8 00 00 00 31 c0 0f 1f 44 00 00 65 8b 15 c1 bc a4 7e 83 fa 07 0f 87 dc 03 00 00 89 d2 08 00 00 00 48 89 d0 48 89 54 24 08 48 c1 f8 06 48 8d 3c c5 d0 RSP: 0018:ffffc90002c3fb98 EFLAGS: 00000297 RAX: 0000000000000000 RBX: 1ffff92000587f75 RCX: 0000000000000002 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8bb83a60 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff88f322f1 R11: 0000000000000000 R12: 0000000000000002 R13: 0000000000000000 R14: ffffffff8bb83a60 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2d771cb000 CR3: 000000000b88e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:719 process_one_work+0x996/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e9/0x3a0 kernel/kthread.c:377 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax 7: 00 00 9: 48 89 84 24 a8 00 00 mov %rax,0xa8(%rsp) 10: 00 11: 31 c0 xor %eax,%eax 13: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 18: 65 8b 15 c1 bc a4 7e mov %gs:0x7ea4bcc1(%rip),%edx # 0x7ea4bce0 1f: 83 fa 07 cmp $0x7,%edx 22: 0f 87 dc 03 00 00 ja 0x404 28: 89 d2 mov %edx,%edx * 2a: be 08 00 00 00 mov $0x8,%esi <-- trapping instruction 2f: 48 89 d0 mov %rdx,%rax 32: 48 89 54 24 08 mov %rdx,0x8(%rsp) 37: 48 c1 f8 06 sar $0x6,%rax 3b: 48 rex.W 3c: 8d .byte 0x8d 3d: 3c c5 cmp $0xc5,%al 3f: d0 .byte 0xd0