INFO: task syz-executor.4:31314 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.4 state:D stack:26696 pid:31314 ppid: 14887 flags:0x00004004 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_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9565 io_uring_release+0x42/0x46 fs/io_uring.c:9594 __fput+0x286/0x9f0 fs/file_table.c:280 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop kernel/entry/common.c:175 [inline] exit_to_user_mode_prepare+0x27e/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:0x7f80d9e46b32 RSP: 002b:00007f80d73bc0f8 EFLAGS: 00000206 ORIG_RAX: 0000000000000009 RAX: 0000000020ee7000 RBX: 0000000000008011 RCX: 00007f80d9e46b32 RDX: 0000000000000003 RSI: 0000000000020000 RDI: 0000000020ee7000 RBP: 0000000020ee7000 R08: 0000000000000006 R09: 0000000010000000 R10: 0000000000008011 R11: 0000000000000206 R12: 0000000020000040 R13: 0000000020ee7000 R14: 00000000200014c0 R15: 0000000020ffc000 Showing all locks held in the system: 1 lock held by khungtaskd/26: #0: ffffffff8bb83b60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 3 locks held by kworker/u4:4/980: 1 lock held by in:imklog/6220: #0: ffff8880713ff9f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.4/31314: #0: ffff88801cc770a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_ring_ctx_wait_and_kill+0x72/0x322 fs/io_uring.c:9565 1 lock held by syz-executor.4/31321: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 26 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: 31321 Comm: syz-executor.4 Not tainted 5.16.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:rb_next+0xa/0x140 lib/rbtree.c:496 Code: 44 24 08 4c 89 04 24 e8 34 e5 be fd 48 8b 44 24 08 4c 8b 04 24 e9 b9 fb ff ff 66 0f 1f 44 00 00 48 b8 00 00 00 00 00 fc ff df <48> 89 fa 41 55 48 c1 ea 03 41 54 55 48 89 fd 53 48 83 ec 08 80 3c RSP: 0018:ffffc90000007dd0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffc90001abfb88 RCX: 0000000000000000 RDX: ffff888037608000 RSI: ffffffff840006c8 RDI: ffffc90001abfb88 RBP: ffff8880b9c2a4d0 R08: ffff8880b9c2ade0 R09: 0000000000000001 R10: ffffffff8400063c R11: 0000000000000000 R12: ffff8880b9c2a4d8 R13: 0000000000000000 R14: ffff8880b9c2a400 R15: 0000000000000000 FS: 00007f80d739b700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056374a2edad8 CR3: 000000007c962000 CR4: 00000000003506f0 DR0: 0000000020000280 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: rb_erase_cached include/linux/rbtree.h:124 [inline] timerqueue_del+0xd0/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:jhash2 include/linux/jhash.h:129 [inline] RIP: 0010:hash_stack lib/stackdepot.c:180 [inline] RIP: 0010:__stack_depot_save+0xc6/0x4f0 lib/stackdepot.c:329 Code: 89 d8 01 c3 41 c1 c0 04 45 31 c8 44 29 c0 41 89 c1 44 89 c0 41 01 d8 c1 c0 06 44 31 c8 29 c3 41 89 d9 89 c3 44 01 c0 c1 c3 08 <44> 31 cb 41 89 d9 41 29 d8 01 c3 41 c1 c1 10 45 31 c8 45 89 c1 44 RSP: 0018:ffffc90003c7f9a0 EFLAGS: 00000292 RAX: 00000000c6e26257 RBX: 00000000ed84ec42 RCX: 0000000000000001 RDX: ffffc90003c7fa40 RSI: 0000000000400cc0 RDI: 0000000000000008 RBP: 0000000000400cc0 R08: 0000000083f4dd6b R09: 000000002095e9fa R10: 0000000000000001 R11: 0000000000000000 R12: ffffc90003c7fa10 R13: 000000000000000a R14: 000000000000000a R15: ffff88818cb40d40 kasan_save_stack+0x38/0x50 mm/kasan/common.c:40 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] ____kasan_kmalloc mm/kasan/common.c:513 [inline] ____kasan_kmalloc mm/kasan/common.c:472 [inline] __kasan_kmalloc+0xa9/0xd0 mm/kasan/common.c:522 kmalloc include/linux/slab.h:590 [inline] io_add_buffers fs/io_uring.c:4445 [inline] io_provide_buffers fs/io_uring.c:4479 [inline] io_issue_sqe+0x2887/0x7060 fs/io_uring.c:6748 __io_queue_sqe fs/io_uring.c:7018 [inline] io_req_task_submit+0xce/0x450 fs/io_uring.c:2321 tctx_task_work+0x1b3/0x630 fs/io_uring.c:2245 task_work_run+0xdd/0x1a0 kernel/task_work.c:164 tracehook_notify_signal include/linux/tracehook.h:214 [inline] handle_signal_work kernel/entry/common.c:146 [inline] exit_to_user_mode_loop kernel/entry/common.c:172 [inline] exit_to_user_mode_prepare+0x256/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:0x7f80d9e46ae9 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:00007f80d739b188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 0000000000000800 RBX: 00007f80d9f5a020 RCX: 00007f80d9e46ae9 RDX: 0000000000000000 RSI: 000000000000450e RDI: 0000000000000006 RBP: 00007f80d9ea0f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f80da48db2f R14: 00007f80d739b300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 44 24 08 rex.R and $0x8,%al 3: 4c 89 04 24 mov %r8,(%rsp) 7: e8 34 e5 be fd callq 0xfdbee540 c: 48 8b 44 24 08 mov 0x8(%rsp),%rax 11: 4c 8b 04 24 mov (%rsp),%r8 15: e9 b9 fb ff ff jmpq 0xfffffbd3 1a: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 20: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 27: fc ff df * 2a: 48 89 fa mov %rdi,%rdx <-- trapping instruction 2d: 41 55 push %r13 2f: 48 c1 ea 03 shr $0x3,%rdx 33: 41 54 push %r12 35: 55 push %rbp 36: 48 89 fd mov %rdi,%rbp 39: 53 push %rbx 3a: 48 83 ec 08 sub $0x8,%rsp 3e: 80 .byte 0x80 3f: 3c .byte 0x3c