INFO: task systemd-shutdow:1 blocked for more than 143 seconds. Not tainted 5.10.0-rc7-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:systemd-shutdow state:D stack:23432 pid: 1 ppid: 0 flags:0x00000000 Call Trace: context_switch kernel/sched/core.c:3779 [inline] __schedule+0x8a2/0x1f30 kernel/sched/core.c:4528 schedule+0xcb/0x270 kernel/sched/core.c:4606 wait_for_device_probe+0x1be/0x220 drivers/base/dd.c:702 device_shutdown+0x18/0x5c0 drivers/base/core.c:4007 kernel_restart_prepare kernel/reboot.c:76 [inline] kernel_restart kernel/reboot.c:246 [inline] __do_sys_reboot.cold+0x5d/0x97 kernel/reboot.c:347 do_syscall_64+0x2d/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f1d027ed8c6 RSP: 002b:00007ffc83f526b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a9 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f1d027ed8c6 RDX: 0000000001234567 RSI: 0000000028121969 RDI: fffffffffee1dead RBP: 00007ffc83f52748 R08: 0000000000002800 R09: 0000000000000005 R10: 0000000000000002 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 0000557187df6150 R15: 00007ffc83f52a38 Showing all locks held in the system: 1 lock held by systemd-shutdow/1: #0: ffffffff87128928 (system_transition_mutex){+.+.}-{3:3}, at: __do_sys_reboot+0x1a4/0x3e0 kernel/reboot.c:344 1 lock held by khungtaskd/1264: #0: ffffffff872495a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6254 5 locks held by kworker/0:3/7148: 5 locks held by kworker/0:6/18676: 5 locks held by kworker/1:7/29503: #0: ffff888103d53538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline] #0: ffff888103d53538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline] #0: ffff888103d53538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline] #0: ffff888103d53538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline] #0: ffff888103d53538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline] #0: ffff888103d53538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x821/0x1520 kernel/workqueue.c:2243 #1: ffffc900002e7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x854/0x1520 kernel/workqueue.c:2247 #2: ffff888108ca3218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:731 [inline] #2: ffff888108ca3218 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c5/0x42d0 drivers/usb/core/hub.c:5537 #3: ffff88813a172218 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:731 [inline] #3: ffff88813a172218 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:887 #4: ffff8881423d31a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:731 [inline] #4: ffff8881423d31a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:887 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1264 Comm: khungtaskd Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x46/0xe0 lib/nmi_backtrace.c:105 nmi_trigger_cpumask_backtrace+0x1da/0x200 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:209 [inline] watchdog+0xd32/0xf70 kernel/hung_task.c:294 kthread+0x38c/0x460 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.10.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:native_apic_mem_write+0x8/0x10 arch/x86/include/asm/apic.h:110 Code: 00 00 5b 5d 41 5c 41 5d 41 5e c3 48 89 04 24 e8 9e 09 5b 00 48 8b 04 24 eb 83 e8 63 af 8c 04 cc cc cc 89 ff 89 b7 00 c0 5f ff 0f 1f 80 00 00 00 00 48 b8 00 00 00 00 00 fc ff df 53 89 fb 48 RSP: 0018:ffffc90000148fe0 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffffffff86e819c0 RCX: 1ffffffff138b2ec RDX: 1ffffffff0dd0338 RSI: 0000000000000000 RDI: 00000000000000b0 RBP: ffffc900000dfc40 R08: 0000000000000000 R09: ffff8881f6b338db R10: 00000000004916e0 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8881f6b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000003157978 CR3: 0000000007025000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apic_eoi arch/x86/include/asm/apic.h:408 [inline] ack_APIC_irq arch/x86/include/asm/apic.h:454 [inline] __sysvec_call_function_single+0x4b/0x3a0 arch/x86/kernel/smp.c:245 asm_call_irq_on_stack+0xf/0x20 __run_sysvec_on_irqstack arch/x86/include/asm/irq_stack.h:37 [inline] run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:89 [inline] sysvec_call_function_single+0x7f/0xa0 arch/x86/kernel/smp.c:243 asm_sysvec_call_function_single+0x12/0x20 arch/x86/include/asm/idtentry.h:639 RIP: 0010:native_save_fl arch/x86/include/asm/irqflags.h:29 [inline] RIP: 0010:arch_local_save_flags arch/x86/include/asm/irqflags.h:79 [inline] RIP: 0010:arch_irqs_disabled arch/x86/include/asm/irqflags.h:169 [inline] RIP: 0010:acpi_safe_halt drivers/acpi/processor_idle.c:112 [inline] RIP: 0010:acpi_idle_do_entry+0x1c9/0x250 drivers/acpi/processor_idle.c:517 Code: dd 50 a1 fb 84 db 75 ac e8 84 58 a1 fb e8 df fe a6 fb e9 0c 00 00 00 e8 75 58 a1 fb 0f 00 2d 6e 17 6a 00 e8 69 58 a1 fb fb f4 <9c> 5b 81 e3 00 02 00 00 fa 31 ff 48 89 de e8 04 51 a1 fb 48 85 db RSP: 0018:ffffc900000dfd18 EFLAGS: 00000293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 1ffffffff1079911 RDX: ffff888100293280 RSI: ffffffff859d6cf7 RDI: ffffffff859d6ce1 RBP: ffff88810093e864 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff88810093e800 R14: ffff88810093e864 R15: ffff888105d4a004 acpi_idle_enter+0x355/0x4f0 drivers/acpi/processor_idle.c:648 cpuidle_enter_state+0x1b1/0xc80 drivers/cpuidle/cpuidle.c:237 cpuidle_enter+0x4a/0xa0 drivers/cpuidle/cpuidle.c:351 call_cpuidle kernel/sched/idle.c:158 [inline] cpuidle_idle_call kernel/sched/idle.c:239 [inline] do_idle+0x3d5/0x580 kernel/sched/idle.c:299 cpu_startup_entry+0x14/0x20 kernel/sched/idle.c:395 start_secondary+0x265/0x340 arch/x86/kernel/smpboot.c:266 secondary_startup_64_no_verify+0xb0/0xbb