INFO: task kworker/1:1:37 blocked for more than 143 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:1 state:D
stack:21456 pid:37 tgid:37 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580
kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778
kernfs_create_dir_ns+0xf4/0x150 fs/kernfs/dir.c:1071
sysfs_create_dir_ns+0x13b/0x2b0 fs/sysfs/dir.c:59
create_dir lib/kobject.c:73 [inline]
kobject_add_internal+0x2c8/0x990 lib/kobject.c:240
kobject_add_varg lib/kobject.c:374 [inline]
kobject_add+0x16f/0x240 lib/kobject.c:426
device_add+0x289/0x1a70 drivers/base/core.c:3617
hid_add_device+0x37f/0xa70 drivers/hid/hid-core.c:2857
usbhid_probe+0xd3b/0x1410 drivers/hid/usbhid/hid-core.c:1431
usb_probe_interface+0x309/0x9d0 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:657
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:957
bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
__device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x114b/0x1a70 drivers/base/core.c:3679
usb_set_configuration+0x10cb/0x1c50 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:254
usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:294
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:657
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:957
bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
__device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x114b/0x1a70 drivers/base/core.c:3679
usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651
hub_port_connect drivers/usb/core/hub.c:5521 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
port_event drivers/usb/core/hub.c:5821 [inline]
hub_event+0x2e66/0x4f50 drivers/usb/core/hub.c:5903
process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
INFO: task udevd:5087 blocked for more than 144 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D
stack:24448 pid:5087 tgid:5087 ppid:2547 flags:0x00000002
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752
device_lock include/linux/device.h:1009 [inline]
uevent_show+0x188/0x3b0 drivers/base/core.c:2743
dev_attr_show+0x53/0xe0 drivers/base/core.c:2437
sysfs_kf_seq_show+0x23e/0x410 fs/sysfs/file.c:59
seq_read_iter+0x4fa/0x12c0 fs/seq_file.c:230
kernfs_fop_read_iter+0x41a/0x590 fs/kernfs/file.c:279
new_sync_read fs/read_write.c:395 [inline]
vfs_read+0x869/0xbd0 fs/read_write.c:476
ksys_read+0x12f/0x260 fs/read_write.c:619
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0d17fc5b6a
RSP: 002b:00007fff0e16f108 EFLAGS: 00000246
ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000558ff8e552c0 RCX: 00007f0d17fc5b6a
RDX: 0000000000001000 RSI: 0000558ff8e9daa0 RDI: 0000000000000008
RBP: 0000558ff8e552c0 R08: 0000000000000008 R09: 0000000000000000
R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000003fff R14: 00007fff0e16f5e8 R15: 000000000000000a
INFO: task kworker/0:6:5671 blocked for more than 145 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:6 state:D stack:20976 pid:5671 tgid:5671 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580
kernfs_activate fs/kernfs/dir.c:1403 [inline]
kernfs_add_one+0x39d/0x520 fs/kernfs/dir.c:819
__kernfs_create_file+0x295/0x350 fs/kernfs/file.c:1063
sysfs_add_file_mode_ns+0x1ff/0x3b0 fs/sysfs/file.c:307
sysfs_create_file_ns+0x13e/0x1d0 fs/sysfs/file.c:368
sysfs_create_file include/linux/sysfs.h:767 [inline]
device_create_file+0xf2/0x1e0 drivers/base/core.c:3045
device_add+0x2c0/0x1a70 drivers/base/core.c:3626
usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651
hub_port_connect drivers/usb/core/hub.c:5521 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
port_event drivers/usb/core/hub.c:5821 [inline]
hub_event+0x2e66/0x4f50 drivers/usb/core/hub.c:5903
process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
INFO: task kworker/1:6:5822 blocked for more than 146 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/1:6 state:D
stack:23408 pid:5822 tgid:5822 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580
kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778
kernfs_create_link+0x1a9/0x240 fs/kernfs/symlink.c:48
sysfs_do_create_link_sd+0x90/0x140 fs/sysfs/symlink.c:44
sysfs_do_create_link fs/sysfs/symlink.c:80 [inline]
sysfs_create_link+0x61/0xc0 fs/sysfs/symlink.c:92
driver_sysfs_add+0x91/0x2d0 drivers/base/dd.c:440
really_probe+0x146/0xa90 drivers/base/dd.c:645
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:957
bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
__device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x114b/0x1a70 drivers/base/core.c:3679
usb_set_configuration+0x10cb/0x1c50 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:254
usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:294
call_driver_probe drivers/base/dd.c:578 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:657
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:799
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:829
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:957
bus_for_each_drv+0x157/0x1e0 drivers/base/bus.c:457
__device_attach+0x1e8/0x4b0 drivers/base/dd.c:1029
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:532
device_add+0x114b/0x1a70 drivers/base/core.c:3679
usb_new_device+0xd90/0x1a10 drivers/usb/core/hub.c:2651
hub_port_connect drivers/usb/core/hub.c:5521 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5661 [inline]
port_event drivers/usb/core/hub.c:5821 [inline]
hub_event+0x2e66/0x4f50 drivers/usb/core/hub.c:5903
process_one_work+0x9c5/0x1b40 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf20 kernel/workqueue.c:3390
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
INFO: task syz.1.1668:12190 blocked for more than 147 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.1.1668 state:D
stack:27872 pid:12190 tgid:12190 ppid:2649 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580
kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
sysfs_remove_file include/linux/sysfs.h:773 [inline]
driver_remove_file drivers/base/driver.c:198 [inline]
driver_remove_file+0x4a/0x60 drivers/base/driver.c:194
remove_bind_files drivers/base/bus.c:600 [inline]
bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:738
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1733
raw_release+0x1a9/0x2f0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x408/0xbb0 fs/file_table.c:422
task_work_run+0x14e/0x250 kernel/task_work.c:222
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0xaa3/0x2b30 kernel/exit.c:882
do_group_exit+0xd3/0x2a0 kernel/exit.c:1031
get_signal+0x25fd/0x2770 kernel/signal.c:2917
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f087ab073b9
RSP: 002b:00007fff895fd688 EFLAGS: 00000246
ORIG_RAX: 00000000000000ca
RAX: fffffffffffffdfc RBX: 00000000000cc21f RCX: 00007f087ab073b9
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f087ac95f8c
RBP: 00007f087ac95f8c R08: 00007f087ac95f80 R09: 00007fff895fd96f
R10: 00007fff895fd780 R11: 0000000000000246 R12: 0000000000000bea
R13: 00007fff895fd780 R14: 00007fff895fd7a0 R15: 00000000000cb635
INFO: task syz.4.1669:12192 blocked for more than 147 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.1669 state:D
stack:28736 pid:12192 tgid:12192 ppid:9481 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580
kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
sysfs_remove_file include/linux/sysfs.h:773 [inline]
driver_remove_file drivers/base/driver.c:198 [inline]
driver_remove_file+0x4a/0x60 drivers/base/driver.c:194
remove_bind_files drivers/base/bus.c:600 [inline]
bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:738
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1733
raw_release+0x1a9/0x2f0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x408/0xbb0 fs/file_table.c:422
task_work_run+0x14e/0x250 kernel/task_work.c:222
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x24e/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f798a7373b9
RSP: 002b:00007fff5f7a73b8 EFLAGS: 00000246
ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007f798a8c7a80 RCX: 00007f798a7373b9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007f798a8c7a80 R08: 0000000000000006 R09: 00007fff5f7a769f
R10: 000000000003fd40 R11: 0000000000000246 R12: 00000000000cca3d
R13: 00007fff5f7a74b0 R14: 00007fff5f7a74d0 R15: ffffffffffffffff
INFO: task syz.2.1670:12195 blocked for more than 148 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.1670 state:D
stack:29088 pid:12195 tgid:12194 ppid:8878 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580
kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
sysfs_remove_file include/linux/sysfs.h:773 [inline]
driver_remove_file drivers/base/driver.c:198 [inline]
driver_remove_file+0x4a/0x60 drivers/base/driver.c:194
remove_bind_files drivers/base/bus.c:601 [inline]
bus_remove_driver+0x233/0x2c0 drivers/base/bus.c:738
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_register_driver_owner+0x1da/0x2f0 drivers/usb/gadget/udc/core.c:1723
raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:595 [inline]
raw_ioctl+0x1737/0x2b90 drivers/usb/gadget/legacy/raw_gadget.c:1306
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl fs/ioctl.c:893 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb393936fbb
RSP: 002b:00007fb3925b4f20 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fb393936fbb
RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000004
RBP: 00007fb3925b5ff0 R08: 0000000000000010 R09: 00322e6364755f79
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb3925b4fc0 R14: 00000000200000c0 R15: 00007fb393bf0b88
INFO: task syz.3.1671:12196 blocked for more than 149 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.3.1671 state:D
stack:27696 pid:12196 tgid:12196 ppid:8149 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580
kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
sysfs_remove_file include/linux/sysfs.h:773 [inline]
driver_remove_file drivers/base/driver.c:198 [inline]
driver_remove_file+0x4a/0x60 drivers/base/driver.c:194
remove_bind_files drivers/base/bus.c:600 [inline]
bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:738
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1733
raw_release+0x1a9/0x2f0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x408/0xbb0 fs/file_table.c:422
task_work_run+0x14e/0x250 kernel/task_work.c:222
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x24e/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fec134873b9
RSP: 002b:00007ffce352d868 EFLAGS: 00000246
ORIG_RAX: 00000000000001b4
RAX: 0000000000000000 RBX: 00007fec13617a80 RCX: 00007fec134873b9
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fec13617a80 R08: 0000000000000000 R09: 00007ffce352db4f
R10: 000000000003fd98 R11: 0000000000000246 R12: 00000000000cc733
R13: 00007ffce352d960 R14: 00007ffce352d980 R15: ffffffffffffffff
INFO: task syz.0.1672:12203 blocked for more than 149 seconds.
Not tainted 6.11.0-rc1-syzkaller-00012-gd483f034f032 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.0.1672 state:D
stack:27648 pid:12203 tgid:12201 ppid:8747 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5188 [inline]
__schedule+0xcda/0x2f80 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1580
kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
sysfs_remove_file include/linux/sysfs.h:773 [inline]
driver_remove_file drivers/base/driver.c:198 [inline]
driver_remove_file+0x4a/0x60 drivers/base/driver.c:194
remove_bind_files drivers/base/bus.c:600 [inline]
bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:738
driver_unregister+0x76/0xb0 drivers/base/driver.c:274
usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1733
raw_release+0x1a9/0x2f0 drivers/usb/gadget/legacy/raw_gadget.c:462
__fput+0x408/0xbb0 fs/file_table.c:422
task_work_run+0x14e/0x250 kernel/task_work.c:222
exit_task_work include/linux/task_work.h:40 [inline]
do_exit+0xaa3/0x2b30 kernel/exit.c:882
do_group_exit+0xd3/0x2a0 kernel/exit.c:1031
get_signal+0x25fd/0x2770 kernel/signal.c:2917
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x147/0x260 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f0803f36fbb
RSP: 002b:00007f0802b93f20 EFLAGS: 00000246
ORIG_RAX: 0000000000000010
RAX: fffffffffffffffc RBX: 0000000000000004 RCX: 00007f0803f36fbb
RDX: 00007f0802b94ff0 RSI: 0000000080085502 RDI: 0000000000000004
RBP: 00007f0802b94ff0 R08: 0000000000000010 R09: 00302e6364755f79
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502
R13: 0000000800000000 R14: 0000000020000180 R15: 00007f0803fadee8
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0:
ffffffff88cb68a0 (
rcu_read_lock){....}-{1:2}
, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline]
, at: rcu_read_lock include/linux/rcupdate.h:838 [inline]
, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6620
6 locks held by kworker/1:1/37:
#0: ffff888104a8ed48
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc90000277d80
((work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffff888108faf190
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3: ffff8881043fe190
(
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004
#4:
ffff88810feea160
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004
#5: ffff888100abc148
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778
2 locks held by getty/2605:
#0:
ffff8881063570a0
(
&tty->ldisc_sem){++++}-{0:0}
, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1:
ffffc900000432f0 (
&ldata->atomic_read_lock){+.+.}-{3:3}
, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2211
1 lock held by syz-executor/2649:
#0: ffff888100abc148
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
4 locks held by udevd/4926:
#0:
ffff8881156b39e0 (
&p->lock
){+.+.}-{3:3}
, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1:
ffff88811eee8c88
(
&of->mutex#2
){+.+.}-{3:3}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2: ffff88810df20a58
(kn->active
#20
){++++}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3:
ffff88813aa9c190
(&dev->mutex
){....}-{3:3}
, at: device_lock_interruptible include/linux/device.h:1014 [inline]
, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142
4 locks held by kworker/0:4/4929:
#0: ffff888104a8ed48
(
(wq_completion)usb_hub_wq
){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc90001fafd80
((work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2: ffff888108baf190
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3: ffff888100abc148
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_activate fs/kernfs/dir.c:1403 [inline]
, at: kernfs_add_one+0x39d/0x520 fs/kernfs/dir.c:819
7 locks held by kworker/0:5/4965:
4 locks held by udevd/5087:
#0: ffff88810cb169e0
(
&p->lock
){+.+.}-{3:3}
, at: seq_read_iter+0xde/0x12c0 fs/seq_file.c:182
#1:
ffff888112f3a088
(&of->mutex
#2
){+.+.}-{3:3}
, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154
#2: ffff88812a24bd28
(
kn->active
#5){++++}-{0:0}
, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155
#3:
ffff8881043fe190
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: uevent_show+0x188/0x3b0 drivers/base/core.c:2743
1 lock held by udevd/5510:
#0:
ffff888100abc148
(
&root->kernfs_rwsem){++++}-{3:3}
, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
4 locks held by kworker/0:6/5671:
6 locks held by kworker/1:6/5822:
#0:
ffff888104a8ed48
(
(wq_completion)usb_hub_wq){+.+.}-{0:0}
, at: process_one_work+0x1277/0x1b40 kernel/workqueue.c:3206
#1:
ffffc90010117d80
(
(work_completion)(&hub->events)
){+.+.}-{0:0}
, at: process_one_work+0x921/0x1b40 kernel/workqueue.c:3207
#2:
ffff888108f5f190
(&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: hub_event+0x1be/0x4f50 drivers/usb/core/hub.c:5849
#3:
ffff88813aa9c190 (
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004
#4: ffff88811c881160 (
&dev->mutex
){....}-{3:3}
, at: device_lock include/linux/device.h:1009 [inline]
, at: __device_attach+0x7f/0x4b0 drivers/base/dd.c:1004
#5:
ffff888100abc148
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_add_one+0xb1/0x520 fs/kernfs/dir.c:778
1 lock held by syz-executor/8149:
#0: ffff888100abc148
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
1 lock held by syz-executor/8747:
#0:
ffff888100abc148 (
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
1 lock held by syz-executor/8878:
#0:
ffff888100abc148
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
1 lock held by syz-executor/9481:
#0: ffff888100abc148
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141
1 lock held by udevd/10841:
#0:
ffff888100abc148 (
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
1 lock held by syz.1.1668/12190:
#0:
ffff888100abc148
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
1 lock held by syz.4.1669/12192:
#0:
ffff888100abc148
(
&root->kernfs_rwsem){++++}-{3:3}
, at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
1 lock held by syz.2.1670/12195:
#0: ffff888100abc148
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
1 lock held by syz.3.1671/12196:
#0:
ffff888100abc148
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
1 lock held by syz.0.1672/12203:
#0: ffff888100abc148
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689
1 lock held by syz-executor/12207:
#0:
ffff888100abc148 (
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
1 lock held by syz-executor/12208:
#0:
ffff888100abc148
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
1 lock held by syz-executor/12209:
#0: ffff888100abc148
(
&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
1 lock held by syz-executor/12210:
#0: ffff888100abc148
(&root->kernfs_rwsem
){++++}-{3:3}
, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159
1 lock held by syz-executor/12211:
#0:
ffff888100abc148