INFO: task syz-executor190:3589 blocked for more than 143 seconds. Not tainted 6.1.30-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor190 state:D stack:26848 pid:3589 ppid:3567 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x132c/0x4330 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common+0xe2b/0x2520 kernel/locking/mutex.c:679 __mutex_lock kernel/locking/mutex.c:747 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799 device_lock include/linux/device.h:836 [inline] usbdev_open+0x152/0x7a0 drivers/usb/core/devio.c:1042 chrdev_open+0x54a/0x630 fs/char_dev.c:414 do_dentry_open+0x7f9/0x10f0 fs/open.c:882 do_open fs/namei.c:3557 [inline] path_openat+0x2644/0x2e60 fs/namei.c:3714 do_filp_open+0x230/0x480 fs/namei.c:3741 do_sys_openat2+0x13b/0x500 fs/open.c:1318 do_sys_open fs/open.c:1334 [inline] __do_sys_openat fs/open.c:1350 [inline] __se_sys_openat fs/open.c:1345 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1345 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f46552cbf47 RSP: 002b:00007ffc245df770 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000286 RCX: 00007f46552cbf47 RDX: 0000000000000000 RSI: 00007ffc245df7f0 RDI: 00000000ffffff9c RBP: 00007ffc245df7f0 R08: 000000000000fff3 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cf273f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cf27bf0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510 1 lock held by khungtaskd/28: #0: ffffffff8cf27220 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 5 locks held by kworker/1:2/2903: #0: ffff888018ecb538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x77a/0x11f0 #1: ffffc9000c0e7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7bd/0x11f0 kernel/workqueue.c:2264 #2: ffff888144753190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #2: ffff888144753190 (&dev->mutex){....}-{3:3}, at: hub_event+0x20e/0x57b0 drivers/usb/core/hub.c:5683 #3: ffff88807f073190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #3: ffff88807f073190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:988 #4: ffff88807d980118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #4: ffff88807d980118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:988 2 locks held by getty/3313: #0: ffff888028a5c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2177 4 locks held by udevd/3584: #0: ffff8880197ea0a0 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xae/0xd10 fs/seq_file.c:182 #1: ffff888077acc888 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4f/0x3a0 fs/kernfs/file.c:150 #2: ffff888014ecf490 (kn->active#30){.+.+}-{0:0}, at: kernfs_seq_start+0x6e/0x3a0 fs/kernfs/file.c:151 #3: ffff88807f073190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:841 [inline] #3: ffff88807f073190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x22/0x90 drivers/usb/core/sysfs.c:141 1 lock held by syz-executor190/3589: #0: ffff888144753190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #0: ffff888144753190 (&dev->mutex){....}-{3:3}, at: usbdev_open+0x152/0x7a0 drivers/usb/core/devio.c:1042 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.30-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 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+0xf18/0xf60 kernel/hung_task.c:377 kthread+0x26e/0x300 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: 0 Comm: swapper/1 Not tainted 6.1.30-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:rdtsc_ordered arch/x86/include/asm/msr.h:215 [inline] RIP: 0010:pvclock_clocksource_read+0x9a/0x710 arch/x86/kernel/pvclock.c:76 Code: 48 89 54 24 40 48 89 4c 24 28 42 0f b6 04 3a 84 c0 0f 85 47 01 00 00 42 0f b6 04 39 84 c0 0f 85 8d 01 00 00 45 8b 28 0f 01 f9 <66> 90 48 89 c5 49 89 d6 49 c1 e6 20 48 8b 44 24 60 42 0f b6 04 38 RSP: 0018:ffffc900001e0b50 EFLAGS: 00000046 RAX: 0000000025f8abba RBX: 1ffffffff1f91609 RCX: 0000000000000001 RDX: 0000000000000171 RSI: ffffffff8fc8b05c RDI: ffffffff8fc8b05d RBP: ffffc900001e0cd0 R08: ffffffff8fc8b040 R09: ffffffff8fc8b048 R10: ffffffff8fc8b058 R11: ffffffff8fc8b050 R12: ffff88813fed28c4 R13: 0000000000000008 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff4e41ac580 CR3: 000000007e997000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kvm_clock_read arch/x86/kernel/kvmclock.c:79 [inline] kvm_sched_clock_read+0x14/0x40 arch/x86/kernel/kvmclock.c:91 __lock_pin_lock kernel/locking/lockdep.c:5439 [inline] lock_pin_lock+0x246/0x420 kernel/locking/lockdep.c:5733 rq_pin_lock kernel/sched/sched.h:1568 [inline] rq_lock_irqsave kernel/sched/sched.h:1630 [inline] _nohz_idle_balance+0x4ab/0x8d0 kernel/sched/fair.c:11440 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571 invoke_softirq kernel/softirq.c:445 [inline] __irq_exit_rcu+0x155/0x240 kernel/softirq.c:650 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662 sysvec_call_function_single+0x8e/0xb0 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x16/0x20 arch/x86/include/asm/idtentry.h:657 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:22 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:70 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:130 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:113 [inline] RIP: 0010:acpi_idle_do_entry+0x10f/0x340 drivers/acpi/processor_idle.c:572 Code: 40 fd f6 48 83 e3 08 0f 85 0b 01 00 00 4c 8d 74 24 20 e8 44 ee 03 f7 0f 1f 44 00 00 e8 3a 3c fd f6 0f 00 2d 03 3a ba 00 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 3b 00 74 08 4c 89 f7 e8 db 83 53 f7 RSP: 0018:ffffc90000177ba0 EFLAGS: 000002d3 RAX: ffffffff8a8c8936 RBX: 0000000000000000 RCX: ffff88813fed1dc0 RDX: 0000000000000000 RSI: ffffffff8aebd0a0 RDI: ffffffff8b3cc8a0 RBP: ffffc90000177c30 R08: ffffffff8a8c8918 R09: ffffed1027fda3b9 R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200002ef74 R13: ffff888017f03004 R14: ffffc90000177bc0 R15: dffffc0000000000 acpi_idle_enter+0x352/0x4f0 drivers/acpi/processor_idle.c:709 cpuidle_enter_state+0x516/0xf80 drivers/cpuidle/cpuidle.c:239 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:356 call_cpuidle kernel/sched/idle.c:155 [inline] cpuidle_idle_call kernel/sched/idle.c:236 [inline] do_idle+0x3ce/0x680 kernel/sched/idle.c:303 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:400 start_secondary+0xe4/0xf0 arch/x86/kernel/smpboot.c:262 secondary_startup_64_no_verify+0xcf/0xdb INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.363 msecs