INFO: task syz-executor.2:10773 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29592 pid:10773 ppid: 6529 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_init_wq_offload fs/io_uring.c:8575 [inline] io_uring_alloc_task_context+0xf9/0x517 fs/io_uring.c:8616 __io_uring_add_tctx_node.cold+0x19/0x188 fs/io_uring.c:9681 io_uring_add_tctx_node fs/io_uring.c:9726 [inline] __do_sys_io_uring_enter+0x19db/0x1f50 fs/io_uring.c:10035 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:0x7ff83af4fae9 RSP: 002b:00007ff8384a4188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007ff83b063020 RCX: 00007ff83af4fae9 RDX: 0000000000000000 RSI: 0000000000000878 RDI: 0000000000000003 RBP: 00007ff83afa9f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5ff97ecf R14: 00007ff8384a4300 R15: 0000000000022000 INFO: task syz-executor.2:10800 blocked for more than 143 seconds. Not tainted 5.16.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28840 pid:10800 ppid: 6529 flags:0x00004000 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_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9746 io_uring_clean_tctx fs/io_uring.c:9762 [inline] io_uring_cancel_generic+0x5d5/0x690 fs/io_uring.c:9851 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x60c/0x2b40 kernel/exit.c:787 do_group_exit+0x125/0x310 kernel/exit.c:929 get_signal+0x47d/0x2220 kernel/signal.c:2830 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:0x7ff83af4fae9 RSP: 002b:00007ff838483218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000000 RBX: 00007ff83b0630e8 RCX: 00007ff83af4fae9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007ff83b0630e8 RBP: 00007ff83b0630e0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ff83b0630ec R13: 00007ffd5ff97ecf R14: 00007ff838483300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8bb83ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 1 lock held by in:imklog/6214: #0: ffff8880733f85f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by syz-executor.2/10767: 1 lock held by syz-executor.2/10773: #0: ffff888080cdf0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_init_wq_offload fs/io_uring.c:8575 [inline] #0: ffff888080cdf0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_alloc_task_context+0xf9/0x517 fs/io_uring.c:8616 1 lock held by syz-executor.2/10800: #0: ffff88807eb440a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x109/0x20a fs/io_uring.c:9746 1 lock held by syz-executor.2/10802: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-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+0x405/0x4f0 kernel/kthread.c:327 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: 10802 Comm: syz-executor.2 Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:29 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:330 [inline] RIP: 0010:rcu_is_watching+0x58/0xb0 kernel/rcu/tree.c:1121 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 51 48 03 1c ed a0 48 56 8b 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 19 8b 03 83 e0 01 RSP: 0018:ffffc90016be7858 EFLAGS: 00000212 RAX: dffffc0000000000 RBX: ffff8880b9d3aa50 RCX: ffffffff815d0368 RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffffffff8b5648a8 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d917357 R10: fffffbfff1b22e6a R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: ffffffff8bca81a0 R15: 0000000000000000 FS: 00007ff838462700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0104bd808 CR3: 0000000076a51000 CR4: 0000000000350ee0 Call Trace: rcu_read_lock_held_common kernel/rcu/update.c:108 [inline] rcu_read_lock_sched_held+0x1c/0x70 kernel/rcu/update.c:123 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0x442/0x510 kernel/locking/lockdep.c:5608 __fs_reclaim_acquire mm/page_alloc.c:4535 [inline] fs_reclaim_acquire+0x115/0x160 mm/page_alloc.c:4549 might_alloc include/linux/sched/mm.h:227 [inline] slab_pre_alloc_hook mm/slab.h:492 [inline] slab_alloc_node mm/slub.c:3148 [inline] slab_alloc mm/slub.c:3242 [inline] kmem_cache_alloc_trace+0x3b/0x2c0 mm/slub.c:3259 kmalloc include/linux/slab.h:590 [inline] io_add_buffers fs/io_uring.c:4405 [inline] io_provide_buffers fs/io_uring.c:4439 [inline] io_issue_sqe+0x2887/0x7010 fs/io_uring.c:6705 __io_queue_sqe fs/io_uring.c:6974 [inline] io_queue_sqe fs/io_uring.c:7016 [inline] io_submit_sqe fs/io_uring.c:7219 [inline] io_submit_sqes+0x1bca/0x8a20 fs/io_uring.c:7325 __do_sys_io_uring_enter+0xf6e/0x1f50 fs/io_uring.c:10039 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:0x7ff83af4fae9 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:00007ff838462188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007ff83b0631a0 RCX: 00007ff83af4fae9 RDX: 0000000000000700 RSI: 00000000004002ff RDI: 0000000000000003 RBP: 00007ff83afa9f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd5ff97ecf R14: 00007ff838462300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 75 51 jne 0x5e d: 48 03 1c ed a0 48 56 add -0x74a9b760(,%rbp,8),%rbx 14: 8b 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 89 da mov %rbx,%rdx 22: 48 c1 ea 03 shr $0x3,%rdx 26: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx * 2a: 48 89 d8 mov %rbx,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 d0 cmp %dl,%al 35: 7c 04 jl 0x3b 37: 84 d2 test %dl,%dl 39: 75 19 jne 0x54 3b: 8b 03 mov (%rbx),%eax 3d: 83 e0 01 and $0x1,%eax