INFO: task kworker/u4:7:22454 blocked for more than 143 seconds. Not tainted 5.15.0-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:7 state:D stack:26480 pid:22454 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4969 [inline] __schedule+0xa9a/0x4940 kernel/sched/core.c:6250 schedule+0xd2/0x260 kernel/sched/core.c:6323 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382 __mutex_lock_common kernel/locking/mutex.c:680 [inline] __mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740 io_uring_try_cancel_iowq fs/io_uring.c:9617 [inline] io_uring_try_cancel_requests+0x124/0x6f9 fs/io_uring.c:9647 io_ring_exit_work+0xff/0xbe8 fs/io_uring.c:9445 process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298 worker_thread+0x658/0x11f0 kernel/workqueue.c:2445 kthread+0x405/0x4f0 kernel/kthread.c:327 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Showing all locks held in the system: 1 lock held by systemd/1: #0: ffff8880b9c39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 1 lock held by khungtaskd/27: #0: ffffffff8b983a20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6461 1 lock held by in:imklog/6185: 1 lock held by syz-fuzzer/6487: #0: ffff88806f4d7338 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff88806f4d7338 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_fault+0x15ad/0x26d0 mm/filemap.c:3088 1 lock held by syz-fuzzer/11159: #0: ffff88806f4d7338 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline] #0: ffff88806f4d7338 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_fault+0x15ad/0x26d0 mm/filemap.c:3088 3 locks held by kworker/u4:7/22454: #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:635 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline] #0: ffff888010c69138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x896/0x1690 kernel/workqueue.c:2269 #1: ffffc90005acfdb0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff888038e3c0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9617 [inline] #2: ffff888038e3c0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x124/0x6f9 fs/io_uring.c:9647 1 lock held by syz-executor.5/29022: 1 lock held by syz-executor.5/29026: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 29026 Comm: syz-executor.5 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:check_preemption_disabled+0x2c/0x170 lib/smp_processor_id.c:16 Code: 41 55 49 89 f5 41 54 55 48 89 fd 53 0f 1f 44 00 00 65 44 8b 25 7d 04 c9 76 65 8b 1d ee 5e c9 76 81 e3 ff ff ff 7f 31 ff 89 de <0f> 1f 44 00 00 85 db 74 11 0f 1f 44 00 00 44 89 e0 5b 5d 41 5c 41 RSP: 0018:ffffc9000e0efba8 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 0000000000000002 RCX: 0000000000000040 RDX: 0000000000000001 RSI: 0000000000000002 RDI: 0000000000000000 RBP: ffffffff89e490e0 R08: 0000000000400cc0 R09: ffff8881a861de80 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff89e490a0 R14: 0000000000000020 R15: 0000000000400cc0 FS: 00007fa183a09700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055a3c5fe21f0 CR3: 000000002caab000 CR4: 00000000003506f0 Call Trace: rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1169 [inline] rcu_lockdep_current_cpu_online+0x2d/0x150 kernel/rcu/tree.c:1160 rcu_read_lock_held_common kernel/rcu/update.c:112 [inline] rcu_read_lock_held_common kernel/rcu/update.c:102 [inline] rcu_read_lock_sched_held+0x25/0x70 kernel/rcu/update.c:123 trace_kmalloc include/trace/events/kmem.h:46 [inline] trace_kmalloc+0x32/0xf0 include/trace/events/kmem.h:46 kmem_cache_alloc_trace+0x16b/0x2c0 mm/slub.c:3260 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:6978 [inline] io_req_task_submit+0xce/0x450 fs/io_uring.c:2282 tctx_task_work+0x1b3/0x630 fs/io_uring.c:2206 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:0x7fa1864d5ae9 Code: Unable to access opcode bytes at RIP 0x7fa1864d5abf. RSP: 002b:00007fa183a09188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 00000000000002ff RBX: 00007fa1865e90e0 RCX: 00007fa1864d5ae9 RDX: 0000000000000000 RSI: 00000000000002ff RDI: 0000000000000003 RBP: 00007fa18652ff25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa186b1cb2f R14: 00007fa183a09300 R15: 0000000000022000 ---------------- Code disassembly (best guess): 0: 41 55 push %r13 2: 49 89 f5 mov %rsi,%r13 5: 41 54 push %r12 7: 55 push %rbp 8: 48 89 fd mov %rdi,%rbp b: 53 push %rbx c: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 11: 65 44 8b 25 7d 04 c9 mov %gs:0x76c9047d(%rip),%r12d # 0x76c90496 18: 76 19: 65 8b 1d ee 5e c9 76 mov %gs:0x76c95eee(%rip),%ebx # 0x76c95f0e 20: 81 e3 ff ff ff 7f and $0x7fffffff,%ebx 26: 31 ff xor %edi,%edi 28: 89 de mov %ebx,%esi * 2a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) <-- trapping instruction 2f: 85 db test %ebx,%ebx 31: 74 11 je 0x44 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 44 89 e0 mov %r12d,%eax 3b: 5b pop %rbx 3c: 5d pop %rbp 3d: 41 5c pop %r12 3f: 41 rex.B