INFO: task syz-executor.2:29859 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:25328 pid:29859 tgid:29859 ppid:29717 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1781/0x49d0 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6828 schedule_timeout+0xb0/0x310 kernel/time/timer.c:2548 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 __flush_work+0xa7b/0xc90 kernel/workqueue.c:4205 __cancel_work_sync+0x330/0x6d0 kernel/workqueue.c:4304 uhid_dev_destroy drivers/hid/uhid.c:584 [inline] uhid_char_release+0xaf/0x600 drivers/hid/uhid.c:662 __fput+0x429/0x8a0 fs/file_table.c:422 __do_sys_close fs/open.c:1556 [inline] __se_sys_close fs/open.c:1541 [inline] __x64_sys_close+0x7f/0x110 fs/open.c:1541 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f1311e7cc9a RSP: 002b:00007ffe9ca70190 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f1311e7cc9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000032 R08: 0000001b2c720000 R09: 0000000000000017 R10: 0000000081360a66 R11: 0000000000000293 R12: 00007f1311a00738 R13: ffffffffffffffff R14: 00007f1311a00000 R15: 0000000000115038 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 3 locks held by kworker/1:1/44: 2 locks held by kworker/u8:3/50: 7 locks held by kworker/0:2/782: 2 locks held by getty/4809: #0: ffff88802ac6d0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by kworker/1:4/5120: 3 locks held by kworker/0:5/5121: 3 locks held by kworker/0:8/5125: 3 locks held by kworker/1:0/22790: 3 locks held by kworker/0:3/30207: 1 lock held by syz-executor.3/30257: 2 locks held by syz-executor.2/30386: 3 locks held by syz-executor.1/30393: 1 lock held by udevd/30969: #0: ffff8880b943e318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 3 locks held by kworker/0:7/30970: #0: ffff8880b943e318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9428988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 #2: ffff8880b942a758 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 kernel/time/timer.c:1051 2 locks held by syz-executor.0/30989: #0: ffff8880b943e318 ( &rq->__lock ){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:559 #1: ffff8880b9428988 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:988 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfb0/0xff0 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 30393 Comm: syz-executor.1 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 RIP: 0010:__folio_dup_file_rmap include/linux/rmap.h:321 [inline] RIP: 0010:folio_dup_file_rmap_ptes include/linux/rmap.h:348 [inline] RIP: 0010:copy_present_pte mm/memory.c:968 [inline] RIP: 0010:copy_pte_range mm/memory.c:1102 [inline] RIP: 0010:copy_pmd_range mm/memory.c:1187 [inline] RIP: 0010:copy_pud_range mm/memory.c:1224 [inline] RIP: 0010:copy_p4d_range mm/memory.c:1248 [inline] RIP: 0010:copy_page_range+0x13a6/0x4240 mm/memory.c:1346 Code: 90 00 00 00 0f 85 8b 00 00 00 41 83 fd 7f 0f 86 96 2d 00 00 e8 9b 23 b8 ff 4c 89 f7 be 04 00 00 00 e8 2e 27 18 00 f0 ff 43 34 <48> 89 df 48 8b 5c 24 10 48 89 de e8 4a 71 02 00 4c 8b bc 24 d0 00 RSP: 0018:ffffc9000374f400 EFLAGS: 00000202 RAX: ffffffff81dcd001 RBX: ffffea0000bcc8c0 RCX: ffffffff81dcd0c2 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffea0000bcc8f4 RBP: ffffc9000374f8b0 R08: ffffea0000bcc8f7 R09: 1ffffd400017991e R10: dffffc0000000000 R11: fffff9400017991f R12: 0000000000000000 R13: 0000000000000082 R14: ffffea0000bcc8f4 R15: 1ffffd400017991e FS: 00005555753c9480(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f43a2b3f9f0 CR3: 000000004aaf6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dup_mmap kernel/fork.c:747 [inline] dup_mm kernel/fork.c:1687 [inline] copy_mm+0x12f5/0x21b0 kernel/fork.c:1736 copy_process+0x187a/0x3df0 kernel/fork.c:2389 kernel_clone+0x223/0x840 kernel/fork.c:2796 __do_sys_clone kernel/fork.c:2939 [inline] __se_sys_clone kernel/fork.c:2923 [inline] __x64_sys_clone+0x258/0x2a0 kernel/fork.c:2923 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7f43a1e7add3 Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00 RSP: 002b:00007ffc09c7fa98 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f43a1e7add3 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 00005555753c9750 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001