syzbot


INFO: task hung in reboot (2)

Status: auto-closed as invalid on 2021/07/21 18:03
Subsystems: kernel
[Documentation on labels]
First crash: 1129d, last: 1099d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in reboot kernel 84 1227d 1259d 0/26 auto-closed as invalid on 2021/03/16 08:45

Sample crash report:
INFO: task systemd-shutdow:1 blocked for more than 143 seconds.
      Not tainted 5.12.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:systemd-shutdow state:D stack:23440 pid:    1 ppid:     0 flags:0x00000000
Call Trace:
 context_switch kernel/sched/core.c:4322 [inline]
 __schedule+0x920/0x1fa0 kernel/sched/core.c:5073
 schedule+0xcb/0x270 kernel/sched/core.c:5152
 wait_for_device_probe+0x1be/0x220 drivers/base/dd.c:709
 device_shutdown+0x18/0x5c0 drivers/base/core.c:4313
 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/0x70 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fc458cb68c6
RSP: 002b:00007ffd72823d58 EFLAGS: 00000202 ORIG_RAX: 00000000000000a9
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc458cb68c6
RDX: 0000000001234567 RSI: 0000000028121969 RDI: fffffffffee1dead
RBP: 00007ffd72823de8 R08: 0000000000002800 R09: 0000000000000005
R10: 0000000000000002 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 0000564a27f35150 R15: 00007ffd728240d8

Showing all locks held in the system:
1 lock held by systemd-shutdow/1:
 #0: ffffffff87952f08 (system_transition_mutex){+.+.}-{3:3}, at: __do_sys_reboot+0x1a4/0x3e0 kernel/reboot.c:344
1 lock held by khungtaskd/1240:
 #0: ffffffff87a78a20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x269 kernel/locking/lockdep.c:6328
5 locks held by kworker/1:4/7246:
 #0: ffff888103f9f938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
 #0: ffff888103f9f938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic64_set include/asm-generic/atomic-instrumented.h:856 [inline]
 #0: ffff888103f9f938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/asm-generic/atomic-long.h:41 [inline]
 #0: ffff888103f9f938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:616 [inline]
 #0: ffff888103f9f938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:643 [inline]
 #0: ffff888103f9f938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x871/0x1580 kernel/workqueue.c:2246
 #1: ffffc90004ce7da8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a5/0x1580 kernel/workqueue.c:2250
 #2: ffff8881091dc220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:740 [inline]
 #2: ffff8881091dc220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4320 drivers/usb/core/hub.c:5590
 #3: ffff888134c46220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:740 [inline]
 #3: ffff888134c46220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:894
 #4: ffff8881134c31a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:740 [inline]
 #4: ffff8881134c31a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x7a/0x4a0 drivers/base/dd.c:894

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1240 Comm: khungtaskd Not tainted 5.12.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:79 [inline]
 dump_stack+0x143/0x1db lib/dump_stack.c:120
 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:294
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1 skipped: idling at native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
NMI backtrace for cpu 1 skipped: idling at arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_safe_halt drivers/acpi/processor_idle.c:111 [inline]
NMI backtrace for cpu 1 skipped: idling at acpi_idle_do_entry+0x1c9/0x250 drivers/acpi/processor_idle.c:517

Crashes (24):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/22 18:03 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing c560e76319a9 33c28d03 .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/18 18:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 7e2b734b .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/18 00:51 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 7e2b734b .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/17 18:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 7e2b734b .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/17 17:31 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 7e2b734b .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/17 12:54 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b 7e2b734b .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/15 19:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b c59079a6 .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/15 06:49 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 4b853c236c7b fcdb12ba .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/14 18:48 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 401411bbc4e6 3134b37f .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/12 04:47 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 3db53374405f 6a81331a .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/04 15:45 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bee1f89aad2a 6a81331a .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/03 15:40 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing bee1f89aad2a 6a81331a .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/01 22:37 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a 6a81331a .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/04/01 00:52 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a 6a81331a .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/30 16:01 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a 6a81331a .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/29 22:35 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing e5242861ec6a 6a81331a .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/27 12:00 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 24327c478b2f a8529b82 .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/27 07:14 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 24327c478b2f a8529b82 .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/27 06:41 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 24327c478b2f a8529b82 .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/27 04:15 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 24327c478b2f a8529b82 .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/26 10:12 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 049d3db625a6 a8529b82 .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/25 11:43 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 049d3db625a6 6a383ecf .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/24 19:36 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 049d3db625a6 607e3baf .config console log report info ci2-upstream-usb INFO: task hung in reboot
2021/03/24 02:44 https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing 8219ab4c9a09 e613994b .config console log report info ci2-upstream-usb INFO: task hung in reboot
* Struck through repros no longer work on HEAD.