bisecting fixing commit since 6e764bcd1cf72a2846c0e53d3975a09b242c04c9
building syzkaller on b599f2fcc734e2183016a340d4f6fc2891d8e41f
testing commit 6e764bcd1cf72a2846c0e53d3975a09b242c04c9
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: e120b21d61e2baf9572aeb0255a59ee637f930a2dae9794cc0fe975c5f2dcbca
all runs: crashed: INFO: task hung in pn533_finalize_setup
testing current HEAD 136057256686de39cc3a07c2e39ef6bc43003ff6
testing commit 136057256686de39cc3a07c2e39ef6bc43003ff6
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: b79324c4ad011d3396366cf91594c724613510f7a2a3583a7e0083b1c7280429
all runs: crashed: INFO: task hung in pn533_finalize_setup
revisions tested: 2, total time: 26m18.380300881s (build: 13m19.467600976s, test: 12m15.697465247s)
the crash still happens on HEAD
commit msg: Linux 5.16-rc2
crash: INFO: task hung in pn533_finalize_setup
INFO: task kworker/0:0:5 blocked for more than 143 seconds.
Not tainted 5.16.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:0 state:D stack:26696 pid: 5 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0x90d/0x26c0 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
pn533_send_cmd_sync drivers/nfc/pn533/pn533.c:631 [inline]
pn533_get_firmware_version drivers/nfc/pn533/pn533.c:2519 [inline]
pn533_finalize_setup+0xec/0x130 drivers/nfc/pn533/pn533.c:2716
pn533_usb_probe+0x846/0xf00 drivers/nfc/pn533/usb.c:544
usb_probe_interface+0x274/0x6a0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_set_configuration+0xa66/0x18b0 drivers/usb/core/message.c:2170
usb_generic_driver_probe+0x74/0xa0 drivers/usb/core/generic.c:238
usb_probe_device+0x95/0x240 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_new_device.cold+0x5cf/0xee8 drivers/usb/core/hub.c:2563
hub_port_connect drivers/usb/core/hub.c:5348 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5488 [inline]
port_event drivers/usb/core/hub.c:5634 [inline]
hub_event+0x10a3/0x36c0 drivers/usb/core/hub.c:5716
process_one_work+0x87f/0x1450 kernel/workqueue.c:2298
worker_thread+0x598/0x1040 kernel/workqueue.c:2445
kthread+0x3ab/0x480 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task kworker/1:0:20 blocked for more than 144 seconds.
Not tainted 5.16.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:0 state:D stack:25736 pid: 20 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0x90d/0x26c0 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
pn533_send_cmd_sync drivers/nfc/pn533/pn533.c:631 [inline]
pn533_get_firmware_version drivers/nfc/pn533/pn533.c:2519 [inline]
pn533_finalize_setup+0xec/0x130 drivers/nfc/pn533/pn533.c:2716
pn533_usb_probe+0x846/0xf00 drivers/nfc/pn533/usb.c:544
usb_probe_interface+0x274/0x6a0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_set_configuration+0xa66/0x18b0 drivers/usb/core/message.c:2170
usb_generic_driver_probe+0x74/0xa0 drivers/usb/core/generic.c:238
usb_probe_device+0x95/0x240 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_new_device.cold+0x5cf/0xee8 drivers/usb/core/hub.c:2563
hub_port_connect drivers/usb/core/hub.c:5348 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5488 [inline]
port_event drivers/usb/core/hub.c:5634 [inline]
hub_event+0x10a3/0x36c0 drivers/usb/core/hub.c:5716
process_one_work+0x87f/0x1450 kernel/workqueue.c:2298
worker_thread+0x598/0x1040 kernel/workqueue.c:2445
kthread+0x3ab/0x480 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task kworker/1:2:921 blocked for more than 145 seconds.
Not tainted 5.16.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:2 state:D stack:26568 pid: 921 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0x90d/0x26c0 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
pn533_send_cmd_sync drivers/nfc/pn533/pn533.c:631 [inline]
pn533_get_firmware_version drivers/nfc/pn533/pn533.c:2519 [inline]
pn533_finalize_setup+0xec/0x130 drivers/nfc/pn533/pn533.c:2716
pn533_usb_probe+0x846/0xf00 drivers/nfc/pn533/usb.c:544
usb_probe_interface+0x274/0x6a0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_set_configuration+0xa66/0x18b0 drivers/usb/core/message.c:2170
usb_generic_driver_probe+0x74/0xa0 drivers/usb/core/generic.c:238
usb_probe_device+0x95/0x240 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_new_device.cold+0x5cf/0xee8 drivers/usb/core/hub.c:2563
hub_port_connect drivers/usb/core/hub.c:5348 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5488 [inline]
port_event drivers/usb/core/hub.c:5634 [inline]
hub_event+0x10a3/0x36c0 drivers/usb/core/hub.c:5716
process_one_work+0x87f/0x1450 kernel/workqueue.c:2298
worker_thread+0x598/0x1040 kernel/workqueue.c:2445
kthread+0x3ab/0x480 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task kworker/1:3:2478 blocked for more than 146 seconds.
Not tainted 5.16.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:3 state:D stack:25832 pid: 2478 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0x90d/0x26c0 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
pn533_send_cmd_sync drivers/nfc/pn533/pn533.c:631 [inline]
pn533_get_firmware_version drivers/nfc/pn533/pn533.c:2519 [inline]
pn533_finalize_setup+0xec/0x130 drivers/nfc/pn533/pn533.c:2716
pn533_usb_probe+0x846/0xf00 drivers/nfc/pn533/usb.c:544
usb_probe_interface+0x274/0x6a0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_set_configuration+0xa66/0x18b0 drivers/usb/core/message.c:2170
usb_generic_driver_probe+0x74/0xa0 drivers/usb/core/generic.c:238
usb_probe_device+0x95/0x240 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_new_device.cold+0x5cf/0xee8 drivers/usb/core/hub.c:2563
hub_port_connect drivers/usb/core/hub.c:5348 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5488 [inline]
port_event drivers/usb/core/hub.c:5634 [inline]
hub_event+0x10a3/0x36c0 drivers/usb/core/hub.c:5716
process_one_work+0x87f/0x1450 kernel/workqueue.c:2298
worker_thread+0x598/0x1040 kernel/workqueue.c:2445
kthread+0x3ab/0x480 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task kworker/1:4:6934 blocked for more than 147 seconds.
Not tainted 5.16.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:4 state:D stack:26096 pid: 6934 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0x90d/0x26c0 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
pn533_send_cmd_sync drivers/nfc/pn533/pn533.c:631 [inline]
pn533_get_firmware_version drivers/nfc/pn533/pn533.c:2519 [inline]
pn533_finalize_setup+0xec/0x130 drivers/nfc/pn533/pn533.c:2716
pn533_usb_probe+0x846/0xf00 drivers/nfc/pn533/usb.c:544
usb_probe_interface+0x274/0x6a0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_set_configuration+0xa66/0x18b0 drivers/usb/core/message.c:2170
usb_generic_driver_probe+0x74/0xa0 drivers/usb/core/generic.c:238
usb_probe_device+0x95/0x240 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_new_device.cold+0x5cf/0xee8 drivers/usb/core/hub.c:2563
hub_port_connect drivers/usb/core/hub.c:5348 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5488 [inline]
port_event drivers/usb/core/hub.c:5634 [inline]
hub_event+0x10a3/0x36c0 drivers/usb/core/hub.c:5716
process_one_work+0x87f/0x1450 kernel/workqueue.c:2298
worker_thread+0x598/0x1040 kernel/workqueue.c:2445
kthread+0x3ab/0x480 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
INFO: task kworker/1:5:9021 blocked for more than 147 seconds.
Not tainted 5.16.0-rc2-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:5 state:D stack:25984 pid: 9021 ppid: 2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0x90d/0x26c0 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_timeout+0x19d/0x250 kernel/time/timer.c:1857
do_wait_for_common kernel/sched/completion.c:85 [inline]
__wait_for_common kernel/sched/completion.c:106 [inline]
wait_for_common kernel/sched/completion.c:117 [inline]
wait_for_completion+0x174/0x270 kernel/sched/completion.c:138
pn533_send_cmd_sync drivers/nfc/pn533/pn533.c:631 [inline]
pn533_get_firmware_version drivers/nfc/pn533/pn533.c:2519 [inline]
pn533_finalize_setup+0xec/0x130 drivers/nfc/pn533/pn533.c:2716
pn533_usb_probe+0x846/0xf00 drivers/nfc/pn533/usb.c:544
usb_probe_interface+0x274/0x6a0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_set_configuration+0xa66/0x18b0 drivers/usb/core/message.c:2170
usb_generic_driver_probe+0x74/0xa0 drivers/usb/core/generic.c:238
usb_probe_device+0x95/0x240 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:517 [inline]
really_probe+0x1c2/0xb60 drivers/base/dd.c:596
__driver_probe_device+0x2a6/0x460 drivers/base/dd.c:751
driver_probe_device+0x44/0x110 drivers/base/dd.c:781
__device_attach_driver+0x185/0x250 drivers/base/dd.c:898
bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427
__device_attach+0x1db/0x410 drivers/base/dd.c:969
bus_probe_device+0x19d/0x250 drivers/base/bus.c:487
device_add+0xa57/0x1b80 drivers/base/core.c:3394
usb_new_device.cold+0x5cf/0xee8 drivers/usb/core/hub.c:2563
hub_port_connect drivers/usb/core/hub.c:5348 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5488 [inline]
port_event drivers/usb/core/hub.c:5634 [inline]
hub_event+0x10a3/0x36c0 drivers/usb/core/hub.c:5716
process_one_work+0x87f/0x1450 kernel/workqueue.c:2298
worker_thread+0x598/0x1040 kernel/workqueue.c:2445
kthread+0x3ab/0x480 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Showing all locks held in the system:
5 locks held by kworker/0:0/5:
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2269
#1: ffffc90000ca7db8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2273
#2: ffff888147acb220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff888147acb220 (&dev->mutex){....}-{3:3}, at: hub_event+0x127/0x36c0 drivers/usb/core/hub.c:5662
#3: ffff88807340b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#3: ffff88807340b220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
#4: ffff88807760c1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#4: ffff88807760c1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
5 locks held by kworker/1:0/20:
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2269
#1: ffffc90000da7db8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2273
#2: ffff888147abb220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff888147abb220 (&dev->mutex){....}-{3:3}, at: hub_event+0x127/0x36c0 drivers/usb/core/hub.c:5662
#3: ffff88807ae6b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#3: ffff88807ae6b220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
#4: ffff88806167a1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#4: ffff88806167a1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
1 lock held by khungtaskd/27:
#0: ffffffff8ab78980 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
5 locks held by kworker/1:2/921:
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2269
#1:
ffffc9000469fdb8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2273
#2: ffff88801be43220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff88801be43220 (&dev->mutex){....}-{3:3}, at: hub_event+0x127/0x36c0 drivers/usb/core/hub.c:5662
#3: ffff888076b8b220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#3: ffff888076b8b220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
#4: ffff88806082f1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#4: ffff88806082f1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
5 locks held by kworker/1:3/2478:
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2269
#1: ffffc9000a95fdb8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2273
#2: ffff888147b63220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff888147b63220 (&dev->mutex){....}-{3:3}, at: hub_event+0x127/0x36c0 drivers/usb/core/hub.c:5662
#3: ffff888076b89220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#3: ffff888076b89220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
#4: ffff88801c65a1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#4: ffff88801c65a1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
1 lock held by in:imklog/6510:
#0: ffff8880208a1270 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x9c/0xb0 fs/file.c:990
5 locks held by kworker/1:4/6934:
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2269
#1: ffffc9000301fdb8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2273
#2: ffff888147aa3220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff888147aa3220 (&dev->mutex){....}-{3:3}, at: hub_event+0x127/0x36c0 drivers/usb/core/hub.c:5662
#3: ffff88807a833220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#3: ffff88807a833220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
#4: ffff88807b10b1a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#4: ffff88807b10b1a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
1 lock held by syz-executor.4/7110:
5 locks held by kworker/1:5/9021:
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1198 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:635 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:662 [inline]
#0: ffff8880111a3d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a4/0x1450 kernel/workqueue.c:2269
#1: ffffc9000c437db8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d1/0x1450 kernel/workqueue.c:2273
#2: ffff88823bc42220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#2: ffff88823bc42220 (&dev->mutex){....}-{3:3}, at: hub_event+0x127/0x36c0 drivers/usb/core/hub.c:5662
#3: ffff888079a6f220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#3: ffff888079a6f220 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
#4: ffff8880616791a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline]
#4: ffff8880616791a8 (&dev->mutex){....}-{3:3}, at: __device_attach+0x74/0x410 drivers/base/dd.c:944
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x30/0xc0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x11f/0x170 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0x88c/0xbf0 kernel/hung_task.c:295
kthread+0x3ab/0x480 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3001 Comm: systemd-journal Not tainted 5.16.0-rc2-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:check_preemption_disabled+0x2c/0xe0 lib/smp_processor_id.c:19
Code: 55 53 48 83 ec 08 65 44 8b 25 88 4c 8a 77 65 8b 05 f9 a6 8a 77 a9 ff ff ff 7f 74 0c 48 83 c4 08 44 89 e0 5b 5d 41 5c c3 9c 58 c4 02 74 ed 65 48 8b 04 25 40 70 02 00 f6 40 2f 04 48 89 fd 75
RSP: 0018:ffffc90001a5fa10 EFLAGS: 00000046
RAX: 0000000000000046 RBX: ffffffff81b4379c RCX: 0000000000000001
RDX: 0000000000000000 RSI: ffffffff88cb5520 RDI: ffffffff89216460
RBP: ffffc90001a5fae8 R08: 0000000000000000 R09: ffffffff81b4a7df
R10: ffffc90001a5fc74 R11: ffffed100413ef49 R12: 0000000000000001
R13: ffff8880209f7a00 R14: ffff8880209f7a50 R15: dffffc0000000000
FS: 00007f591f5658c0(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d882965a50 CR3: 0000000021836000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lockdep_hardirqs_off+0x90/0xd0 kernel/locking/lockdep.c:4393
trace_hardirqs_off+0xe/0x110 kernel/trace/trace_preemptirq.c:76
seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline]
set_root+0x27c/0x500 fs/namei.c:940
nd_jump_root+0x350/0x4d0 fs/namei.c:961
path_init+0xa41/0x1820 fs/namei.c:2359
path_parentat+0x14/0x160 fs/namei.c:2495
filename_parentat+0x192/0x550 fs/namei.c:2519
filename_create+0x8e/0x3b0 fs/namei.c:3637
do_mkdirat+0x86/0x280 fs/namei.c:3898
__do_sys_mkdir fs/namei.c:3929 [inline]
__se_sys_mkdir fs/namei.c:3927 [inline]
__x64_sys_mkdir+0xd0/0x120 fs/namei.c:3927
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f591e820687
Code: 00 b8 ff ff ff ff c3 0f 1f 40 00 48 8b 05 09 d8 2b 00 64 c7 00 5f 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 b8 53 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e1 d7 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffc75122938 EFLAGS: 00000293 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007ffc751259a0 RCX: 00007f591e820687
RDX: 0000000000000000 RSI: 00000000000001ed RDI: 000055800afe18a0
RBP: 00007ffc75122970 R08: 000055800a93b3e5 R09: 0000000000000018
R10: 0000000000000069 R11: 0000000000000293 R12: 0000000000000000
R13: 0000000000000001 R14: 000055800afe18a0 R15: 00007ffc75122fb0
----------------
Code disassembly (best guess):
0: 55 push %rbp
1: 53 push %rbx
2: 48 83 ec 08 sub $0x8,%rsp
6: 65 44 8b 25 88 4c 8a mov %gs:0x778a4c88(%rip),%r12d # 0x778a4c96
d: 77
e: 65 8b 05 f9 a6 8a 77 mov %gs:0x778aa6f9(%rip),%eax # 0x778aa70e
15: a9 ff ff ff 7f test $0x7fffffff,%eax
1a: 74 0c je 0x28
1c: 48 83 c4 08 add $0x8,%rsp
20: 44 89 e0 mov %r12d,%eax
23: 5b pop %rbx
24: 5d pop %rbp
25: 41 5c pop %r12
27: c3 retq
28: 9c pushfq
29: 58 pop %rax
* 2a: f6 c4 02 test $0x2,%ah <-- trapping instruction
2d: 74 ed je 0x1c
2f: 65 48 8b 04 25 40 70 mov %gs:0x27040,%rax
36: 02 00
38: f6 40 2f 04 testb $0x4,0x2f(%rax)
3c: 48 89 fd mov %rdi,%rbp
3f: 75 .byte 0x75