INFO: task syz-executor:2947 blocked for more than 143 seconds. Not tainted 6.13.0-rc4-syzkaller-00080-gf1a2241778d9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:24064 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:0x7f75b41f5621 RSP: 002b:00007ffec94e6010 EFLAGS: 00000287 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000229 RCX: 00007f75b41f5621 RDX: 0000000000090800 RSI: 00007f75b4271e28 RDI: 00000000ffffff9c RBP: 00007ffec94e60ac R08: 0000000000018f22 R09: 00007f75b4f20000 R10: 0000000000000000 R11: 0000000000000287 R12: 0000000000000000 R13: 00000000000848b3 R14: 00007ffec94e6100 R15: 00000000000000be INFO: task kworker/1:4:5231 blocked for more than 144 seconds. Not tainted 6.13.0-rc4-syzkaller-00080-gf1a2241778d9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:4 state:D stack:21360 pid:5231 tgid:5231 ppid:2 flags:0x00004000 Workqueue: events request_firmware_work_func 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 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 device_lock include/linux/device.h:1014 [inline] ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1161 [inline] ath9k_hif_usb_firmware_cb+0x3b1/0x620 drivers/net/wireless/ath/ath9k/hif_usb.c:1294 request_firmware_work_func+0x13a/0x250 drivers/base/firmware_loader/main.c:1196 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 udevd:5237 blocked for more than 144 seconds. Not tainted 6.13.0-rc4-syzkaller-00080-gf1a2241778d9 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:udevd state:D stack:24080 pid:5237 tgid:5237 ppid:2846 flags:0x00004002 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 __mutex_lock_common kernel/locking/mutex.c:665 [inline] __mutex_lock+0x62b/0xa60 kernel/locking/mutex.c:735 device_lock include/linux/device.h:1014 [inline] uevent_show+0x188/0x3b0 drivers/base/core.c:2729 dev_attr_show+0x53/0xe0 drivers/base/core.c:2423 sysfs_kf_seq_show+0x23e/0x410 fs/sysfs/file.c:59 seq_read_iter+0x4f4/0x12b0 fs/seq_file.c:230 kernfs_fop_read_iter+0x414/0x580 fs/kernfs/file.c:279 new_sync_read fs/read_write.c:484 [inline] vfs_read+0x87f/0xbe0 fs/read_write.c:565 ksys_read+0x12b/0x250 fs/read_write.c:708 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:0x7f58f6056b6a RSP: 002b:00007ffe9d254778 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00005589f7c3b1f0 RCX: 00007f58f6056b6a RDX: 0000000000001000 RSI: 00005589f7c3e010 RDI: 0000000000000008 RBP: 00005589f7c3b1f0 R08: 0000000000000008 R09: 0000000002000000 R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000003fff R14: 00007ffe9d254c58 R15: 000000000000000a Showing all locks held in the system: 3 locks held by kworker/0:1/9: 1 lock held by khungtaskd/30: #0: ffffffff88ebc880 (rcu_read_lock){....}-{1:3} , at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] , at: rcu_read_lock include/linux/rcupdate.h:849 [inline] , at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6744 2 locks held by kworker/u8:2/36: #0: ffff888100089148 ((wq_completion)events_unbound){+.+.}-{0:0} , at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90000267d80 ((work_completion)(&sub_info->work) ){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 2 locks held by getty/2904: #0: ffff8881121ba0a0 (&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/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/2949: #0: ffff888100abc148 (&root->kernfs_rwsem ){++++}-{4:4} , at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2951: #0: ffff888100abc148 (&root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0x39e/0x5a0 fs/kernfs/dir.c:1141 1 lock held by syz-executor/2952: #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 kworker/0:2/5228: 3 locks held by kworker/1:4/5231: #0: ffff888100080948 ( (wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000226fd80 ((work_completion)(&fw_work->work)){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88810b349190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] ffff88810b349190 (&dev->mutex){....}-{4:4}, at: ath9k_hif_usb_firmware_fail drivers/net/wireless/ath/ath9k/hif_usb.c:1161 [inline] ffff88810b349190 (&dev->mutex){....}-{4:4}, at: ath9k_hif_usb_firmware_cb+0x3b1/0x620 drivers/net/wireless/ath/ath9k/hif_usb.c:1294 5 locks held by kworker/1:5/5234: #0: ffff8881066aed48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc9000229fd80 ((work_completion)(&hub->events)){+.+.}-{0:0} , at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88810afe9190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff888106af8a78 ( &(&priv->bus_notifier)->rwsem){++++}-{4:4} , at: blocking_notifier_call_chain kernel/notifier.c:379 [inline] , at: blocking_notifier_call_chain+0x53/0xa0 kernel/notifier.c:368 #4: ffff888100abc148 ( &root->kernfs_rwsem ){++++}-{4:4}, at: kernfs_find_and_get_ns+0x71/0xc0 fs/kernfs/dir.c:918 4 locks held by udevd/5237: #0: ffff888111aeb790 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff88811abbf888 (&of->mutex#2){+.+.}-{4:4} , at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88810771c968 ( kn->active #5 ){++++}-{0:0}, at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff888109357190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 2 locks held by kworker/0:3/5240: 4 locks held by udevd/5813: #0: ffff888121eced58 (&p->lock){+.+.}-{4:4}, at: seq_read_iter+0xd8/0x12b0 fs/seq_file.c:182 #1: ffff888111681888 ( &of->mutex#2){+.+.}-{4:4}, at: kernfs_seq_start+0x4d/0x240 fs/kernfs/file.c:154 #2: ffff88811354df08 (kn->active#5){++++}-{0:0} , at: kernfs_seq_start+0x71/0x240 fs/kernfs/file.c:155 #3: ffff8881102d7190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: uevent_show+0x188/0x3b0 drivers/base/core.c:2729 6 locks held by kworker/1:8/7857: #0: ffff8881066aed48 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x1293/0x1ba0 kernel/workqueue.c:3204 #1: ffffc90012777d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x921/0x1ba0 kernel/workqueue.c:3205 #2: ffff88810af97190 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:1014 [inline] ffff88810af97190 (&dev->mutex){....}-{4:4}, at: hub_event+0x1be/0x4f40 drivers/usb/core/hub.c:5849 #3: ffff8881102d7190 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: usb_disconnect+0x10a/0x920 drivers/usb/core/hub.c:2295 #4: ffff88813a906160 (&dev->mutex){....}-{4:4} , at: device_lock include/linux/device.h:1014 [inline] , at: __device_driver_lock drivers/base/dd.c:1095 [inline] , at: device_release_driver_internal+0xa4/0x610 drivers/base/dd.c:1293 #5: ffffffff88ec8080 ( rcu_state.barrier_mutex ){+.+.}-{4:4} , at: rcu_barrier+0x48/0x700 kernel/rcu/tree.c:4565 1 lock held by syz.0.1019/8775: #0: ffff888100abc148 ( &root->kernfs_rwsem){++++}-{4:4} , at: kernfs_remove_by_name_ns+0x87/0x130 fs/kernfs/dir.c:1689 1 lock held by syz-executor/8791: #0: ffff888100abc148 (&root->kernfs_rwsem){++++}-{4:4} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/8792: #0: ffff888100abc148 (&root->kernfs_rwsem){++++}-{4:4} , at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/8793: #0: ffff888100abc148 ( &root->kernfs_rwsem ){++++}-{4:4}, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by syz-executor/8794: #0: ffff888100abc148 ( &root->kernfs_rwsem){++++}-{4:4}, at: kernfs_dop_revalidate+0xf0/0x5a0 fs/kernfs/dir.c:1159 1 lock held by modprobe/8803: ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.13.0-rc4-syzkaller-00080-gf1a2241778d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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: imon 1-1:0.0: imon usb_rx_callback_intf0: status(-71): ignored NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 5240 Comm: kworker/0:3 Not tainted 6.13.0-rc4-syzkaller-00080-gf1a2241778d9 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Workqueue: events legacy_dvb_usb_read_remote_control RIP: 0010:io_serial_in+0x87/0xb0 drivers/tty/serial/8250/8250_port.c:410 Code: 65 b2 fe 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 1a 66 03 5d 40 89 da ec <5b> 0f b6 c0 5d 41 5c c3 cc cc cc cc e8 78 28 0c ff eb a2 e8 01 29 RSP: 0018:ffffc900000074a8 EFLAGS: 00000002 RAX: dffffc0000000060 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: ffffffff82a90630 RDI: ffffffff93644920 RBP: ffffffff936448e0 R08: 0000000000000001 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000006 R12: 0000000000000000 R13: 0000000000000020 R14: fffffbfff26c8976 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f5800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020006200 CR3: 000000011650a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: serial_in drivers/tty/serial/8250/8250.h:137 [inline] serial_lsr_in drivers/tty/serial/8250/8250.h:159 [inline] wait_for_lsr+0xda/0x180 drivers/tty/serial/8250/8250_port.c:2088 serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3335 [inline] serial8250_console_write+0xf5a/0x17c0 drivers/tty/serial/8250/8250_port.c:3413 console_emit_next_record kernel/printk/printk.c:3122 [inline] console_flush_all+0x800/0xc60 kernel/printk/printk.c:3210 __console_flush_and_unlock kernel/printk/printk.c:3269 [inline] console_unlock+0xd9/0x210 kernel/printk/printk.c:3309 vprintk_emit+0x424/0x6f0 kernel/printk/printk.c:2432 dev_vprintk_emit drivers/base/core.c:4935 [inline] dev_printk_emit+0xfb/0x140 drivers/base/core.c:4946 __dev_printk+0xf5/0x270 drivers/base/core.c:4958 _dev_warn+0xe5/0x120 drivers/base/core.c:5002 usb_rx_callback_intf0+0x11c/0x1a0 drivers/media/rc/imon.c:1768 __usb_hcd_giveback_urb+0x389/0x6e0 drivers/usb/core/hcd.c:1650 usb_hcd_giveback_urb+0x396/0x450 drivers/usb/core/hcd.c:1734 dummy_timer+0x17f7/0x3960 drivers/usb/gadget/udc/dummy_hcd.c:1993 __run_hrtimer kernel/time/hrtimer.c:1739 [inline] __hrtimer_run_queues+0x20a/0xae0 kernel/time/hrtimer.c:1803 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1820 handle_softirqs+0x206/0x8d0 kernel/softirq.c:561 __do_softirq kernel/softirq.c:595 [inline] invoke_softirq kernel/softirq.c:435 [inline] __irq_exit_rcu+0xfa/0x160 kernel/softirq.c:662 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678 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 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:debug_check_no_locks_freed+0x223/0x2b0 kernel/locking/lockdep.c:6701 Code: c7 20 11 28 87 e8 6d 1e 03 00 e8 c8 2f ae 05 e8 f3 2d 04 00 9c 58 f6 c4 02 75 2d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 10 <5b> 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 48 83 c3 28 48 39 f3 RSP: 0018:ffffc900022f7a58 EFLAGS: 00000282 RAX: 0000000000000046 RBX: ffff88810c30c578 RCX: dffffc0000000000 RDX: ffffc900022f7da8 RSI: ffff88810c30c578 RDI: ffff88810c30c510 RBP: ffff888114b09a40 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000000004ef R12: ffff88810c30c540 R13: ffff88810c30ba80 R14: ffff888114b09a48 R15: 0000000000000008 slab_free_hook mm/slub.c:2281 [inline] slab_free mm/slub.c:4613 [inline] kfree+0xe5/0x470 mm/slub.c:4761 usb_control_msg+0x39e/0x4b0 drivers/usb/core/message.c:160 m920x_read drivers/media/usb/dvb-usb/m920x.c:36 [inline] m920x_rc_query+0xdf/0x770 drivers/media/usb/dvb-usb/m920x.c:188 legacy_dvb_usb_read_remote_control+0x10a/0x500 drivers/media/usb/dvb-usb/dvb-usb-remote.c:123 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