INFO: task kworker/0:2:2318 blocked for more than 143 seconds.
Not tainted 6.2.0-syzkaller-13467-g0988a0ea7919 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:2 state:D stack:22416 pid:2318 ppid:2 flags:0x00004000
Workqueue: usb_hub_wq hub_event
Call Trace:
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0xacf/0x2df0 kernel/sched/core.c:6622
schedule+0xde/0x1a0 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
rwsem_down_write_slowpath+0x3e2/0x1220 kernel/locking/rwsem.c:1178
__down_write_common kernel/locking/rwsem.c:1306 [inline]
__down_write kernel/locking/rwsem.c:1315 [inline]
down_write+0x1d2/0x200 kernel/locking/rwsem.c:1574
usb_register_dev drivers/usb/core/file.c:187 [inline]
usb_register_dev+0x19c/0x830 drivers/usb/core/file.c:156
usbtmc_probe+0xdae/0x1ad0 drivers/usb/class/usbtmc.c:2459
usb_probe_interface+0x30f/0x960 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:552 [inline]
really_probe+0x240/0xca0 drivers/base/dd.c:631
__driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:768
driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:798
__device_attach_driver+0x1d4/0x2e0 drivers/base/dd.c:926
bus_for_each_drv+0x149/0x1d0 drivers/base/bus.c:457
__device_attach+0x1e4/0x4b0 drivers/base/dd.c:998
bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
device_add+0x11c4/0x1c50 drivers/base/core.c:3589
usb_set_configuration+0x10ee/0x1af0 drivers/usb/core/message.c:2171
usb_generic_driver_probe+0xcf/0x130 drivers/usb/core/generic.c:238
usb_probe_device+0xd8/0x2c0 drivers/usb/core/driver.c:293
call_driver_probe drivers/base/dd.c:552 [inline]
really_probe+0x240/0xca0 drivers/base/dd.c:631
__driver_probe_device+0x1df/0x4d0 drivers/base/dd.c:768
driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:798
__device_attach_driver+0x1d4/0x2e0 drivers/base/dd.c:926
bus_for_each_drv+0x149/0x1d0 drivers/base/bus.c:457
__device_attach+0x1e4/0x4b0 drivers/base/dd.c:998
bus_probe_device+0x17c/0x1c0 drivers/base/bus.c:532
device_add+0x11c4/0x1c50 drivers/base/core.c:3589
usb_new_device+0xcb2/0x19d0 drivers/usb/core/hub.c:2575
hub_port_connect drivers/usb/core/hub.c:5407 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5551 [inline]
port_event drivers/usb/core/hub.c:5711 [inline]
hub_event+0x2e3d/0x4ed0 drivers/usb/core/hub.c:5793
process_one_work+0x9bf/0x1820 kernel/workqueue.c:2390
worker_thread+0x669/0x1090 kernel/workqueue.c:2537
kthread+0x2ee/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/11:
#0: ffffffff87a9b6d0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x31/0xd80 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/25:
#0: ffffffff87a9c220 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6495
2 locks held by kworker/u4:5/1497:
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361
#1: ffffc9000448fda8 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365
6 locks held by kworker/0:2/2318:
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361
#1: ffffc90006ecfda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365
#2: ffff88810ea40190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
#2: ffff88810ea40190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4ed0 drivers/usb/core/hub.c:5739
#3: ffff88811591e190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
#3: ffff88811591e190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:973
#4: ffff888114701118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
#4: ffff888114701118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:973
#5: ffffffff88448550 (minor_rwsem){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline]
#5: ffffffff88448550 (minor_rwsem){++++}-{3:3}, at: usb_register_dev+0x19c/0x830 drivers/usb/core/file.c:156
2 locks held by getty/2413:
#0: ffff888108254098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x26/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc900000452f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xef4/0x13e0 drivers/tty/n_tty.c:2177
2 locks held by kworker/u4:6/2491:
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff888100079138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361
#1: ffffc900015a7da8 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365
6 locks held by kworker/0:3/5268:
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic64_set arch/x86/include/asm/atomic64_64.h:34 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: arch_atomic_long_set include/linux/atomic/atomic-long.h:41 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: atomic_long_set include/linux/atomic/atomic-instrumented.h:1280 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_data kernel/workqueue.c:639 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: set_work_pool_and_clear_pending kernel/workqueue.c:666 [inline]
#0: ffff888109033d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x86d/0x1820 kernel/workqueue.c:2361
#1: ffffc90001e3fda8 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x8a1/0x1820 kernel/workqueue.c:2365
#2: ffff88810eb2d190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
#2: ffff88810eb2d190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c0/0x4ed0 drivers/usb/core/hub.c:5739
#3: ffff88811d777190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
#3: ffff88811d777190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:973
#4: ffff888115918118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:832 [inline]
#4: ffff888115918118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x76/0x4b0 drivers/base/dd.c:973
#5: ffffffff88448550 (minor_rwsem){++++}-{3:3}, at: usb_register_dev drivers/usb/core/file.c:187 [inline]
#5: ffffffff88448550 (minor_rwsem){++++}-{3:3}, at: usb_register_dev+0x19c/0x830 drivers/usb/core/file.c:156
2 locks held by syz-executor.0/28463:
#0: ffffffff88448550 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39
#1: ffff88810c6db8d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb6/0x4e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213
2 locks held by syz-executor.2/28550:
#0: ffffffff88448550 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39
#1: ffff88810c6db8d0 (&(sisusb->lock)){+.+.}-{3:3}, at: sisusb_open+0xb6/0x4e0 drivers/usb/misc/sisusbvga/sisusbvga.c:2213
1 lock held by syz-executor.0/29825:
#0: ffffffff88448550 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39
1 lock held by syz-executor.2/29924:
#0: ffffffff88448550 (minor_rwsem){++++}-{3:3}, at: usb_open+0x28/0x2e0 drivers/usb/core/file.c:39
1 lock held by modprobe/30756:
2 locks held by modprobe/30757:
#0: ffff8881f6839218 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:539 [inline]
#0: ffff8881f6839218 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1366 [inline]
#0: ffff8881f6839218 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1653 [inline]
#0: ffff8881f6839218 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x265/0x2df0 kernel/sched/core.c:6539
#1: ffff88810f941298 (&sighand->siglock){....}-{2:2}, at: do_notify_parent+0x779/0xf40 kernel/signal.c:2088
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 25 Comm: khungtaskd Not tainted 6.2.0-syzkaller-13467-g0988a0ea7919 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x150 lib/dump_stack.c:106
nmi_cpu_backtrace+0x316/0x3e0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x333/0x440 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xe94/0x11e0 kernel/hung_task.c:379
kthread+0x2ee/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 30760 Comm: modprobe Not tainted 6.2.0-syzkaller-13467-g0988a0ea7919 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:__read_once_word_nocheck+0x3/0x10 include/asm-generic/rwonce.h:68
Code: 00 e9 cb fd ff ff e8 1c a1 6c 00 e9 80 fd ff ff e8 12 a1 6c 00 e9 4d fd ff ff e8 08 a1 6c 00 e9 05 fd ff ff 0f 1f 00 48 8b 07 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 89 d0 41 56 41 55 41
RSP: 0018:ffffc90000597600 EFLAGS: 00000a06
RAX: ffffffff8620008b RBX: 0000000000000001 RCX: 0000000000000001
RDX: dffffc0000000000 RSI: 1ffff920000b2ed8 RDI: ffffc90000597f50
RBP: ffffc900005976c0 R08: ffffffff89912e38 R09: ffffc900005976ac
R10: 0000000080000000 R11: ffffc90000597f50 R12: ffffc900005976c8
R13: ffffc90000597678 R14: ffffc90000597f58 R15: ffffffff89912e3c
FS: 0000000000000000(0000) GS:ffff8881f6800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f55903671d0 CR3: 0000000110d20000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
deref_stack_reg arch/x86/kernel/unwind_orc.c:379 [inline]
unwind_next_frame+0xafb/0x1ef0 arch/x86/kernel/unwind_orc.c:560
arch_stack_walk+0x81/0xf0 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x90/0xc0 kernel/stacktrace.c:122
kasan_save_stack+0x22/0x40 mm/kasan/common.c:45
kasan_set_track+0x25/0x30 mm/kasan/common.c:52
__kasan_slab_alloc+0x55/0x60 mm/kasan/common.c:328
kasan_slab_alloc include/linux/kasan.h:186 [inline]
slab_post_alloc_hook mm/slab.h:769 [inline]
kmem_cache_alloc_bulk+0x430/0x830 mm/slub.c:4034
mt_alloc_bulk lib/maple_tree.c:164 [inline]
mas_alloc_nodes+0x276/0x8a0 lib/maple_tree.c:1263
mas_node_count_gfp lib/maple_tree.c:1318 [inline]
mas_preallocate+0x1bb/0x360 lib/maple_tree.c:5731
vma_iter_prealloc mm/internal.h:972 [inline]
__split_vma+0x1b7/0x7e0 mm/mmap.c:2177
split_vma+0xc6/0x110 mm/mmap.c:2242
mprotect_fixup+0x7ae/0x9b0 mm/mprotect.c:663
do_mprotect_pkey+0x926/0xbe0 mm/mprotect.c:831
__do_sys_mprotect mm/mprotect.c:852 [inline]
__se_sys_mprotect mm/mprotect.c:849 [inline]
__x64_sys_mprotect+0x78/0xb0 mm/mprotect.c:849
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5590388297
Code: 44 00 00 b8 0b 00 00 00 0f 05 48 3d 01 f0 ff ff 73 01 c3 48 8d 0d 21 1f 01 00 f7 d8 89 01 48 83 c8 ff c3 b8 0a 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d 01 1f 01 00 f7 d8 89 01 48 83
RSP: 002b:00007ffcd3724a38 EFLAGS: 00000206 ORIG_RAX: 000000000000000a
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f5590388297
RDX: 0000000000000000 RSI: 000000000001c000 RDI: 00007f55900aa000
RBP: 00007ffcd3724da0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000802 R11: 0000000000000206 R12: 00007ffcd3724a40
R13: 0000000000000000 R14: 0000000000000001 R15: 00007f5590366f00