INFO: task kworker/1:0:24 blocked for more than 143 seconds. Not tainted 6.13.0-rc3-syzkaller-g362a7993ed01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:0 state:D stack:21312 pid:24 tgid:24 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d8/0x200 kernel/locking/rwsem.c:1578 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:3603 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+0x2e58/0x4f40 drivers/usb/core/hub.c:5903 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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-executor:2946 blocked for more than 144 seconds. Not tainted 6.13.0-rc3-syzkaller-g362a7993ed01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:24256 pid:2946 tgid:2946 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1526 kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 d_revalidate fs/namei.c:927 [inline] d_revalidate fs/namei.c:924 [inline] lookup_fast+0x239/0x540 fs/namei.c:1752 walk_component+0x5b/0x5b0 fs/namei.c:2108 link_path_walk.part.0.constprop.0+0x669/0xd40 fs/namei.c:2477 link_path_walk fs/namei.c:2409 [inline] path_openat+0x228/0x2d60 fs/namei.c:3983 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1428 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:0x7f0c60065621 RSP: 002b:00007ffcb6a813b0 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000000cc RCX: 00007f0c60065621 RDX: 0000000000090800 RSI: 00007f0c600e1dc8 RDI: 00000000ffffff9c RBP: 00007ffcb6a8144c R08: 0000000000009992 R09: 00007f0c60d91000 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 0000000000036805 R14: 00007ffcb6a814a0 R15: 0000000000000046 INFO: task syz-executor:2947 blocked for more than 144 seconds. Not tainted 6.13.0-rc3-syzkaller-g362a7993ed01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:23696 pid:2947 tgid:2947 ppid:1 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_read_slowpath+0x61e/0xb20 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0x124/0x330 kernel/locking/rwsem.c:1526 kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 d_revalidate fs/namei.c:927 [inline] d_revalidate fs/namei.c:924 [inline] lookup_fast+0x239/0x540 fs/namei.c:1752 walk_component+0x5b/0x5b0 fs/namei.c:2108 link_path_walk.part.0.constprop.0+0x669/0xd40 fs/namei.c:2477 link_path_walk fs/namei.c:2409 [inline] path_openat+0x228/0x2d60 fs/namei.c:3983 do_filp_open+0x20c/0x470 fs/namei.c:4014 do_sys_openat2+0x17a/0x1e0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1428 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:0x7f3513875621 RSP: 002b:00007ffdb2462b40 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000000c4 RCX: 00007f3513875621 RDX: 0000000000090800 RSI: 00007f35138f1dc8 RDI: 00000000ffffff9c RBP: 00007ffdb2462bdc R08: 0000000000009ad2 R09: 00007f35145a4000 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 0000000000036781 R14: 00007ffdb2462c30 R15: 0000000000000044 INFO: task syz.3.356:6462 blocked for more than 145 seconds. Not tainted 6.13.0-rc3-syzkaller-g362a7993ed01 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.3.356 state:D stack:27848 pid:6462 tgid:6461 ppid:2954 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5369 [inline] __schedule+0x102c/0x34b0 kernel/sched/core.c:6756 __schedule_loop kernel/sched/core.c:6833 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6848 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6905 rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1176 __down_write_common kernel/locking/rwsem.c:1304 [inline] __down_write kernel/locking/rwsem.c:1313 [inline] down_write+0x1d8/0x200 kernel/locking/rwsem.c:1578 kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689 sysfs_remove_file include/linux/sysfs.h:794 [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:602 [inline] bus_remove_driver+0x224/0x2c0 drivers/base/bus.c:740 driver_unregister+0x76/0xb0 drivers/base/driver.c:274 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1732 raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x3f8/0xb60 fs/file_table.c:450 task_work_run+0x14e/0x250 kernel/task_work.c:239 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xadd/0x2ce0 kernel/exit.c:938 do_group_exit+0xd3/0x2a0 kernel/exit.c:1087 get_signal+0x24ed/0x26c0 kernel/signal.c:3017 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:329 [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:0x7fb974b9592b RSP: 002b:00007fb973204f60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007fb974b9592b RDX: 00007fb973205ff0 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 00007fb974c11aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fb974d85fa0 R15: 00007ffceec7dec8 Showing all locks held in the system: 3 locks held by kworker/1:0/24: #0: ffff8881066b6548 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000019fd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88810b3ff190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #2: ffff88810b3ff190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 1 lock held by khungtaskd/30: #0: ffffffff88ebc480 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff88ebc480 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff88ebc480 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by getty/2903: #0: ffff8881121ca0a0 (&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+0xfba/0x1480 drivers/tty/n_tty.c:2211 1 lock held by syz-executor/2946: #0: ffff888100abc148 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2947: #0: ffff888100abc148 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2948: #0: ffff888100abc148 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2950: #0: ffff888100abc148 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2954: #0: ffff888100abc148 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 4 locks held by udevd/5208: #0: ffff8881192a5540 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff888114bdd888 (&of->mutex){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88810ab37878 (kn->active){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88810b3df190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] #3: ffff88810b3df190 (&dev->mutex){....}-{4:4}, at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 3 locks held by kworker/1:2/5211: 3 locks held by kworker/1:3/5218: 8 locks held by kworker/0:3/5229: 5 locks held by kworker/0:4/5243: 2 locks held by kworker/0:5/5278: #0: ffff8881f583d318 (&rq->__lock ){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:598 [inline] ){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1523 [inline] ){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1822 [inline] ){-.-.}-{2:2}, at: __schedule+0x293/0x34b0 kernel/sched/core.c:6680 #1: ffffffff93515728 (&obj_hash[i].lock){-.-.}-{2:2}, at: debug_object_activate+0x149/0x4a0 lib/debugobjects.c:818 2 locks held by kworker/0:6/5291: 1 lock held by syz.2.357/6469: 1 lock held by syz-executor/6482: 1 lock held by syz-executor/6483: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc3-syzkaller-g362a7993ed01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:234 [inline] watchdog+0xf14/0x1240 kernel/hung_task.c:397 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 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5291 Comm: kworker/0:6 Not tainted 6.13.0-rc3-syzkaller-g362a7993ed01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Workqueue: events_power_efficient gc_worker RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline] RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline] RIP: 0010:rcu_is_watching_curr_cpu include/linux/context_tracking.h:128 [inline] RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:737 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed c0 7a 93 88 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02 RSP: 0018:ffffc90002a8fbb0 EFLAGS: 00000a06 RAX: dffffc0000000000 RBX: ffff8881f5837d28 RCX: ffffffff86093d77 RDX: 0000000000000000 RSI: ffffffff874733e0 RDI: ffffffff88937ac0 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000002 R12: 00000000000078c7 R13: dffffc0000000000 R14: 000000000000f18d R15: 0000000000040000 FS: 0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbe419a790 CR3: 0000000118320000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_read_lock include/linux/rcupdate.h:850 [inline] gc_worker+0xeb9/0x1760 net/netfilter/nf_conntrack_core.c:1532 process_one_work+0x9c5/0x1ba0 kernel/workqueue.c:3229 process_scheduled_works kernel/workqueue.c:3310 [inline] worker_thread+0x6c8/0xf00 kernel/workqueue.c:3391 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