INFO: task syz.7.1019:12611 blocked for more than 145 seconds. Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.7.1019 state:D stack:25008 pid:12611 tgid:12610 ppid:12055 flags:0x00024000 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x1850/0x4c30 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6848 schedule_timeout+0xb0/0x290 kernel/time/sleep_timeout.c:75 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common kernel/sched/completion.c:116 [inline] wait_for_common kernel/sched/completion.c:127 [inline] wait_for_completion+0x355/0x620 kernel/sched/completion.c:148 io_wq_exit_workers io_uring/io-wq.c:1249 [inline] io_wq_put_and_exit+0x344/0x720 io_uring/io-wq.c:1277 io_uring_clean_tctx+0x168/0x1e0 io_uring/tctx.c:205 io_uring_cancel_generic+0x7fb/0x8b0 io_uring/io_uring.c:3203 io_uring_files_cancel include/linux/io_uring.h:20 [inline] do_exit+0x6a8/0x28e0 kernel/exit.c:894 do_group_exit+0x207/0x2c0 kernel/exit.c:1087 get_signal+0x16b2/0x1750 kernel/signal.c:3017 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xce/0x340 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2020f80849 RSP: 002b:00007f2021dfd0e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f2021145fa8 RCX: 00007f2020f80849 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f2021145fa8 RBP: 00007f2021145fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f2021145fac R13: 0000000000000000 R14: 00007f202126f950 R15: 00007f202126fa38 Showing all locks held in the system: 4 locks held by kworker/u8:1/12: 1 lock held by khungtaskd/30: #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937aa0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6744 2 locks held by kworker/u8:3/52: 6 locks held by kworker/0:2/976: #0: ffff888141a90148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888141a90148 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1840 kernel/workqueue.c:3310 #1: ffffc900042f7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900042f7d00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1840 kernel/workqueue.c:3310 #2: ffff88814573d190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff88814573d190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1fe/0x5150 drivers/usb/core/hub.c:5849 #3: ffff88806a867190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff88806a867190 (&dev->mutex){....}-{4:4}, at: usb_disconnect+0x103/0x950 drivers/usb/core/hub.c:2295 #4: ffff888012f18160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #4: ffff888012f18160 (&dev->mutex){....}-{4:4}, at: __device_driver_lock drivers/base/dd.c:1095 [inline] #4: ffff888012f18160 (&dev->mutex){....}-{4:4}, at: device_release_driver_internal+0xce/0x7c0 drivers/base/dd.c:1293 #5: ffff888041008188 (&hdw->big_lock_mutex){+.+.}-{4:4}, at: pvr2_hdw_disconnect+0x6e/0x520 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2710 2 locks held by pvrusb2-context/2339: #0: ffff888041008188 (&hdw->big_lock_mutex){+.+.}-{4:4}, at: pvr2_hdw_initialize+0xca/0x3d10 drivers/media/usb/pvrusb2/pvrusb2-hdw.c:2326 #1: ffffffff8e7e1f90 (umhelper_sem){++++}-{4:4}, at: usermodehelper_read_trylock+0x140/0x300 kernel/umh.c:214 2 locks held by getty/5586: #0: ffff8880317ad0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000330b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 1 lock held by iou-wrk-12611/12617: 3 locks held by dhcpcd-run-hook/14845: #0: ffff8880b863e8d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:598 #1: ffff8880b8628948 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x41d/0x7a0 kernel/sched/psi.c:987 #2: ffff88803449c738 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: ffff88803449c738 (ptlock_ptr(ptdesc)#2){+.+.}-{3:3}, at: __pte_offset_map_lock+0x1ba/0x300 mm/pgtable-generic.c:402 5 locks held by sed/14846: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xff6/0x1040 kernel/hung_task.c:397 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 12617 Comm: iou-wrk-12611 Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:find_next_bit include/linux/find.h:66 [inline] RIP: 0010:shrink_slab_memcg mm/shrinker.c:527 [inline] RIP: 0010:shrink_slab+0x1df/0x14d0 mm/shrinker.c:628 Code: 89 84 24 98 00 00 00 31 c0 48 89 44 24 68 4c 89 f0 48 c1 e8 03 48 89 84 24 90 00 00 00 45 31 ff 4c 89 b4 24 88 00 00 00 eb 12 9c 80 bb ff 48 ff 44 24 68 4c 8b b4 24 88 00 00 00 e8 2a fb a1 RSP: 0018:ffffc9000483eac0 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888061bdbc00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000483ec70 R08: ffffffff81e3f433 R09: 1ffff1100531d944 R10: dffffc0000000000 R11: ffffed100531d945 R12: ffffffff81e3f19d R13: dffffc0000000000 R14: 000000000000003b R15: 0000000000000000 FS: 00007f2021dfd6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055d5449ea950 CR3: 00000000319b6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 000000000000000a DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: shrink_node_memcgs mm/vmscan.c:5931 [inline] shrink_node+0xb80/0x3e50 mm/vmscan.c:5970 shrink_zones mm/vmscan.c:6215 [inline] do_try_to_free_pages+0x78c/0x1cf0 mm/vmscan.c:6277 try_to_free_mem_cgroup_pages+0x48c/0xab0 mm/vmscan.c:6609 try_charge_memcg+0x8c7/0x1150 mm/memcontrol.c:2238 obj_cgroup_charge_pages+0x91/0x230 mm/memcontrol.c:2646 obj_cgroup_charge+0x380/0x5d0 mm/memcontrol.c:2937 __memcg_slab_post_alloc_hook+0x1b1/0x7e0 mm/memcontrol.c:2998 memcg_slab_post_alloc_hook mm/slub.c:2152 [inline] slab_post_alloc_hook mm/slub.c:4114 [inline] kmem_cache_alloc_bulk_noprof+0x57e/0x7c0 mm/slub.c:5114 io_refill_buffer_cache io_uring/kbuf.c:528 [inline] io_add_buffers io_uring/kbuf.c:556 [inline] io_provide_buffers+0x587/0x1010 io_uring/kbuf.c:606 io_issue_sqe+0x37d/0x13d0 io_uring/io_uring.c:1736 io_wq_submit_work+0x725/0xa00 io_uring/io_uring.c:1845 io_worker_handle_work+0x85a/0x11c0 io_uring/io-wq.c:601 io_wq_worker+0x4bc/0xed0 io_uring/io-wq.c:655 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244