INFO: task syz-executor.5:30938 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:syz-executor.5 state:D stack:26920 pid:30938 ppid: 27007 flags:0x00024004 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_timeout+0x1db/0x2a0 kernel/time/timer.c:1857 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x174/0x270 kernel/sched/completion.c:138 io_wq_exit_workers fs/io-wq.c:1204 [inline] io_wq_put_and_exit+0x33a/0xb70 fs/io-wq.c:1239 io_uring_clean_tctx fs/io_uring.c:9774 [inline] io_uring_cancel_generic+0x61d/0x690 fs/io_uring.c:9855 io_uring_files_cancel include/linux/io_uring.h:16 [inline] do_exit+0x263/0x2a20 kernel/exit.c:781 do_group_exit+0x125/0x310 kernel/exit.c:923 get_signal+0x47d/0x21d0 kernel/signal.c:2855 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:0x7fcfe2a91ae9 RSP: 002b:00007fcfe0007188 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: 000000000000001a RBX: 00007fcfe2ba4f60 RCX: 00007fcfe2a91ae9 RDX: 0000000000000000 RSI: 00000000000045f5 RDI: 0000000000000003 RBP: 00007fcfe2aebf25 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc5db17baf R14: 00007fcfe0007300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b9829e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446 2 locks held by in:imklog/6174: #0: ffff888021c045f0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990 #1: ffffffff8b9829e0 (rcu_read_lock){....}-{1:2}, at: is_bpf_text_address+0x0/0x170 kernel/bpf/core.c:694 3 locks held by rs:main Q:Reg/6175: #0: ffff8880b9c31a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffff8880b9c1f9c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880 #2: ffff88801cebc9b8 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: inode_lock include/linux/fs.h:783 [inline] #2: ffff88801cebc9b8 (&sb->s_type->i_mutex_key#10){++++}-{3:3}, at: ext4_buffered_write_iter+0xb6/0x3b0 fs/ext4/file.c:263 2 locks held by agetty/6401: #0: ffff88801d5ca098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252 #1: ffffc900011bc2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113 3 locks held by kworker/u4:17/31831: #0: ffff8880b9c31a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478 #1: ffffc9000afd7db0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2272 #2: ffff8880b9c20298 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:946 ============================================= 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: 2931 Comm: systemd-journal Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:163 [inline] RIP: 0010:unwind_next_frame+0x23b/0x1ce0 arch/x86/kernel/unwind_orc.c:443 Code: 8d 43 ff 39 c6 0f 83 bc 13 00 00 48 b8 00 00 00 00 00 fc ff df 89 f2 48 8d 3c 95 a4 1f 86 8e 48 89 f9 48 c1 e9 03 0f b6 0c 01 <48> 89 f8 83 e0 07 83 c0 03 38 c8 7c 27 84 c9 74 23 48 89 54 24 30 RSP: 0018:ffffc900012df9d0 EFLAGS: 00000213 RAX: dffffc0000000000 RBX: 1ffff9200025bf42 RCX: 0000000000000000 RDX: 0000000000004e5e RSI: 0000000000004e5e RDI: ffffffff8e87591c RBP: 0000000000000001 R08: ffffffff8b7f90e0 R09: 0000000000000001 R10: fffff5200025bf60 R11: 0000000000086089 R12: ffffc900012dfaf0 R13: ffffc900012dfadd R14: ffffc900012dfaa8 R15: ffffffff814e5e8e FS: 00007fa8a7e678c0(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa8a4b46020 CR3: 000000007bab7000 CR4: 0000000000350ef0 Call Trace: arch_stack_walk+0x7d/0xe0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x8c/0xc0 kernel/stacktrace.c:121 kasan_save_stack+0x1b/0x40 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x83/0xb0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3213 [inline] slab_alloc mm/slub.c:3221 [inline] kmem_cache_alloc+0x209/0x390 mm/slub.c:3226 prepare_creds+0x3f/0x7b0 kernel/cred.c:260 access_override_creds fs/open.c:351 [inline] do_faccessat+0x3f4/0x850 fs/open.c:415 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:0x7fa8a71229c7 Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48 RSP: 002b:00007ffff8942d58 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffff8945c70 RCX: 00007fa8a71229c7 RDX: 00007fa8a7b93a00 RSI: 0000000000000000 RDI: 000056094c8289a3 RBP: 00007ffff8942d90 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffff8945c70 R15: 00007ffff8943280 ---------------- Code disassembly (best guess): 0: 8d 43 ff lea -0x1(%rbx),%eax 3: 39 c6 cmp %eax,%esi 5: 0f 83 bc 13 00 00 jae 0x13c7 b: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 12: fc ff df 15: 89 f2 mov %esi,%edx 17: 48 8d 3c 95 a4 1f 86 lea -0x7179e05c(,%rdx,4),%rdi 1e: 8e 1f: 48 89 f9 mov %rdi,%rcx 22: 48 c1 e9 03 shr $0x3,%rcx 26: 0f b6 0c 01 movzbl (%rcx,%rax,1),%ecx * 2a: 48 89 f8 mov %rdi,%rax <-- trapping instruction 2d: 83 e0 07 and $0x7,%eax 30: 83 c0 03 add $0x3,%eax 33: 38 c8 cmp %cl,%al 35: 7c 27 jl 0x5e 37: 84 c9 test %cl,%cl 39: 74 23 je 0x5e 3b: 48 89 54 24 30 mov %rdx,0x30(%rsp)