INFO: task syz-executor:2950 blocked for more than 143 seconds. Not tainted 6.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:24536 pid:2950 tgid:2950 ppid:1 task_flags:0x400140 flags:0x00000004 Call Trace: <TASK> 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_read_slowpath+0x62f/0xb60 kernel/locking/rwsem.c:1084 __down_read_common kernel/locking/rwsem.c:1248 [inline] __down_read kernel/locking/rwsem.c:1261 [inline] down_read+0xef/0x480 kernel/locking/rwsem.c:1526 kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 d_revalidate fs/namei.c:929 [inline] d_revalidate fs/namei.c:925 [inline] lookup_fast+0x263/0x610 fs/namei.c:1768 walk_component+0x5b/0x5b0 fs/namei.c:2124 link_path_walk.part.0.constprop.0+0x682/0xd60 fs/namei.c:2493 link_path_walk fs/namei.c:2425 [inline] path_openat+0x227/0x2d40 fs/namei.c:4000 do_filp_open+0x20b/0x470 fs/namei.c:4031 do_sys_openat2+0x11b/0x1d0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x174/0x210 fs/open.c:1455 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:0x7fc7f5dcca61 RSP: 002b:00007ffcbf56a490 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00000000000003fd RCX: 00007fc7f5dcca61 RDX: 0000000000090800 RSI: 00007fc7f5e4e5c0 RDI: 00000000ffffff9c RBP: 00007ffcbf56a53c R08: 000000000002a452 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000287 R12: 000000000000016b R13: 0000000000000000 R14: 00000000000e0a34 R15: 00007ffcbf56a590 </TASK> INFO: task udevd:5431 blocked for more than 144 seconds. Not tainted 6.15.0-rc1-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24536 pid:5431 tgid:5431 ppid:2848 task_flags:0x400140 flags:0x00004002 Call Trace: <TASK> 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 __mutex_lock_common kernel/locking/mutex.c:678 [inline] __mutex_lock+0x6c7/0xb90 kernel/locking/mutex.c:746 device_lock include/linux/device.h:922 [inline] uevent_show+0x187/0x3b0 drivers/base/core.c:2730 dev_attr_show+0x53/0xe0 drivers/base/core.c:2424 sysfs_kf_seq_show+0x213/0x3e0 fs/sysfs/file.c:65 seq_read_iter+0x506/0x12b0 fs/seq_file.c:230 kernfs_fop_read_iter+0x422/0x5a0 fs/kernfs/file.c:279 new_sync_read fs/read_write.c:489 [inline] vfs_read+0x8c8/0xc70 fs/read_write.c:570 ksys_read+0x12a/0x240 fs/read_write.c:713 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:0x7f7429d42b6a RSP: 002b:00007fffe10e9008 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000055ba229bcde0 RCX: 00007f7429d42b6a RDX: 0000000000001000 RSI: 000055ba229c9f40 RDI: 0000000000000008 RBP: 000055ba229bcde0 R08: 0000000000000008 R09: 0000000000000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007fffe10e94e8 R15: 000000000000000a </TASK> INFO: task udevd:5431 is blocked on a mutex likely owned by task kworker/1:2:5208. task:kworker/1:2 state:D stack:21576 pid:5208 tgid:5208 ppid:2 task_flags:0x4208060 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: <TASK> 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:3604 usb_create_ep_devs+0x160/0x2b0 drivers/usb/core/endpoint.c:170 create_intf_ep_devs.isra.0+0x161/0x200 drivers/usb/core/message.c:1252 usb_set_configuration+0x11a7/0x1e20 drivers/usb/core/message.c:2216 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:658 __driver_probe_device+0x1de/0x440 drivers/base/dd.c:800 driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830 __device_attach_driver+0x1df/0x310 drivers/base/dd.c:958 bus_for_each_drv+0x156/0x1e0 drivers/base/bus.c:462 __device_attach+0x1e4/0x4b0 drivers/base/dd.c:1030 bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:537 device_add+0x1148/0x1a70 drivers/base/core.c:3666 usb_new_device+0xd07/0x1a20 drivers/usb/core/hub.c:2663 hub_port_connect drivers/usb/core/hub.c:5531 [inline] hub_port_connect_change drivers/usb/core/hub.c:5671 [inline] port_event drivers/usb/core/hub.c:5831 [inline] hub_event+0x2f85/0x5030 drivers/usb/core/hub.c:5913 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 </TASK> Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff890c1a00 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff890c1a00 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff890c1a00 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x36/0x1c0 kernel/locking/lockdep.c:6764 2 locks held by kworker/u8:2/36: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x12a2/0x1b70 kernel/workqueue.c:3213 #1: ffffc90000267d18 ((work_completion)(&sub_info->work)){+.+.}-{0:0}, at: process_one_work+0x929/0x1b70 kernel/workqueue.c:3214 2 locks held by getty/2906: #0: ffff888111fe40a0 (&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/2950: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x397/0x740 fs/kernfs/dir.c:1160 1 lock held by syz-executor/2951: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x397/0x740 fs/kernfs/dir.c:1160 1 lock held by syz-executor/2953: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x397/0x740 fs/kernfs/dir.c:1160 1 lock held by syz-executor/2954: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4} , at: kernfs_dop_revalidate+0x397/0x740 fs/kernfs/dir.c:1160 1 lock held by syz-executor/2957: #0: ffff888100ac4948 ( &root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0x397/0x740 fs/kernfs/dir.c:1160 5 locks held by kworker/1:2/5208: 4 locks held by udevd/5245: #0: ffff88811d70a668 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xe1/0x12b0 fs/seq_file.c:182 #1: ffff88811146e488 (&of->mutex #2){+.+.}-{4:4} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88811e081a58 ( kn->active #5){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888113d4a198 (&dev->mutex ){....}-{4:4}, at: device_lock include/linux/device.h:922 [inline] ){....}-{4:4}, at: uevent_show+0x187/0x3b0 drivers/base/core.c:2730 1 lock held by udevd/5251: #0: ffff888100ac4948 ( &root->kernfs_rwsem ){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 4 locks held by udevd/5431: #0: ffff88811a04f668 (&p->lock){+.+.}-{4:4} , at: seq_read_iter+0xe1/0x12b0 fs/seq_file.c:182 #1: ffff888116d37888 (&of->mutex #2 ){+.+.}-{4:4} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff888108f19d28 ( kn->active #5 ){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff88810bf87198 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:922 [inline] , at: uevent_show+0x187/0x3b0 drivers/base/core.c:2730 3 locks held by kworker/1:6/5569: 4 locks held by kworker/1:0/8004: 1 lock held by syz-executor/11355: #0: ffff888100ac4948 (&root->kernfs_rwsem ){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by syz-executor/11356: #0: ffff888100ac4948 ( &root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by syz-executor/11357: #0: ffff888100ac4948 ( &root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by syz-executor/11358: #0: ffff888100ac4948 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xa5/0x740 fs/kernfs/dir.c:1178 1 lock held by modprobe/11365: ============================================= NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.15.0-rc1-syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: <TASK> __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+0x11c4/0x15d0 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 </TASK> Sending NMI from CPU 0 to CPUs 1: gspca_pac7302 4-1:0.0: URB error -71, resubmitting NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 5569 Comm: kworker/1:6 Not tainted 6.15.0-rc1-syzkaller #0 PREEMPT(voluntary) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: events legacy_dvb_usb_read_remote_control RIP: 0010:task_wait_context kernel/locking/lockdep.c:4791 [inline] RIP: 0010:check_wait_context kernel/locking/lockdep.c:4876 [inline] RIP: 0010:__lock_acquire+0x79c/0x1ba0 kernel/locking/lockdep.c:5185 Code: b8 00 00 00 0f 8d 18 ff ff ff 90 e8 2e 8c 23 01 85 c0 74 0e 8b 35 b4 b7 1f 09 85 f6 0f 84 ff 0b 00 00 90 31 c0 e9 f8 fe ff ff <41> 83 be 94 0a 00 00 01 45 19 e4 41 83 e4 02 41 83 c4 03 e9 de fa RSP: 0018:ffffc900001a8680 EFLAGS: 00000046 RAX: 0000000000000000 RBX: ffff888114e40b50 RCX: 0000000000000020 RDX: 0000000000000020 RSI: 0000000000000002 RDI: 0000000000000004 RBP: ffff888114e40ab0 R08: 0000000000080000 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff88fcedf8 R12: 0000000000000001 R13: 0000000000000002 R14: ffff888114e40000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8882692bf000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000001000 CR3: 0000000132862000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <IRQ> lock_acquire kernel/locking/lockdep.c:5866 [inline] lock_acquire+0x179/0x350 kernel/locking/lockdep.c:5823 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 console_lock_spinning_enable+0x6d/0xd0 kernel/printk/printk.c:1918 console_emit_next_record kernel/printk/printk.c:3132 [inline] console_flush_all+0x7aa/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 int_irq+0x1b7/0x270 drivers/media/usb/gspca/gspca.c:104 __usb_hcd_giveback_urb+0x38a/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x180e/0x3a20 drivers/usb/gadget/udc/dummy_hcd.c:1994 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x1ff/0xad0 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1842 handle_softirqs+0x205/0x8d0 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline] sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1049 </IRQ> <TASK> asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:console_flush_all+0x9a2/0xc60 kernel/printk/printk.c:3227 Code: 00 e8 92 c8 27 00 9c 5b 81 e3 00 02 00 00 31 ff 48 89 de e8 d0 08 20 00 48 85 db 0f 85 55 01 00 00 e8 52 0d 20 00 fb 4c 89 e0 <48> c1 e8 03 42 80 3c 38 00 0f 84 11 ff ff ff 4c 89 e7 e8 d7 bd 7b RSP: 0018:ffffc90011e77870 EFLAGS: 00000293 RAX: ffffffff895b8a18 RBX: 0000000000000000 RCX: ffffffff815c4c00 RDX: ffff888114e40000 RSI: ffffffff815c4c0e RDI: 0000000000000007 RBP: 0000000000000001 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff895b8a18 R13: ffffffff895b89c0 R14: ffffc90011e77900 R15: dffffc0000000000 __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 legacy_dvb_usb_read_remote_control+0x40b/0x4f0 drivers/media/usb/dvb-usb/dvb-usb-remote.c:124 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 </TASK>