INFO: task syz-executor.2:25800 blocked for more than 143 seconds. Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28456 pid:25800 ppid: 25674 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0xadf/0x52b0 kernel/sched/core.c:6494 schedule+0xda/0x1b0 kernel/sched/core.c:6570 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6629 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0xa44/0x1350 kernel/locking/mutex.c:747 io_uring_del_tctx_node+0x110/0x2b6 io_uring/tctx.c:175 io_uring_clean_tctx+0xce/0x174 io_uring/tctx.c:191 io_uring_cancel_generic+0x5aa/0x602 io_uring/io_uring.c:2852 io_uring_files_cancel include/linux/io_uring.h:44 [inline] do_exit+0x4f9/0x29b0 kernel/exit.c:750 do_group_exit+0xd2/0x2f0 kernel/exit.c:925 get_signal+0x238c/0x2610 kernel/signal.c:2857 arch_do_signal_or_restart+0x82/0x2300 arch/x86/kernel/signal.c:869 exit_to_user_mode_loop kernel/entry/common.c:166 [inline] exit_to_user_mode_prepare+0x15f/0x250 kernel/entry/common.c:201 __syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline] syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294 do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6169289409 RSP: 002b:00007f616a3f5218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f616939bf88 RCX: 00007f6169289409 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f616939bf88 RBP: 00007f616939bf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f616939bf8c R13: 00007ffcbd3d356f R14: 00007f616a3f5300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8bf888b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8bf885b0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8bf89400 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6492 2 locks held by kworker/u4:2/33: 2 locks held by getty/3286: #0: ffff888026147098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef0/0x13e0 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.2/25588: 1 lock held by syz-executor.2/25800: #0: ffff8880743a90a8 (&ctx->uring_lock){+.+.}-{3:3}, at: io_uring_del_tctx_node+0x110/0x2b6 io_uring/tctx.c:175 2 locks held by syz-executor.2/25801: 2 locks held by syz-executor.2/26219: #0: ffff88804432f0a8 (&ctx->uring_lock){+.+.}-{3:3}, at: __do_sys_io_uring_enter+0xb7a/0x1ea0 io_uring/io_uring.c:3053 #1: ffff888140c888c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] #1: ffff888140c888c0 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x153/0x550 mm/readahead.c:220 2 locks held by syz-executor.2/26308: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x46/0x14f lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x206/0x250 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xc18/0xf50 kernel/hung_task.c:369 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 25801 Comm: syz-executor.2 Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:__lock_acquire+0x8cc/0x56d0 kernel/locking/lockdep.c:5023 Code: e6 4c 89 ef e8 65 d9 ff ff 85 c0 0f 84 79 05 00 00 48 c7 c2 c0 48 1b 91 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 <48> c7 c0 c0 48 1b 91 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 8e RSP: 0018:ffffc9000a51e6a0 EFLAGS: 00000016 RAX: dffffc0000000000 RBX: 0000000000000216 RCX: 1ffffffff211cd5e RDX: 0000000000000004 RSI: 0000000000000200 RDI: ffffffff908e6af0 RBP: 0000000000000000 R08: 0000000000000000 R09: ffffffff908e4947 R10: 0000000000000001 R11: 0000000000000000 R12: ffff8880342f8af0 R13: ffff8880342f8000 R14: ffff8880342f8a78 R15: dffffc0000000000 FS: 00007f616a3d4700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c023918620 CR3: 0000000039281000 CR4: 0000000000350ee0 Call Trace: lock_acquire kernel/locking/lockdep.c:5666 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631 rcu_lock_acquire include/linux/rcupdate.h:280 [inline] rcu_read_lock include/linux/rcupdate.h:706 [inline] folio_evictable+0x38/0x230 mm/internal.h:135 move_pages_to_lru+0x227/0x1150 mm/vmscan.c:2334 shrink_inactive_list mm/vmscan.c:2450 [inline] shrink_list mm/vmscan.c:2674 [inline] shrink_lruvec+0xcfd/0x2650 mm/vmscan.c:2991 shrink_node_memcgs mm/vmscan.c:3180 [inline] shrink_node+0x85e/0x1e80 mm/vmscan.c:3304 shrink_zones mm/vmscan.c:3542 [inline] do_try_to_free_pages+0x3b4/0x17a0 mm/vmscan.c:3601 try_to_free_mem_cgroup_pages+0x364/0x960 mm/vmscan.c:3916 reclaim_high.constprop.0+0x182/0x230 mm/memcontrol.c:2335 mem_cgroup_handle_over_high+0x18c/0x510 mm/memcontrol.c:2520 try_charge_memcg+0xe7b/0x13f0 mm/memcontrol.c:2758 try_charge mm/memcontrol.c:2769 [inline] charge_memcg+0x31/0x320 mm/memcontrol.c:6788 __mem_cgroup_charge+0x27/0x90 mm/memcontrol.c:6809 mem_cgroup_charge include/linux/memcontrol.h:689 [inline] __filemap_add_folio+0x511/0x1620 mm/filemap.c:851 filemap_add_folio+0xab/0x1d0 mm/filemap.c:933 page_cache_ra_unbounded+0x1d3/0x550 mm/readahead.c:245 do_page_cache_ra mm/readahead.c:293 [inline] page_cache_ra_order+0x69a/0x970 mm/readahead.c:550 ondemand_readahead+0x6fc/0x1160 mm/readahead.c:672 page_cache_sync_ra+0x1c5/0x200 mm/readahead.c:699 page_cache_sync_readahead include/linux/pagemap.h:1215 [inline] filemap_get_pages+0x2a1/0x1790 mm/filemap.c:2566 filemap_read+0x314/0xe10 mm/filemap.c:2660 blkdev_read_iter+0x3e7/0x750 block/fops.c:598 call_read_iter include/linux/fs.h:2181 [inline] io_iter_do_read io_uring/rw.c:643 [inline] io_read+0x31f/0x13a0 io_uring/rw.c:765 io_issue_sqe+0x15e/0xd20 io_uring/io_uring.c:1577 io_queue_sqe io_uring/io_uring.c:1755 [inline] io_submit_sqe io_uring/io_uring.c:2013 [inline] io_submit_sqes+0x94e/0x1d30 io_uring/io_uring.c:2124 __do_sys_io_uring_enter+0xb85/0x1ea0 io_uring/io_uring.c:3054 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+0x63/0xcd RIP: 0033:0x7f6169289409 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f616a3d4168 EFLAGS: 00000246 ORIG_RAX: 00000000000001aa RAX: ffffffffffffffda RBX: 00007f616939c050 RCX: 00007f6169289409 RDX: 0000000000000000 RSI: 0000000000000103 RDI: 0000000000000003 RBP: 00007f61692e4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcbd3d356f R14: 00007f616a3d4300 R15: 0000000000022000