INFO: task kworker/u4:2:19204 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:kworker/u4:2 state:D stack:26296 pid:19204 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work 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_try_cancel_iowq fs/io_uring.c:9613 [inline] io_uring_try_cancel_requests+0x124/0x6f9 fs/io_uring.c:9643 io_ring_exit_work+0xff/0xbe8 fs/io_uring.c:9441 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 khungtaskd/27: #0: ffffffff8bb83ae0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458 3 locks held by kworker/u4:3/54: #0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 #2: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 1 lock held by systemd-udevd/2971: 1 lock held by in:imklog/6221: #0: ffff8880193caaf0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 1 lock held by systemd-udevd/16726: 3 locks held by systemd-udevd/16742: 3 locks held by kworker/u4:2/19204: #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: ffffc90003527db0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273 #2: ffff888078c5f0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_iowq fs/io_uring.c:9613 [inline] #2: ffff888078c5f0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_try_cancel_requests+0x124/0x6f9 fs/io_uring.c:9643 1 lock held by syz-executor.1/29666: ============================================= 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: 2955 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_freepointer mm/slub.c:352 [inline] RIP: 0010:get_freepointer_safe mm/slub.c:366 [inline] RIP: 0010:slab_alloc_node mm/slub.c:3202 [inline] RIP: 0010:slab_alloc mm/slub.c:3242 [inline] RIP: 0010:kmem_cache_alloc+0xea/0x3a0 mm/slub.c:3247 Code: 48 03 0d 09 ca 43 7e 48 8b 51 08 48 8b 01 48 83 79 10 00 48 89 04 24 0f 84 6c 02 00 00 48 85 c0 0f 84 63 02 00 00 48 8b 7d 00 <8b> 4d 28 40 f6 c7 0f 48 8b 1c 08 0f 85 6d 02 00 00 48 8d 4a 08 65 RSP: 0018:ffffc9000204fa10 EFLAGS: 00000282 RAX: ffff88814bd995b0 RBX: 0000000000000050 RCX: ffff8880b9d408b0 RDX: 000000000031a7a9 RSI: 0000000000000050 RDI: 00000000000408b0 RBP: ffff888010dd0000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff839f81d4 R14: 0000000000000dc0 R15: 0000000000000dc0 FS: 00007f52ad5368c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559576454a50 CR3: 000000007b5bd000 CR4: 00000000003526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmem_cache_zalloc include/linux/slab.h:714 [inline] lsm_file_alloc security/security.c:572 [inline] security_file_alloc+0x34/0x170 security/security.c:1516 __alloc_file+0xd8/0x280 fs/file_table.c:106 alloc_empty_file+0x6d/0x170 fs/file_table.c:150 path_openat+0xe1/0x2750 fs/namei.c:3545 do_filp_open+0x1aa/0x400 fs/namei.c:3586 do_sys_openat2+0x16d/0x4d0 fs/open.c:1212 do_sys_open fs/open.c:1228 [inline] __do_sys_open fs/open.c:1236 [inline] __se_sys_open fs/open.c:1232 [inline] __x64_sys_open+0x119/0x1c0 fs/open.c:1232 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:0x7f52acac5840 Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24 RSP: 002b:00007ffe551bf7e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00007ffe551bfaf0 RCX: 00007f52acac5840 RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000564af4dc3610 RBP: 000000000000000d R08: 0000000000000000 R09: 00000000ffffffff R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000564af4dbf040 R14: 00007ffe551bfab0 R15: 0000564af4dcc820 ---------------- Code disassembly (best guess): 0: 48 03 0d 09 ca 43 7e add 0x7e43ca09(%rip),%rcx # 0x7e43ca10 7: 48 8b 51 08 mov 0x8(%rcx),%rdx b: 48 8b 01 mov (%rcx),%rax e: 48 83 79 10 00 cmpq $0x0,0x10(%rcx) 13: 48 89 04 24 mov %rax,(%rsp) 17: 0f 84 6c 02 00 00 je 0x289 1d: 48 85 c0 test %rax,%rax 20: 0f 84 63 02 00 00 je 0x289 26: 48 8b 7d 00 mov 0x0(%rbp),%rdi * 2a: 8b 4d 28 mov 0x28(%rbp),%ecx <-- trapping instruction 2d: 40 f6 c7 0f test $0xf,%dil 31: 48 8b 1c 08 mov (%rax,%rcx,1),%rbx 35: 0f 85 6d 02 00 00 jne 0x2a8 3b: 48 8d 4a 08 lea 0x8(%rdx),%rcx 3f: 65 gs