INFO: task syz-executor.2:24682 blocked for more than 145 seconds. Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:23592 pid:24682 ppid:5097 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5293 [inline] __schedule+0x9d1/0xe40 kernel/sched/core.c:6606 schedule+0xcb/0x190 kernel/sched/core.c:6682 schedule_timeout+0xac/0x300 kernel/time/timer.c:2143 do_wait_for_common+0x3ea/0x560 kernel/sched/completion.c:85 __wait_for_common kernel/sched/completion.c:106 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x46/0x60 kernel/sched/completion.c:138 io_wq_exit_workers io_uring/io-wq.c:1259 [inline] io_wq_put_and_exit+0x60f/0xcf0 io_uring/io-wq.c:1294 io_uring_clean_tctx+0x164/0x1d0 io_uring/tctx.c:193 io_uring_cancel_generic+0x60e/0x670 io_uring/io_uring.c:3143 io_uring_files_cancel include/linux/io_uring.h:55 [inline] do_exit+0x2ad/0x2150 kernel/exit.c:822 do_group_exit+0x1fd/0x2b0 kernel/exit.c:1012 get_signal+0x1755/0x1820 kernel/signal.c:2859 arch_do_signal_or_restart+0x8d/0x5f0 arch/x86/kernel/signal.c:306 exit_to_user_mode_loop+0x74/0x160 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x2e/0x60 kernel/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f866ac8c0c9 RSP: 002b:00007f866ba25218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f866adabf88 RCX: 00007f866ac8c0c9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f866adabf88 RBP: 00007f866adabf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f866adabf8c R13: 00007ffcad0ed72f R14: 00007f866ba25300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d523910 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d524110 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8d523740 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/4740: #0: ffff88802cf63098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 4 locks held by kworker/0:15/9089: #0: ffff8880b983a1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:537 #1: ffff8880b9827748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x682/0xa30 kernel/sched/psi.c:976 #2: ffff8880b9828558 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x12a/0x270 kernel/time/timer.c:999 #3: ffffffff92453c18 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x96/0x6e0 lib/debugobjects.c:665 2 locks held by kworker/u4:17/22362: 2 locks held by iou-wrk-24682/24730: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e3/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 24730 Comm: iou-wrk-24682 Not tainted 6.2.0-rc7-syzkaller-00002-gd2d11f342b17 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 RIP: 0010:check_wait_context kernel/locking/lockdep.c:4754 [inline] RIP: 0010:__lock_acquire+0x7ec/0x1f60 kernel/locking/lockdep.c:5005 Code: 44 6d 00 48 c1 e0 06 48 8d a8 80 10 67 90 48 ba 00 00 00 00 00 fc ff df 48 81 c5 b8 00 00 00 48 89 e8 48 c1 e8 03 0f b6 04 10 <84> c0 0f 85 c9 00 00 00 8b 45 00 41 38 c5 41 0f b6 cd 41 89 c5 44 RSP: 0018:ffffc900157b71e8 EFLAGS: 00000806 RAX: 0000000000000000 RBX: ffff888023410a58 RCX: ffffffff816b8e0f RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffffff9097b2d0 RBP: ffffffff906ef5b8 R08: dffffc0000000000 R09: fffffbfff212f65b R10: fffffbfff212f65b R11: 1ffffffff212f65a R12: 0000000000000000 R13: ffff888023410004 R14: 0000000000000000 R15: ffff888023410a58 FS: 00007f866ba25700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0004136c0 CR3: 0000000021c81000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5668 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:325 rcu_read_lock include/linux/rcupdate.h:764 [inline] find_lock_entries+0x1b2/0x1330 mm/filemap.c:2104 invalidate_mapping_pagevec+0x54a/0x650 mm/truncate.c:509 drop_pagecache_sb+0x1c7/0x260 fs/drop_caches.c:39 iterate_supers+0x137/0x1f0 fs/super.c:724 drop_caches_sysctl_handler+0x81/0x160 fs/drop_caches.c:62 proc_sys_call_handler+0x561/0x880 fs/proc/proc_sysctl.c:604 call_write_iter include/linux/fs.h:2189 [inline] io_write+0x758/0x11b0 io_uring/rw.c:918 io_issue_sqe+0x44e/0xcd0 io_uring/io_uring.c:1851 io_wq_submit_work+0x44a/0x9c0 io_uring/io_uring.c:1927 io_worker_handle_work+0x8e1/0xee0 io_uring/io-wq.c:587 io_wqe_worker+0x36c/0xde0 io_uring/io-wq.c:632 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308