INFO: task kworker/u4:1:24 blocked for more than 143 seconds. Not tainted 5.11.0-rc5-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:1 state:D stack:24888 pid: 24 ppid: 2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:4327 [inline] __schedule+0x90c/0x21a0 kernel/sched/core.c:5078 schedule+0xcf/0x270 kernel/sched/core.c:5157 schedule_timeout+0x1d8/0x250 kernel/time/timer.c:1854 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+0x163/0x260 kernel/sched/completion.c:138 kthread_park+0x122/0x1b0 kernel/kthread.c:582 io_sq_thread_park fs/io_uring.c:7462 [inline] io_sq_thread_park fs/io_uring.c:7456 [inline] io_sq_thread_stop+0xfe/0x570 fs/io_uring.c:7480 io_finish_async fs/io_uring.c:7498 [inline] io_ring_ctx_free fs/io_uring.c:8663 [inline] io_ring_exit_work+0x62/0x6d0 fs/io_uring.c:8756 process_one_work+0x98d/0x15f0 kernel/workqueue.c:2275 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Showing all locks held in the system: 3 locks held by kworker/u4:1/24: #0: ffff888010071138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888010071138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888010071138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888010071138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888010071138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888010071138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x871/0x15f0 kernel/workqueue.c:2246 #1: ffffc90000e07da8 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x15f0 kernel/workqueue.c:2250 #2: ffff888014419470 (&sqd->lock){+.+.}-{3:3}, at: io_sq_thread_park fs/io_uring.c:7461 [inline] #2: ffff888014419470 (&sqd->lock){+.+.}-{3:3}, at: io_sq_thread_park fs/io_uring.c:7456 [inline] #2: ffff888014419470 (&sqd->lock){+.+.}-{3:3}, at: io_sq_thread_stop+0xd6/0x570 fs/io_uring.c:7480 3 locks held by kworker/u4:2/27: 1 lock held by khungtaskd/1648: #0: ffffffff8b373da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6259 2 locks held by in:imklog/8148: #0: ffff888022448b70 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:947 #1: ffffffff8b373da0 (rcu_read_lock){....}-{1:2}, at: rq_lock kernel/sched/sched.h:1320 [inline] #1: ffffffff8b373da0 (rcu_read_lock){....}-{1:2}, at: ttwu_queue kernel/sched/core.c:3188 [inline] #1: ffffffff8b373da0 (rcu_read_lock){....}-{1:2}, at: try_to_wake_up+0x5e6/0x14a0 kernel/sched/core.c:3468 2 locks held by agetty/8390: #0: ffff888011217098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:266 #1: ffffc900010302e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x21d/0x1aa0 drivers/tty/n_tty.c:2155 2 locks held by kworker/u4:5/11142: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1648 Comm: khungtaskd Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105 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:209 [inline] watchdog+0xd43/0xfa0 kernel/hung_task.c:294 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4879 Comm: systemd-journal Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memcpy+0x20/0x60 mm/kasan/shadow.c:64 Code: 5d c3 0f 1f 84 00 00 00 00 00 41 55 49 89 fd 41 54 49 89 d4 31 d2 55 48 8b 4c 24 18 48 89 f5 4c 89 e6 48 89 ef e8 c0 f6 ff ff <84> c0 74 2c 48 8b 4c 24 18 ba 01 00 00 00 4c 89 e6 4c 89 ef e8 a7 RSP: 0018:ffffc90001677970 EFLAGS: 00000246 RAX: 0000000000000001 RBX: 1ffff920002cef35 RCX: ffffffff838529a3 RDX: ffffed1003b8b079 RSI: 0000000000000014 RDI: ffff88801dc583b4 RBP: ffff88801dc583b4 R08: 0000000000000000 R09: ffff88801dc583c7 R10: ffffed1003b8b078 R11: 0000000000000008 R12: 0000000000000014 R13: ffffc90001677ab8 R14: 0000000000000005 R15: 0000000000000008 FS: 00007fe1e29e58c0(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe1dff9e000 CR3: 0000000013cd4000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: memcpy include/linux/string.h:447 [inline] avc_has_perm_noaudit+0x153/0x390 security/selinux/avc.c:1156 selinux_inode_permission+0x3ff/0x670 security/selinux/hooks.c:3057 security_inode_permission+0x92/0xf0 security/security.c:1260 inode_permission.part.0+0x113/0x410 fs/namei.c:471 inode_permission fs/namei.c:444 [inline] may_lookup fs/namei.c:1569 [inline] link_path_walk.part.0+0x23d/0xc70 fs/namei.c:2128 link_path_walk fs/namei.c:2112 [inline] path_lookupat+0xb7/0x830 fs/namei.c:2335 filename_lookup+0x19f/0x560 fs/namei.c:2369 user_path_at include/linux/namei.h:59 [inline] do_faccessat+0x129/0x820 fs/open.c:423 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7fe1e1ca19c7 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:00007ffdd3dcdf98 EFLAGS: 00000246 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00007ffdd3dd0eb0 RCX: 00007fe1e1ca19c7 RDX: 00007fe1e2712a00 RSI: 0000000000000000 RDI: 0000556001bf09a3 RBP: 00007ffdd3dcdfd0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ffdd3dd0eb0 R15: 00007ffdd3dce4c0