INFO: task kworker/0:1:10 blocked for more than 143 seconds. Not tainted 6.15.0-rc4-syzkaller-00104-g588d032e9e56 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:1 state:D stack:22456 pid:10 tgid:10 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x132a/0x3b00 kernel/sched/core.c:6767 __schedule_loop kernel/sched/core.c:6845 [inline] schedule+0xe7/0x3a0 kernel/sched/core.c:6860 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6917 rwsem_down_write_slowpath+0x524/0x1310 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d6/0x200 kernel/locking/rwsem.c:1578 kernfs_add_one+0x38/0x840 fs/kernfs/dir.c:791 kernfs_create_dir_ns+0xfc/0x1a0 fs/kernfs/dir.c:1091 sysfs_create_dir_ns+0x13a/0x2b0 fs/sysfs/dir.c:59 create_dir lib/kobject.c:73 [inline] kobject_add_internal+0x2c4/0x9b0 lib/kobject.c:240 kobject_add_varg lib/kobject.c:374 [inline] kobject_add+0x16e/0x240 lib/kobject.c:426 device_add+0x288/0x1a70 drivers/base/core.c:3630 usb_set_configuration+0x1187/0x1e20 drivers/usb/core/message.c:2210 usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:250 usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:291 call_driver_probe drivers/base/dd.c:579 [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+0x156/0x1e0 drivers/base/bus.c:462 __device_attach+0x1e4/0x4b0 drivers/base/dd.c:1029 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:537 device_add+0x1148/0x1a70 drivers/base/core.c:3692 usb_new_device+0xd07/0x1a20 drivers/usb/core/hub.c:2663 hub_port_connect drivers/usb/core/hub.c:5535 [inline] hub_port_connect_change drivers/usb/core/hub.c:5675 [inline] port_event drivers/usb/core/hub.c:5835 [inline] hub_event+0x2f85/0x5030 drivers/usb/core/hub.c:5917 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Showing all locks held in the system: 4 locks held by kworker/0:1/10: 1 lock held by khungtaskd/30: #0: ffffffff890c2880 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff890c2880 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff890c2880 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6764 2 locks held by kworker/u8:6/1389: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc900020efd18 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 6 locks held by kworker/1:2/2676: #0: ffff8881066aa548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90004e6fd18 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff88810b77e198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #2: ffff88810b77e198 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863 #3: ffff88811fd25198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #3: ffff88811fd25198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1004 #4: ffff88810fbff160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] #4: ffff88810fbff160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x7e/0x4b0 drivers/base/dd.c:1004 #5: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_remove_by_name_ns+0x3d/0x110 fs/kernfs/dir.c:1709 2 locks held by syslogd/2823: 2 locks held by getty/2900: #0: ffff8881123ae0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900000432f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x41b/0x14f0 drivers/tty/n_tty.c:2222 1 lock held by syz-executor/2943: #0: ffffffff890cddb8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock+0x1a3/0x3c0 kernel/rcu/tree_exp.h:336 1 lock held by udevd/5194: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 4 locks held by kworker/0:3/5225: #0: ffff888100080d48 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc9000219fd18 (kernfs_notify_work){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff888100ac4a78 (&root->kernfs_supers_rwsem){++++}-{4:4}, at: kernfs_notify_workfn+0xf7/0xb20 fs/kernfs/file.c:913 #3: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_notify_workfn+0xff/0xb20 fs/kernfs/file.c:914 4 locks held by udevd/5226: #0: ffff888113ba4668 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xe1/0x12c0 fs/seq_file.c:182 #1: ffff888111818088 (&of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88810a7b7788 (kn->active#18){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88811fd25198 (&dev->mutex){....}-{4:4}, at: device_lock_interruptible include/linux/device.h:927 [inline] #3: ffff88811fd25198 (&dev->mutex){....}-{4:4}, at: manufacturer_show+0x26/0xa0 drivers/usb/core/sysfs.c:142 5 locks held by kworker/1:4/5228: 1 lock held by udevd/5282: #0: ffff888100ac4948 ( &root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 3 locks held by kworker/0:4/5298: 7 locks held by kworker/0:5/5303: #0: ffff8881066aa548 ((wq_completion)usb_hub_wq ){+.+.}-{0:0} , at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc9000230fd18 ( (work_completion)(&hub->events) ){+.+.}-{0:0} , at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 #2: ffff88810bb0e198 ( &dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:922 [inline] , at: hub_event+0x1be/0x5030 drivers/usb/core/hub.c:5863 #3: ffff8881132de198 (&dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:922 [inline] , at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2307 #4: ffff8881134a9160 (&dev->mutex ){....}-{4:4} , at: device_lock include/linux/device.h:922 [inline] , at: __device_driver_lock drivers/base/dd.c:1094 [inline] , at: device_release_driver_internal+0xa4/0x620 drivers/base/dd.c:1292 #5: ffffffff89defc68 (input_mutex ){+.+.}-{4:4} , at: class_mutex_constructor include/linux/mutex.h:201 [inline] , at: __input_unregister_device+0x156/0x470 drivers/input/input.c:2221 #6: ffffffff890cddb8 (rcu_state.exp_mutex ){+.+.}-{4:4} , at: exp_funnel_lock+0x1a3/0x3c0 kernel/rcu/tree_exp.h:336 1 lock held by udevd/5370: #0: ffff888100ac4948 (&root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 2 locks held by syz-executor/5546: 1 lock held by syz-executor/5547: 1 lock held by syz-executor/5548: 1 lock held by syz-executor/5549: 1 lock held by modprobe/5553: #0: ffff888100ac4948 (&root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 3 locks held by syz-executor/5555: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.15.0-rc4-syzkaller-00104-g588d032e9e56 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:158 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:274 [inline] watchdog+0xf70/0x12c0 kernel/hung_task.c:437 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5546 Comm: syz-executor Not tainted 6.15.0-rc4-syzkaller-00104-g588d032e9e56 #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:__lock_acquire+0x47/0x1ba0 kernel/locking/lockdep.c:5094 Code: 44 89 04 24 4c 8b bc 24 a8 00 00 00 65 48 8b 05 07 59 0c 0b 48 89 44 24 68 31 c0 45 85 d2 0f 84 d0 06 00 00 48 8b 07 49 89 fb <48> 3d c0 0c 6b 8c 0f 84 be 06 00 00 45 89 cc 44 8b 0d 53 b4 a2 07 RSP: 0018:ffffc90001657500 EFLAGS: 00000002 RAX: ffffffff88fcfbc0 RBX: ffffffff88fcfbc0 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffffff88fcfbc0 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: ffffffff88fcfbc0 R12: 0000000000000001 R13: 0000000000000001 R14: ffff88811288ba80 R15: 0000000000000000 FS: 0000555586b81500(0000) GS:ffff8882691c4000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffff2ecae88 CR3: 00000001223b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5866 [inline] lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5823 printk_legacy_allow_spinlock_enter kernel/printk/printk.c:3050 [inline] console_emit_next_record kernel/printk/printk.c:3137 [inline] console_flush_all+0x7d0/0xc60 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xd8/0x210 kernel/printk/printk.c:3325 vprintk_emit+0x418/0x6d0 kernel/printk/printk.c:2450 _printk+0xc7/0x100 kernel/printk/printk.c:2475 show_free_areas+0x16c0/0x21b0 mm/show_mem.c:382 __show_mem+0x34/0x140 mm/show_mem.c:407 warn_alloc_show_mem mm/page_alloc.c:3738 [inline] warn_alloc+0x2af/0x3a0 mm/page_alloc.c:3763 __vmalloc_area_node mm/vmalloc.c:3651 [inline] __vmalloc_node_range_noprof+0x1110/0x1540 mm/vmalloc.c:3844 vmalloc_user_noprof+0x6b/0x90 mm/vmalloc.c:3996 kcov_ioctl+0x4c/0x730 kernel/kcov.c:716 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:906 [inline] __se_sys_ioctl fs/ioctl.c:892 [inline] __x64_sys_ioctl+0x190/0x200 fs/ioctl.c:892 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f507b07e56b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffd7c6229c0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000080000 RCX: 00007f507b07e56b RDX: 0000000000080000 RSI: ffffffff80086301 RDI: 00000000000000da RBP: 00007f507b2a61f8 R08: 00000000000000d9 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000003 R14: 0000000000000009 R15: 0000000000000000