syzbot


INFO: task hung in port100_probe

Status: upstream: reported C repro on 2021/06/22 15:43
Reported-by: syzbot+abd2e0dafb481b621869@syzkaller.appspotmail.com
First crash: 464d, last: 201d

Cause bisection: failed (bisect log)

Fix bisection: the fix commit could be any of (bisect log):
  9e723c5380c6 Merge tag 'platform-drivers-x86-v5.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86
  88808fbbead4 Merge tag 'nfsd-5.17-1' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linux
Patch testing requests:
Created Duration User Patch Repo Result
2022/09/22 07:29 19m upstream OK log
2022/09/22 05:29 19m upstream OK log
2022/03/11 19:19 12m paskripkin@gmail.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3bf7edc84a9eb4007dd9a0cb8878a7e1d5ec6a3b OK
2022/03/11 19:17 0m paskripkin@gmail.com git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3bf7edc84a9eb4007dd9a0cb8878a7e1d5ec6a3b3bf7edc84a9eb4007dd9a0cb8878a7e1d5ec6a3b error
2022/03/10 08:43 12m hdanton@sina.com upstream OK
2022/03/09 19:33 13m paskripkin@gmail.com patch upstream OK
2021/10/25 15:07 13m krzysztof.kozlowski@canonical.com https://github.com/krzk/linux.git 27078b0656947fae5133f58a81bbf9099f5fc8e7 report log
2021/10/25 15:05 15m krzysztof.kozlowski@canonical.com https://github.com/krzk/linux.git 27078b0656947fae5133f58a81bbf9099f5fc8e7 report log
2021/10/25 14:59 13m krzysztof.kozlowski@canonical.com https://github.com/krzk/linux.git n/nfc-port100-cmd-mask report log
2021/10/20 15:45 13m krzysztof.kozlowski@canonical.com https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git 60e8840126bdcb60bccef74c3f962742183c681f report log
2021/07/21 11:03 13m krzysztof.kozlowski@canonical.com https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git b1347210b01daa977ea980268927aa99198ceccc report log
2021/07/21 11:02 16m krzysztof.kozlowski@canonical.com upstream report log
2021/06/22 16:07 13m paskripkin@gmail.com patch upstream report log

Sample crash report:
INFO: task kworker/1:0:20 blocked for more than 143 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0     state:D stack:21008 pid:   20 ppid:     2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857
 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
 port100_send_cmd_sync drivers/nfc/port100.c:926 [inline]
 port100_get_command_type_mask drivers/nfc/port100.c:1011 [inline]
 port100_probe+0xb2e/0x1640 drivers/nfc/port100.c:1557
 usb_probe_interface+0x633/0xb40 drivers/usb/core/driver.c:396
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_set_configuration+0x1a86/0x2100 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0x83/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x13a/0x260 drivers/usb/core/driver.c:293
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_new_device+0x108a/0x1940 drivers/usb/core/hub.c:2566
 hub_port_connect+0x100b/0x2910 drivers/usb/core/hub.c:5358
 hub_port_connect_change+0x5f9/0xc20 drivers/usb/core/hub.c:5502
 port_event+0xca0/0x13e0 drivers/usb/core/hub.c:5660
 hub_event+0x4ed/0xe40 drivers/usb/core/hub.c:5742
 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307
 process_scheduled_works kernel/workqueue.c:2370 [inline]
 worker_thread+0xe18/0x1300 kernel/workqueue.c:2456
 kthread+0x2a3/0x2d0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30
 </TASK>
INFO: task kworker/0:2:142 blocked for more than 143 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:2     state:D stack:20376 pid:  142 ppid:     2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857
 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
 port100_send_cmd_sync drivers/nfc/port100.c:926 [inline]
 port100_get_command_type_mask drivers/nfc/port100.c:1011 [inline]
 port100_probe+0xb2e/0x1640 drivers/nfc/port100.c:1557
 usb_probe_interface+0x633/0xb40 drivers/usb/core/driver.c:396
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_set_configuration+0x1a86/0x2100 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0x83/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x13a/0x260 drivers/usb/core/driver.c:293
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_new_device+0x108a/0x1940 drivers/usb/core/hub.c:2566
 hub_port_connect+0x100b/0x2910 drivers/usb/core/hub.c:5358
 hub_port_connect_change+0x5f9/0xc20 drivers/usb/core/hub.c:5502
 port_event+0xca0/0x13e0 drivers/usb/core/hub.c:5660
 hub_event+0x4ed/0xe40 drivers/usb/core/hub.c:5742
 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307
 process_scheduled_works kernel/workqueue.c:2370 [inline]
 worker_thread+0xe18/0x1300 kernel/workqueue.c:2456
 kthread+0x2a3/0x2d0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30
 </TASK>
INFO: task kworker/1:1:3638 blocked for more than 144 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:1     state:D stack:22152 pid: 3638 ppid:     2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857
 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
 port100_send_cmd_sync drivers/nfc/port100.c:926 [inline]
 port100_get_command_type_mask drivers/nfc/port100.c:1011 [inline]
 port100_probe+0xb2e/0x1640 drivers/nfc/port100.c:1557
 usb_probe_interface+0x633/0xb40 drivers/usb/core/driver.c:396
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_set_configuration+0x1a86/0x2100 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0x83/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x13a/0x260 drivers/usb/core/driver.c:293
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_new_device+0x108a/0x1940 drivers/usb/core/hub.c:2566
 hub_port_connect+0x100b/0x2910 drivers/usb/core/hub.c:5358
 hub_port_connect_change+0x5f9/0xc20 drivers/usb/core/hub.c:5502
 port_event+0xca0/0x13e0 drivers/usb/core/hub.c:5660
 hub_event+0x4ed/0xe40 drivers/usb/core/hub.c:5742
 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307
 process_scheduled_works kernel/workqueue.c:2370 [inline]
 worker_thread+0xe18/0x1300 kernel/workqueue.c:2456
 kthread+0x2a3/0x2d0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30
 </TASK>
INFO: task kworker/1:3:3641 blocked for more than 145 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:3     state:D stack:20952 pid: 3641 ppid:     2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857
 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
 port100_send_cmd_sync drivers/nfc/port100.c:926 [inline]
 port100_get_command_type_mask drivers/nfc/port100.c:1011 [inline]
 port100_probe+0xb2e/0x1640 drivers/nfc/port100.c:1557
 usb_probe_interface+0x633/0xb40 drivers/usb/core/driver.c:396
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_set_configuration+0x1a86/0x2100 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0x83/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x13a/0x260 drivers/usb/core/driver.c:293
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_new_device+0x108a/0x1940 drivers/usb/core/hub.c:2566
 hub_port_connect+0x100b/0x2910 drivers/usb/core/hub.c:5358
 hub_port_connect_change+0x5f9/0xc20 drivers/usb/core/hub.c:5502
 port_event+0xca0/0x13e0 drivers/usb/core/hub.c:5660
 hub_event+0x4ed/0xe40 drivers/usb/core/hub.c:5742
 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307
 process_scheduled_works kernel/workqueue.c:2370 [inline]
 worker_thread+0xe18/0x1300 kernel/workqueue.c:2456
 kthread+0x2a3/0x2d0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30
 </TASK>
INFO: task kworker/1:4:3643 blocked for more than 145 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:4     state:D stack:20688 pid: 3643 ppid:     2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_timeout+0xac/0x300 kernel/time/timer.c:1857
 do_wait_for_common+0x2da/0x480 kernel/sched/completion.c:85
 __wait_for_common kernel/sched/completion.c:106 [inline]
 wait_for_common kernel/sched/completion.c:117 [inline]
 wait_for_completion+0x46/0x60 kernel/sched/completion.c:138
 port100_send_cmd_sync drivers/nfc/port100.c:926 [inline]
 port100_get_command_type_mask drivers/nfc/port100.c:1011 [inline]
 port100_probe+0xb2e/0x1640 drivers/nfc/port100.c:1557
 usb_probe_interface+0x633/0xb40 drivers/usb/core/driver.c:396
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_set_configuration+0x1a86/0x2100 drivers/usb/core/message.c:2170
 usb_generic_driver_probe+0x83/0x140 drivers/usb/core/generic.c:238
 usb_probe_device+0x13a/0x260 drivers/usb/core/driver.c:293
 call_driver_probe+0x96/0x250
 really_probe+0x222/0x9f0 drivers/base/dd.c:596
 __driver_probe_device+0x1f8/0x3e0 drivers/base/dd.c:755
 driver_probe_device+0x50/0x240 drivers/base/dd.c:785
 __device_attach_driver+0x1e1/0x3b0 drivers/base/dd.c:902
 bus_for_each_drv+0x18a/0x210 drivers/base/bus.c:427
 __device_attach+0x310/0x560 drivers/base/dd.c:973
 bus_probe_device+0xb8/0x1f0 drivers/base/bus.c:487
 device_add+0x11c8/0x16d0 drivers/base/core.c:3405
 usb_new_device+0x108a/0x1940 drivers/usb/core/hub.c:2566
 hub_port_connect+0x100b/0x2910 drivers/usb/core/hub.c:5358
 hub_port_connect_change+0x5f9/0xc20 drivers/usb/core/hub.c:5502
 port_event+0xca0/0x13e0 drivers/usb/core/hub.c:5660
 hub_event+0x4ed/0xe40 drivers/usb/core/hub.c:5742
 process_one_work+0x86c/0x1190 kernel/workqueue.c:2307
 process_scheduled_works kernel/workqueue.c:2370 [inline]
 worker_thread+0xe18/0x1300 kernel/workqueue.c:2456
 kthread+0x2a3/0x2d0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30
 </TASK>
INFO: task syz-executor275:3663 blocked for more than 146 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor275 state:D stack:26576 pid: 3663 ppid:  3627 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:673
 __mutex_lock kernel/locking/mutex.c:733 [inline]
 mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785
 misc_open+0x57/0x3c0 drivers/char/misc.c:107
 chrdev_open+0x5fb/0x680 fs/char_dev.c:414
 do_dentry_open+0x78b/0x1020 fs/open.c:824
 do_open fs/namei.c:3476 [inline]
 path_openat+0x273b/0x36a0 fs/namei.c:3609
 do_filp_open+0x277/0x4f0 fs/namei.c:3636
 do_sys_openat2+0x13b/0x500 fs/open.c:1214
 do_sys_open fs/open.c:1230 [inline]
 __do_sys_openat fs/open.c:1246 [inline]
 __se_sys_openat fs/open.c:1241 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1241
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3e041ffc97
RSP: 002b:00007fff87cc4780 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000200000c0 RCX: 00007f3e041ffc97
RDX: 0000000000000002 RSI: 00007f3e0428503b RDI: 00000000ffffff9c
RBP: 00007f3e0428503b R08: 00007fff87cc4868 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff87cc68dc R14: 0000000000000036 R15: 00007fff87cc68e0
 </TASK>
INFO: task syz-executor275:3664 blocked for more than 146 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor275 state:D stack:26128 pid: 3664 ppid:  3631 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:673
 __mutex_lock kernel/locking/mutex.c:733 [inline]
 mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785
 misc_open+0x57/0x3c0 drivers/char/misc.c:107
 chrdev_open+0x5fb/0x680 fs/char_dev.c:414
 do_dentry_open+0x78b/0x1020 fs/open.c:824
 do_open fs/namei.c:3476 [inline]
 path_openat+0x273b/0x36a0 fs/namei.c:3609
 do_filp_open+0x277/0x4f0 fs/namei.c:3636
 do_sys_openat2+0x13b/0x500 fs/open.c:1214
 do_sys_open fs/open.c:1230 [inline]
 __do_sys_openat fs/open.c:1246 [inline]
 __se_sys_openat fs/open.c:1241 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1241
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3e041ffc97
RSP: 002b:00007fff87cc4780 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000200000c0 RCX: 00007f3e041ffc97
RDX: 0000000000000002 RSI: 00007f3e0428503b RDI: 00000000ffffff9c
RBP: 00007f3e0428503b R08: 00007fff87cc4868 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff87cc68dc R14: 0000000000000036 R15: 00007fff87cc68e0
 </TASK>
INFO: task syz-executor275:3665 blocked for more than 146 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor275 state:D stack:26768 pid: 3665 ppid:  3630 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:673
 __mutex_lock kernel/locking/mutex.c:733 [inline]
 mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785
 misc_open+0x57/0x3c0 drivers/char/misc.c:107
 chrdev_open+0x5fb/0x680 fs/char_dev.c:414
 do_dentry_open+0x78b/0x1020 fs/open.c:824
 do_open fs/namei.c:3476 [inline]
 path_openat+0x273b/0x36a0 fs/namei.c:3609
 do_filp_open+0x277/0x4f0 fs/namei.c:3636
 do_sys_openat2+0x13b/0x500 fs/open.c:1214
 do_sys_open fs/open.c:1230 [inline]
 __do_sys_openat fs/open.c:1246 [inline]
 __se_sys_openat fs/open.c:1241 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1241
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3e041ffc97
RSP: 002b:00007fff87cc4780 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000200000c0 RCX: 00007f3e041ffc97
RDX: 0000000000000002 RSI: 00007f3e0428503b RDI: 00000000ffffff9c
RBP: 00007f3e0428503b R08: 00007fff87cc4868 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff87cc68dc R14: 0000000000000036 R15: 00007fff87cc68e0
 </TASK>
INFO: task syz-executor275:3666 blocked for more than 146 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor275 state:D stack:26224 pid: 3666 ppid:  3632 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:673
 __mutex_lock kernel/locking/mutex.c:733 [inline]
 mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785
 misc_open+0x57/0x3c0 drivers/char/misc.c:107
 chrdev_open+0x5fb/0x680 fs/char_dev.c:414
 do_dentry_open+0x78b/0x1020 fs/open.c:824
 do_open fs/namei.c:3476 [inline]
 path_openat+0x273b/0x36a0 fs/namei.c:3609
 do_filp_open+0x277/0x4f0 fs/namei.c:3636
 do_sys_openat2+0x13b/0x500 fs/open.c:1214
 do_sys_open fs/open.c:1230 [inline]
 __do_sys_openat fs/open.c:1246 [inline]
 __se_sys_openat fs/open.c:1241 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1241
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3e041ffc97
RSP: 002b:00007fff87cc4780 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000200000c0 RCX: 00007f3e041ffc97
RDX: 0000000000000002 RSI: 00007f3e0428503b RDI: 00000000ffffff9c
RBP: 00007f3e0428503b R08: 00007fff87cc4868 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff87cc68dc R14: 0000000000000036 R15: 00007fff87cc68e0
 </TASK>
INFO: task syz-executor275:3667 blocked for more than 147 seconds.
      Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor275 state:D stack:25168 pid: 3667 ppid:  3626 flags:0x00004004
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:4995 [inline]
 __schedule+0x926/0x1080 kernel/sched/core.c:6304
 schedule+0x12b/0x1f0 kernel/sched/core.c:6377
 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
 __mutex_lock_common+0xd1f/0x2590 kernel/locking/mutex.c:673
 __mutex_lock kernel/locking/mutex.c:733 [inline]
 mutex_lock_nested+0x1a/0x20 kernel/locking/mutex.c:785
 misc_open+0x57/0x3c0 drivers/char/misc.c:107
 chrdev_open+0x5fb/0x680 fs/char_dev.c:414
 do_dentry_open+0x78b/0x1020 fs/open.c:824
 do_open fs/namei.c:3476 [inline]
 path_openat+0x273b/0x36a0 fs/namei.c:3609
 do_filp_open+0x277/0x4f0 fs/namei.c:3636
 do_sys_openat2+0x13b/0x500 fs/open.c:1214
 do_sys_open fs/open.c:1230 [inline]
 __do_sys_openat fs/open.c:1246 [inline]
 __se_sys_openat fs/open.c:1241 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1241
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f3e041ffc97
RSP: 002b:00007fff87cc4780 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00000000200000c0 RCX: 00007f3e041ffc97
RDX: 0000000000000002 RSI: 00007f3e0428503b RDI: 00000000ffffff9c
RBP: 00007f3e0428503b R08: 00007fff87cc4868 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff87cc68dc R14: 0000000000000036 R15: 00007fff87cc68e0
 </TASK>

Showing all locks held in the system:
2 locks held by kworker/u4:0/8:
5 locks held by kworker/1:0/20:
 #0: ffff888141db5d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280
 #1: ffffc90000da7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282
 #2: ffff888147bf8220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #2: ffff888147bf8220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688
 #3: ffff8880236e5220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #3: ffff8880236e5220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
 #4: ffff8880238521a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #4: ffff8880238521a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
1 lock held by khungtaskd/26:
 #0: ffffffff8cb1d460 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
5 locks held by kworker/0:2/142:
 #0: ffff888141db5d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280
 #1: ffffc900027cfd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282
 #2: ffff88801df95220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #2: ffff88801df95220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688
 #3: ffff88807ede3220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #3: ffff88807ede3220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
 #4: ffff88807ede41a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #4: ffff88807ede41a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
2 locks held by getty/3283:
 #0: ffff88814b221098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
 #1: ffffc90002b662e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2075
5 locks held by kworker/1:1/3638:
 #0: ffff888141db5d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280
 #1: ffffc9000281fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282
 #2: ffff888147c98220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #2: ffff888147c98220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688
 #3: ffff88802313a220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #3: ffff88802313a220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
 #4: ffff88802396a1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #4: ffff88802396a1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
5 locks held by kworker/1:3/3641:
 #0: ffff888141db5d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280
 #1: ffffc9000284fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282
 #2: ffff88801e6a8220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #2: ffff88801e6a8220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688
 #3: ffff88801c52a220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #3: ffff88801c52a220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
 #4: ffff8880236e21a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #4: ffff8880236e21a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
5 locks held by kworker/1:4/3643:
 #0: ffff888141db5d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7db/0x1190 kernel/workqueue.c:2280
 #1: ffffc9000286fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x81b/0x1190 kernel/workqueue.c:2282
 #2: ffff88801e858220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #2: ffff88801e858220 (&dev->mutex){....}-{3:3}, at: hub_event+0x1b2/0xe40 drivers/usb/core/hub.c:5688
 #3: ffff88801805f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #3: ffff88801805f220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
 #4: ffff88802396d1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:767 [inline]
 #4: ffff88802396d1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x560 drivers/base/dd.c:948
1 lock held by syz-executor275/3663:
 #0: ffffffff8d225d28 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107
1 lock held by syz-executor275/3664:
 #0: ffffffff8d225d28 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107
1 lock held by syz-executor275/3665:
 #0: ffffffff8d225d28 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107
1 lock held by syz-executor275/3666:
 #0: ffffffff8d225d28 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107
1 lock held by syz-executor275/3667:
 #0: ffffffff8d225d28 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107
2 locks held by syz-executor275/3668:
 #0: ffffffff8d225d28 (misc_mtx){+.+.}-{3:3}, at: misc_open+0x57/0x3c0 drivers/char/misc.c:107
 #1: ffffffff8c9d5148 (system_transition_mutex){+.+.}-{3:3}, at: snapshot_open+0x23/0x260 kernel/power/user.c:54

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

NMI backtrace for cpu 1
CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1dc/0x2d8 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x16a/0x280 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
 watchdog+0xc82/0xcd0 kernel/hung_task.c:369
 kthread+0x2a3/0x2d0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
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:116 [inline]
RIP: 0010:acpi_idle_do_entry drivers/acpi/processor_idle.c:556 [inline]
RIP: 0010:acpi_idle_enter+0x42d/0x790 drivers/acpi/processor_idle.c:692
Code: fd 48 83 e3 08 44 8b 7c 24 04 0f 85 22 01 00 00 4c 8d 74 24 40 e8 03 a2 0d fd eb 0c e8 ec fb 06 fd 0f 00 2d 75 74 64 06 fb f4 <4c> 89 f3 48 c1 eb 03 42 80 3c 23 00 74 08 4c 89 f7 e8 ad b6 53 fd
RSP: 0018:ffffffff8c807ba0 EFLAGS: 00000286
RAX: 1ecaf199d5787700 RBX: 0000000000000000 RCX: ffffffff90bf5803
RDX: dffffc0000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8c807c50 R08: ffffffff818c3c10 R09: fffffbfff19176d9
R10: fffffbfff19176d9 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff888015bd5064 R14: ffffffff8c807be0 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056215df5eba8 CR3: 000000007f360000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 cpuidle_enter_state+0x507/0xea0 drivers/cpuidle/cpuidle.c:237
 cpuidle_enter+0x59/0x90 drivers/cpuidle/cpuidle.c:351
 call_cpuidle kernel/sched/idle.c:158 [inline]
 cpuidle_idle_call kernel/sched/idle.c:239 [inline]
 do_idle+0x3e8/0x670 kernel/sched/idle.c:306
 cpu_startup_entry+0x15/0x20 kernel/sched/idle.c:403
 start_kernel+0x4bf/0x56e init/main.c:1138
 secondary_startup_64_no_verify+0xc4/0xcb
 </TASK>
----------------
Code disassembly (best guess):
   0:	fd                   	std
   1:	48 83 e3 08          	and    $0x8,%rbx
   5:	44 8b 7c 24 04       	mov    0x4(%rsp),%r15d
   a:	0f 85 22 01 00 00    	jne    0x132
  10:	4c 8d 74 24 40       	lea    0x40(%rsp),%r14
  15:	e8 03 a2 0d fd       	callq  0xfd0da21d
  1a:	eb 0c                	jmp    0x28
  1c:	e8 ec fb 06 fd       	callq  0xfd06fc0d
  21:	0f 00 2d 75 74 64 06 	verw   0x6647475(%rip)        # 0x664749d
  28:	fb                   	sti
  29:	f4                   	hlt
* 2a:	4c 89 f3             	mov    %r14,%rbx <-- trapping instruction
  2d:	48 c1 eb 03          	shr    $0x3,%rbx
  31:	42 80 3c 23 00       	cmpb   $0x0,(%rbx,%r12,1)
  36:	74 08                	je     0x40
  38:	4c 89 f7             	mov    %r14,%rdi
  3b:	e8 ad b6 53 fd       	callq  0xfd53b6ed

Crashes (10):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/02/27 23:01 upstream 2293be58d6a1 45a13a73 .config log report syz C INFO: task hung in port100_probe
ci-upstream-kasan-gce-root 2022/02/12 05:55 upstream 1d41d2e82623 8b9ca619 .config log report syz C INFO: task hung in port100_probe
ci-upstream-linux-next-kasan-gce-root 2022/03/08 01:12 linux-next 91265a6da44d 7bdd8b2c .config log report syz C INFO: task hung in port100_probe
ci-upstream-kasan-gce 2021/08/11 12:03 upstream 9e723c5380c6 6972b106 .config log report syz C INFO: task hung in port100_probe
ci-upstream-kasan-gce 2021/06/18 15:32 upstream fd0aa1a4567d aba2b2fb .config log report syz C INFO: task hung in port100_probe
ci-upstream-kasan-gce-root 2021/11/04 12:29 upstream ce840177930f 4c1be0be .config log report info INFO: task hung in port100_probe
ci-upstream-kasan-gce 2021/08/27 08:10 upstream 1a6d80ff2419 b318694d .config log report info INFO: task hung in port100_probe
ci-upstream-kasan-gce-root 2021/08/20 14:52 upstream d992fe5318d8 b599f2fc .config log report info INFO: task hung in port100_probe
ci-upstream-kasan-gce 2021/06/18 10:37 upstream fd0aa1a4567d aba2b2fb .config log report info INFO: task hung in port100_probe
ci-upstream-kasan-gce 2021/06/18 02:26 upstream 70585216fe77 aba2b2fb .config log report info INFO: task hung in port100_probe
* Struck through repros no longer work on HEAD.