INFO: task syz.0.1798:21054 blocked for more than 144 seconds. Not tainted 6.12.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.1798 state:D stack:22544 pid:21054 tgid:21053 ppid:20564 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5315 [inline] __schedule+0x1843/0x4ae0 kernel/sched/core.c:6675 __schedule_loop kernel/sched/core.c:6752 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6767 rpm_resume+0x504/0x1670 drivers/base/power/runtime.c:834 rpm_resume+0x8fe/0x1670 drivers/base/power/runtime.c:892 __pm_runtime_resume+0x120/0x180 drivers/base/power/runtime.c:1172 pm_runtime_resume_and_get include/linux/pm_runtime.h:430 [inline] usb_autopm_get_interface+0x22/0xf0 drivers/usb/core/driver.c:1833 wdm_write+0x25b/0xd60 drivers/usb/class/cdc-wdm.c:408 vfs_write+0x29c/0xc90 fs/read_write.c:681 ksys_write+0x183/0x2b0 fs/read_write.c:736 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f23fc17dff9 RSP: 002b:00007f23fd03e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f23fc335f80 RCX: 00007f23fc17dff9 RDX: 0000000000000005 RSI: 0000000020000200 RDI: 0000000000000004 RBP: 00007f23fc1f0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f23fc335f80 R15: 00007ffe5cabb818 Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720 2 locks held by getty/4977: #0: ffff88814ba720a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by kworker/u8:10/5835: #0: ffff888146efc948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff888146efc948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc90002d5fd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc90002d5fd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 3 locks held by kworker/0:5/13881: #0: ffff8881416ef948 ((wq_completion)pm){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline] #0: ffff8881416ef948 ((wq_completion)pm){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310 #1: ffffc900031dfd00 ((work_completion)(&dev->power.work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline] #1: ffffc900031dfd00 ((work_completion)(&dev->power.work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310 #2: ffff8880284f8510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3206 [inline] #2: ffff8880284f8510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_port_suspend+0x1c6/0x14d0 drivers/usb/core/hub.c:3463 1 lock held by syz.0.1798/21054: #0: ffff888069507928 (&desc->wlock){+.+.}-{3:3}, at: wdm_write+0x1bb/0xd60 drivers/usb/class/cdc-wdm.c:398 1 lock held by syz.1.1974/21902: #0: ffffffff8e93d240 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x4c/0x530 kernel/rcu/tree.c:4562 1 lock held by syz.0.1980/21925: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc2-syzkaller #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:223 [inline] watchdog+0xff4/0x1040 kernel/hung_task.c:379 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 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 21925 Comm: syz.0.1980 Not tainted 6.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:lock_is_held_type+0x20/0x190 kernel/locking/lockdep.c:5882 Code: 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 ff ff ff ff 83 3d a0 08 5f 04 00 0f 84 00 01 00 00 65 8b 05 e7 RSP: 0018:ffffc9000e98f190 EFLAGS: 00000086 RAX: 2a22e9af67601300 RBX: ffff8880b863f848 RCX: dffffc0000000000 RDX: ffff88801daabc00 RSI: 00000000ffffffff RDI: ffff8880b863ea58 RBP: 1ffff1100a38201a R08: ffff8880b863f85f R09: 0000000000000000 R10: ffff8880b863f850 R11: ffffffff816766a0 R12: ffff8880b863ea40 R13: ffff88807ec73178 R14: ffff888051c10080 R15: ffff888051c10080 FS: 00007f56629456c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c46ba08 CR3: 0000000064188000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:249 [inline] lockdep_assert_rq_held kernel/sched/sched.h:1496 [inline] rq_clock_task kernel/sched/sched.h:1652 [inline] update_curr_se kernel/sched/fair.c:1136 [inline] update_curr+0x113/0xd80 kernel/sched/fair.c:1226 put_prev_entity+0x3d/0x200 kernel/sched/fair.c:5644 put_prev_task_fair+0x4d/0x80 kernel/sched/fair.c:8989 put_prev_set_next_task kernel/sched/sched.h:2481 [inline] pick_next_task kernel/sched/core.c:6250 [inline] __schedule+0x41d6/0x4ae0 kernel/sched/core.c:6629 preempt_schedule_common+0x84/0xd0 kernel/sched/core.c:6854 preempt_schedule+0xe1/0xf0 kernel/sched/core.c:6878 preempt_schedule_thunk+0x1a/0x30 arch/x86/entry/thunk.S:12 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x130/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock+0x18c/0x1e0 kernel/sched/wait.c:108 __unix_dgram_recvmsg+0x5f4/0x12f0 net/unix/af_unix.c:2462 sock_recvmsg_nosec+0x18e/0x1d0 net/socket.c:1051 ____sys_recvmsg+0x3cd/0x480 net/socket.c:2819 ___sys_recvmsg net/socket.c:2863 [inline] do_recvmmsg+0x45e/0xad0 net/socket.c:2957 __sys_recvmmsg net/socket.c:3036 [inline] __do_sys_recvmmsg net/socket.c:3059 [inline] __se_sys_recvmmsg net/socket.c:3052 [inline] __x64_sys_recvmmsg+0x199/0x250 net/socket.c:3052 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f5661b7dff9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5662945038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f5661d36058 RCX: 00007f5661b7dff9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f5661bf0296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f5661d36058 R15: 00007fffd6ad6048