INFO: task kworker/u4:6:8984 blocked for more than 143 seconds. Not tainted 5.15.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:6 state:D stack:25592 pid: 8984 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 io_uring_try_cancel_iowq fs/io_uring.c:9570 [inline] io_uring_try_cancel_requests+0x7d1/0xc30 fs/io_uring.c:9600 io_ring_exit_work+0x137/0x19a0 fs/io_uring.c:9400 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 INFO: task syz-executor.5:20025 blocked for more than 143 seconds. Not tainted 5.15.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28808 pid:20025 ppid: 7230 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:4940 [inline] __schedule+0xb44/0x5960 kernel/sched/core.c:6287 schedule+0xd3/0x270 kernel/sched/core.c:6366 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6425 __mutex_lock_common kernel/locking/mutex.c:669 [inline] __mutex_lock+0xa34/0x12f0 kernel/locking/mutex.c:729 io_uring_del_tctx_node+0x105/0x350 fs/io_uring.c:9694 io_uring_clean_tctx fs/io_uring.c:9710 [inline] io_uring_cancel_generic+0x5cb/0x760 fs/io_uring.c:9798 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x265/0x2a30 kernel/exit.c:780 do_group_exit+0x125/0x310 kernel/exit.c:922 get_signal+0x47f/0x2160 kernel/signal.c:2868 arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865 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:0x7fe1e6e76a39 RSP: 002b:00007fe1e43cb218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fe1e6f7a028 RCX: 00007fe1e6e76a39 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fe1e6f7a028 RBP: 00007fe1e6f7a020 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fe1e6f7a02c R13: 00007fe1e74adb2f R14: 00007fe1e43cb300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b981ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 1 lock held by in:imklog/6232: #0: ffff888073d60af0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 3 locks held by kworker/u4:6/8984: #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:634 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:661 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x8a3/0x16b0 kernel/workqueue.c:2268 #1: ffffc90018eafdb0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8d7/0x16b0 kernel/workqueue.c:2272 #2: ffff88806fb940a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9570 [inline] #2: ffff88806fb940a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x7d1/0xc30 fs/io_uring.c:9600 1 lock held by syz-executor.5/19999: 1 lock held by syz-executor.5/20025: #0: ffff88803c2b40a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x105/0x350 fs/io_uring.c:9694 1 lock held by syz-executor.5/20027: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-rc5-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:105 nmi_trigger_cpumask_backtrace+0x1ae/0x220 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+0x3e5/0x4d0 kernel/kthread.c:319 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: 19782 Comm: kworker/u4:9 Not tainted 5.15.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:hlock_class kernel/locking/lockdep.c:199 [inline] RIP: 0010:__lock_acquire+0x144a/0x54a0 kernel/locking/lockdep.c:5011 Code: f8 66 81 e3 ff 1f 0f b7 db be 08 00 00 00 48 89 d8 48 c1 f8 06 48 8d 3c c5 e0 f9 cf 8f e8 2e 53 62 00 48 0f a3 1d 26 1c 74 0e <0f> 83 90 05 00 00 48 8d 1c 5b 48 c1 e3 06 48 81 c3 00 fe cf 8f 48 RSP: 0018:ffffc900044ff718 EFLAGS: 00000047 RAX: 0000000000000001 RBX: 0000000000000059 RCX: ffffffff815bddb2 RDX: fffffbfff1f9ff3e RSI: 0000000000000008 RDI: ffffffff8fcff9e8 RBP: ffff88803c6543ba R08: 0000000000000000 R09: ffffffff8fcff9ef R10: fffffbfff1f9ff3d R11: 0000000000000000 R12: ffff88803c654398 R13: ffff88803c653900 R14: 0000000000000000 R15: bd5ee890b0470dd7 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f73d1069018 CR3: 000000000b68e000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5625 [inline] lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:162 debug_object_activate+0x12e/0x3e0 lib/debugobjects.c:661 debug_timer_activate kernel/time/timer.c:729 [inline] __mod_timer+0x77d/0xe30 kernel/time/timer.c:1050 schedule_timeout+0x145/0x2a0 kernel/time/timer.c:1880 toggle_allocation_gate mm/kfence/core.c:633 [inline] toggle_allocation_gate+0x309/0x390 mm/kfence/core.c:618 process_one_work+0x9bf/0x16b0 kernel/workqueue.c:2297 worker_thread+0x658/0x11f0 kernel/workqueue.c:2444 kthread+0x3e5/0x4d0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 ---------------- Code disassembly (best guess): 0: f8 clc 1: 66 81 e3 ff 1f and $0x1fff,%bx 6: 0f b7 db movzwl %bx,%ebx 9: be 08 00 00 00 mov $0x8,%esi e: 48 89 d8 mov %rbx,%rax 11: 48 c1 f8 06 sar $0x6,%rax 15: 48 8d 3c c5 e0 f9 cf lea -0x70300620(,%rax,8),%rdi 1c: 8f 1d: e8 2e 53 62 00 callq 0x625350 22: 48 0f a3 1d 26 1c 74 bt %rbx,0xe741c26(%rip) # 0xe741c50 29: 0e * 2a: 0f 83 90 05 00 00 jae 0x5c0 <-- trapping instruction 30: 48 8d 1c 5b lea (%rbx,%rbx,2),%rbx 34: 48 c1 e3 06 shl $0x6,%rbx 38: 48 81 c3 00 fe cf 8f add $0xffffffff8fcffe00,%rbx 3f: 48 rex.W