INFO: task syz-executor.2:26594 blocked for more than 143 seconds. Not tainted 5.16.0-rc8-next-20220107-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28128 pid:26594 ppid: 3634 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:4986 [inline] __schedule+0xab2/0x4e90 kernel/sched/core.c:6296 schedule+0xd2/0x260 kernel/sched/core.c:6369 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6428 __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:9805 io_uring_clean_tctx fs/io_uring.c:9821 [inline] io_uring_cancel_generic+0x5da/0x695 fs/io_uring.c:9912 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x52b/0x2b10 kernel/exit.c:748 do_group_exit+0x128/0x330 kernel/exit.c:932 get_signal+0x4b0/0x28c0 kernel/signal.c:2868 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:0x7f24542bbe99 RSP: 002b:00007f2452c31168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 0000000000010000 RBX: 00007f24543cef60 RCX: 00007f24542bbe99 RDX: 00000000fffffecc RSI: 0000000020000000 RDI: 000000000000000c RBP: 00007f2454315ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff09ce674f R14: 00007f2452c31300 R15: 0000000000022000 INFO: task syz-executor.2:26596 can't die for more than 143 seconds. task:syz-executor.2 state:R running task stack:25840 pid:26596 ppid: 3634 flags:0x00004006 Call Trace: Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb829e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460 2 locks held by getty/3285: #0: ffff88814a83c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2077 1 lock held by syz-executor.2/26594: #0: ffff88807d79f0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9805 2 locks held by syz-executor.2/26596: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc8-next-20220107-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: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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 26596 Comm: syz-executor.2 Not tainted 5.16.0-rc8-next-20220107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rb_erase+0x245/0x1210 lib/rbtree.c:446 Code: 3c 02 00 0f 85 a2 0f 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 89 29 48 c1 ea 03 80 3c 02 00 0f 85 29 0f 00 00 4c 89 23 <48> 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f c3 48 b8 00 00 00 00 00 RSP: 0018:ffffc90000dc0d88 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff8880b9d2afa0 RCX: 0000000000000000 RDX: 1ffff110173a55f6 RSI: ffff8880b9d2a6d0 RDI: ffff8880b9d2afb0 RBP: ffff8880b9d2afa0 R08: ffff8880b9d2afa0 R09: 0000000000000001 R10: ffffffff840dc5ac R11: 0000000000000000 R12: 0000000000000000 R13: ffff88807c2198e8 R14: 0000000000000000 R15: ffff8880b9d2a6d0 FS: 00007f2452c10700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01d79b228 CR3: 000000007ce00000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rb_erase_cached include/linux/rbtree.h:126 [inline] timerqueue_del+0x7f/0x140 lib/timerqueue.c:57 __remove_hrtimer+0xa1/0x2a0 kernel/time/hrtimer.c:1116 __run_hrtimer kernel/time/hrtimer.c:1665 [inline] __hrtimer_run_queues+0x4ea/0xe50 kernel/time/hrtimer.c:1749 hrtimer_interrupt+0x31c/0x790 kernel/time/hrtimer.c:1811 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1086 [inline] __sysvec_apic_timer_interrupt+0x146/0x530 arch/x86/kernel/apic/apic.c:1103 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1097 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638 RIP: 0010:lock_is_held_type+0xff/0x140 kernel/locking/lockdep.c:5687 Code: 00 00 b8 ff ff ff ff 65 0f c1 05 7c cf aa 76 83 f8 01 75 29 9c 58 f6 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 <44> 89 e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 45 31 ed eb b9 0f 0b 48 RSP: 0018:ffffc9000d53f838 EFLAGS: 00000282 RAX: 0000000000000046 RBX: 0000000000000001 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffffff8bb82920 R08: 0000000000000000 R09: ffffffff8d944d57 R10: fffffbfff1b289aa R11: 0000000000000001 R12: ffff8880703e0000 R13: 0000000000000000 R14: 00000000ffffffff R15: ffff8880703e0a68 lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x442/0x510 kernel/locking/lockdep.c:5610 rcu_lock_acquire include/linux/rcupdate.h:268 [inline] rcu_read_lock include/linux/rcupdate.h:694 [inline] get_obj_cgroup_from_current+0xdc/0x4d0 mm/memcontrol.c:2922 memcg_slab_pre_alloc_hook mm/slab.h:492 [inline] slab_pre_alloc_hook mm/slab.h:716 [inline] slab_alloc_node mm/slub.c:3144 [inline] slab_alloc mm/slub.c:3238 [inline] kmem_cache_alloc_trace+0x6e/0x2c0 mm/slub.c:3255 kmalloc include/linux/slab.h:581 [inline] io_add_buffers fs/io_uring.c:4545 [inline] io_provide_buffers fs/io_uring.c:4579 [inline] io_issue_sqe+0x20f4/0x72e0 fs/io_uring.c:6771 __io_queue_sqe fs/io_uring.c:7041 [inline] io_queue_sqe fs/io_uring.c:7083 [inline] io_submit_sqe fs/io_uring.c:7291 [inline] io_submit_sqes+0x11df/0x8f20 fs/io_uring.c:7397 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10100 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:0x7f24542bbe99 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2452c10168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f24543cf030 RCX: 00007f24542bbe99 RDX: 0000000000000000 RSI: 000000000000688c RDI: 0000000000000003 RBP: 00007f2454315ff1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff09ce674f R14: 00007f2452c10300 R15: 0000000000022000 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 02 00 add (%rax),%al 2: 0f 85 a2 0f 00 00 jne 0xfaa 8: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax f: fc ff df 12: 48 89 da mov %rbx,%rdx 15: 48 89 29 mov %rbp,(%rcx) 18: 48 c1 ea 03 shr $0x3,%rdx 1c: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 20: 0f 85 29 0f 00 00 jne 0xf4f 26: 4c 89 23 mov %r12,(%rbx) * 29: 48 83 c4 18 add $0x18,%rsp <-- trapping instruction 2d: 5b pop %rbx 2e: 5d pop %rbp 2f: 41 5c pop %r12 31: 41 5d pop %r13 33: 41 5e pop %r14 35: 41 5f pop %r15 37: c3 retq 38: 48 rex.W 39: b8 00 00 00 00 mov $0x0,%eax