INFO: task kworker/u4:6:5164 blocked for more than 143 seconds. Not tainted 6.3.0-next-20230428-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/u4:6 state:D stack:25864 pid:5164 ppid:2 flags:0x00004000 Workqueue: events_unbound io_ring_exit_work Call Trace: context_switch kernel/sched/core.c:5343 [inline] __schedule+0x1d15/0x5790 kernel/sched/core.c:6669 schedule+0xde/0x1a0 kernel/sched/core.c:6745 schedule_timeout+0x276/0x2b0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:85 [inline] __wait_for_common+0x1ce/0x5c0 kernel/sched/completion.c:106 io_ring_exit_work+0x51d/0x14b0 io_uring/io_uring.c:3077 process_one_work+0x99a/0x15e0 kernel/workqueue.c:2405 worker_thread+0x67d/0x10c0 kernel/workqueue.c:2552 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/13: #0: ffffffff8c798df0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by rcu_tasks_trace/14: #0: ffffffff8c798af0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:518 1 lock held by khungtaskd/28: #0: ffffffff8c799a00 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x390 kernel/locking/lockdep.c:6545 2 locks held by getty/4754: #0: ffff8880282ce098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015b02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2176 2 locks held by kworker/u4:6/5164: #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1324 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:643 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:670 [inline] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x883/0x15e0 kernel/workqueue.c:2376 #1: ffffc90004edfdb0 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work+0x8b7/0x15e0 kernel/workqueue.c:2380 2 locks held by syz-executor.0/17465: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.3.0-next-20230428-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106 nmi_cpu_backtrace+0x29c/0x350 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2a4/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xe16/0x1090 kernel/hung_task.c:379 kthread+0x344/0x440 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 17465 Comm: syz-executor.0 Not tainted 6.3.0-next-20230428-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:__kasan_check_read+0x0/0x20 mm/kasan/shadow.c:30 Code: 89 54 24 08 0f 85 4a ff ff ff e9 1b fe ff ff 48 83 c4 60 4c 89 c6 48 c7 c7 08 2c f1 8b 5b 5d 41 5c e9 54 14 91 ff 0f 1f 40 00 0f 1e fa 48 8b 0c 24 89 f6 31 d2 e9 2f f4 ff ff 66 66 2e 0f 1f RSP: 0018:ffffc9000baf7478 EFLAGS: 00000003 RAX: 0000000000000016 RBX: 00000000000005a4 RCX: ffffffff8165a407 RDX: 1ffff11003db38cd RSI: 0000000000000008 RDI: ffffffff91534db0 RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffff91534d07 R10: fffffbfff22a69a0 R11: 1ffffffff18f48f9 R12: ffff88801ed9c670 R13: ffff88801ed9bb80 R14: 0000000000000000 R15: 882002f68ab2362c FS: 00007f64543c0700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2198bfe000 CR3: 000000002acfa000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: instrument_atomic_read include/linux/instrumented.h:68 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] hlock_class kernel/locking/lockdep.c:228 [inline] __lock_acquire+0x171f/0x5df0 kernel/locking/lockdep.c:5070 lock_acquire.part.0+0x11c/0x370 kernel/locking/lockdep.c:5691 rcu_lock_acquire include/linux/rcupdate.h:327 [inline] rcu_read_lock include/linux/rcupdate.h:773 [inline] xa_load+0xcf/0x2c0 lib/xarray.c:1461 __readahead_folio include/linux/pagemap.h:1250 [inline] readahead_folio include/linux/pagemap.h:1283 [inline] mpage_readahead+0x1a2/0x580 fs/mpage.c:378 read_pages+0x1a2/0xd40 mm/readahead.c:161 page_cache_ra_unbounded+0x40e/0x5e0 mm/readahead.c:254 do_page_cache_ra mm/readahead.c:300 [inline] page_cache_ra_order+0x6ec/0xa00 mm/readahead.c:560 do_sync_mmap_readahead mm/filemap.c:3187 [inline] filemap_fault+0x140a/0x24a0 mm/filemap.c:3279 __do_fault+0x107/0x600 mm/memory.c:4180 do_read_fault mm/memory.c:4534 [inline] do_fault mm/memory.c:4663 [inline] do_pte_missing mm/memory.c:3651 [inline] handle_pte_fault mm/memory.c:4951 [inline] __handle_mm_fault+0x2693/0x3c30 mm/memory.c:5093 handle_mm_fault+0x2af/0x9f0 mm/memory.c:5247 do_user_addr_fault+0x53d/0x1240 arch/x86/mm/fault.c:1462 handle_page_fault arch/x86/mm/fault.c:1556 [inline] exc_page_fault+0x98/0x170 arch/x86/mm/fault.c:1612 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f645367b576 Code: 00 00 00 00 66 0f ef c0 66 0f ef c9 66 0f ef d2 66 0f ef db 48 89 f8 48 89 f9 48 81 e1 ff 0f 00 00 48 81 f9 cf 0f 00 00 77 6a 0f 6f 20 66 0f 74 e0 66 0f d7 d4 85 d2 74 04 0f bc c2 c3 48 83 RSP: 002b:00007f64543bf8e8 EFLAGS: 00010293 RAX: 0000000020002300 RBX: 0000000000000000 RCX: 0000000000000300 RDX: 00007f64543c0018 RSI: 00007f64543bfe08 RDI: 0000000020002300 RBP: 00007f64543bfe40 R08: 00000000ffffffff R09: 000000000000000b R10: 0000000020002300 R11: 0000000000000000 R12: 00007f64543bfe60 R13: 00007f64536e6892 R14: 00007f64543bffe0 R15: 0000000000000073