INFO: task syz.0.132:6711 blocked for more than 143 seconds. Not tainted 6.16.0-rc5-next-20250711-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.132 state:D stack:26440 pid:6711 tgid:6678 ppid:5853 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5314 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6697 __schedule_loop kernel/sched/core.c:6775 [inline] schedule+0x165/0x360 kernel/sched/core.c:6790 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6847 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1187 __down_write_common kernel/locking/rwsem.c:1319 [inline] __down_write kernel/locking/rwsem.c:1328 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1593 inode_lock include/linux/fs.h:869 [inline] open_last_lookups fs/namei.c:3804 [inline] path_openat+0x8da/0x3830 fs/namei.c:4043 do_filp_open+0x1fa/0x410 fs/namei.c:4073 do_sys_openat2+0x121/0x1c0 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_creat fs/open.c:1528 [inline] __se_sys_creat fs/open.c:1522 [inline] __x64_sys_creat+0x8f/0xc0 fs/open.c:1522 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff01358e929 RSP: 002b:00007ff0143a5038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff0137b6080 RCX: 00007ff01358e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000d80 RBP: 00007ff013610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007ff0137b6080 R15: 00007ffedeab7d18 INFO: task syz.0.132:6715 blocked for more than 144 seconds. Not tainted 6.16.0-rc5-next-20250711-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.132 state:D stack:28776 pid:6715 tgid:6678 ppid:5853 task_flags:0x400040 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5314 [inline] __schedule+0x16f5/0x4d00 kernel/sched/core.c:6697 __schedule_loop kernel/sched/core.c:6775 [inline] schedule+0x165/0x360 kernel/sched/core.c:6790 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6847 rwsem_down_write_slowpath+0xbec/0x1030 kernel/locking/rwsem.c:1187 __down_write_common kernel/locking/rwsem.c:1319 [inline] __down_write kernel/locking/rwsem.c:1328 [inline] down_write+0x1ab/0x1f0 kernel/locking/rwsem.c:1593 inode_lock include/linux/fs.h:869 [inline] open_last_lookups fs/namei.c:3804 [inline] path_openat+0x8da/0x3830 fs/namei.c:4043 do_filp_open+0x1fa/0x410 fs/namei.c:4073 do_sys_openat2+0x121/0x1c0 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_creat fs/open.c:1528 [inline] __se_sys_creat fs/open.c:1522 [inline] __x64_sys_creat+0x8f/0xc0 fs/open.c:1522 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7ff01358e929 RSP: 002b:00007ff014384038 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007ff0137b6160 RCX: 00007ff01358e929 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000d80 RBP: 00007ff013610b39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007ff0137b6160 R15: 00007ffedeab7d18 Showing all locks held in the system: 1 lock held by khungtaskd/31: #0: ffffffff8e13c5a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline] #0: ffffffff8e13c5a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e13c5a0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6770 2 locks held by kworker/u8:3/49: #0: ffff8880b8739fd8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:606 #1: ffffc90000b97bc0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc90000b97bc0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 4 locks held by kworker/u8:4/59: #0: ffff888143296948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff888143296948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc9000210fbc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc9000210fbc0 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 #2: ffff888068c7e0e0 (&type->s_umount_key#93){++++}-{4:4}, at: super_trylock_shared+0x20/0xf0 fs/super.c:563 #3: ffff88804ec52fe0 (&jfs_ip->commit_mutex){+.+.}-{4:4}, at: jfs_commit_inode+0x1ca/0x530 fs/jfs/inode.c:102 1 lock held by acpid/5206: #0: ffffffff8e1420f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline] #0: ffffffff8e1420f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:967 2 locks held by getty/5612: #0: ffff8880347160a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc9000332b2f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222 5 locks held by kworker/1:5/5933: #0: ffff88801de9d948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3214 [inline] #0: ffff88801de9d948 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3322 #1: ffffc9000445fbc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3215 [inline] #1: ffffc9000445fbc0 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3322 #2: ffff8880289a1198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline] #2: ffff8880289a1198 (&dev->mutex){....}-{4:4}, at: hub_event+0x184/0x4a00 drivers/usb/core/hub.c:5894 #3: ffff88807e935198 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline] #3: ffff88807e935198 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1006 #4: ffff8880586f2160 (&dev->mutex){....}-{4:4}, at: device_lock include/linux/device.h:911 [inline] #4: ffff8880586f2160 (&dev->mutex){....}-{4:4}, at: __device_attach+0x88/0x400 drivers/base/dd.c:1006 4 locks held by syz.0.132/6679: 2 locks held by syz.0.132/6711: #0: ffff888068c7e428 (sb_writers#31){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff88804ec53390 (&type->i_mutex_dir_key#21){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff88804ec53390 (&type->i_mutex_dir_key#21){++++}-{4:4}, at: open_last_lookups fs/namei.c:3804 [inline] #1: ffff88804ec53390 (&type->i_mutex_dir_key#21){++++}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4043 2 locks held by syz.0.132/6715: #0: ffff888068c7e428 (sb_writers#31){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 fs/namespace.c:557 #1: ffff88804ec53390 (&type->i_mutex_dir_key#21){++++}-{4:4}, at: inode_lock include/linux/fs.h:869 [inline] #1: ffff88804ec53390 (&type->i_mutex_dir_key#21){++++}-{4:4}, at: open_last_lookups fs/namei.c:3804 [inline] #1: ffff88804ec53390 (&type->i_mutex_dir_key#21){++++}-{4:4}, at: path_openat+0x8da/0x3830 fs/namei.c:4043 1 lock held by syz.4.187/6977: #0: ffffffff8e141fc0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3794 1 lock held by syz.8.448/8495: #0: ffffffff8e141fc0 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3794 1 lock held by syz.9.453/8520: #0: ffffffff8e1420f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:343 [inline] #0: ffffffff8e1420f8 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x3b9/0x730 kernel/rcu/tree_exp.h:967 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 31 Comm: khungtaskd Not tainted 6.16.0-rc5-next-20250711-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:328 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:491 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Sending NMI from CPU 1 to CPUs 0: xpad 10-1:179.65: xpad_irq_in - usb_submit_urb failed with result -19 NMI backtrace for cpu 0 CPU: 0 UID: 0 PID: 1211 Comm: kworker/0:2 Not tainted 6.16.0-rc5-next-20250711-syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: usb_hub_wq hub_event RIP: 0010:io_serial_in+0x77/0xc0 drivers/tty/serial/8250/8250_port.c:400 Code: e8 5e aa 71 fc 44 89 f9 d3 e3 49 83 c6 40 4c 89 f0 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 df 60 d6 fc 41 03 1e 89 da ec <0f> b6 c0 5b 41 5c 41 5e 41 5f c3 cc cc cc cc cc 44 89 f9 80 e1 07 RSP: 0018:ffffc90000006fd0 EFLAGS: 00000002 RAX: 1ffffffff33ca900 RBX: 00000000000003fd RCX: 0000000000000000 RDX: 00000000000003fd RSI: 000000000003ffff RDI: 0000000000040000 RBP: ffffffff99e54c10 R08: ffff8881417f0237 R09: 1ffff110282fe046 R10: dffffc0000000000 R11: ffffffff854e0ce0 R12: dffffc0000000000 R13: 0000000000000000 R14: ffffffff99e54980 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888125bc6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10b1582ef8 CR3: 00000000788dc000 CR4: 00000000003526f0 DR0: 0000000000000007 DR1: 0000000000000001 DR2: 0000000000000007 DR3: 00000000000002d5 DR6: 00000000ffff0ff0 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+0x19e/0x2f0 drivers/tty/serial/8250/8250_port.c:1984 fifo_wait_for_lsr drivers/tty/serial/8250/8250_port.c:3288 [inline] serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3311 [inline] serial8250_console_write+0x134c/0x1ba0 drivers/tty/serial/8250/8250_port.c:3396 console_emit_next_record kernel/printk/printk.c:3138 [inline] console_flush_all+0x725/0xc40 kernel/printk/printk.c:3226 __console_flush_and_unlock kernel/printk/printk.c:3285 [inline] console_unlock+0xc4/0x270 kernel/printk/printk.c:3325 vprintk_emit+0x5b7/0x7a0 kernel/printk/printk.c:2450 dev_vprintk_emit+0x337/0x3f0 drivers/base/core.c:4914 dev_printk_emit+0xe0/0x130 drivers/base/core.c:4925 _dev_err+0x10a/0x160 drivers/base/core.c:4980 __usb_hcd_giveback_urb+0x417/0x690 drivers/usb/core/hcd.c:1663 dummy_timer+0x862/0x4550 drivers/usb/gadget/udc/dummy_hcd.c:1995 __run_hrtimer kernel/time/hrtimer.c:1761 [inline] __hrtimer_run_queues+0x529/0xc60 kernel/time/hrtimer.c:1825 hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1842 handle_softirqs+0x283/0x870 kernel/softirq.c:579 __do_softirq kernel/softirq.c:613 [inline] invoke_softirq kernel/softirq.c:453 [inline] __irq_exit_rcu+0xca/0x1f0 kernel/softirq.c:680 irq_exit_rcu+0x9/0x30 kernel/softirq.c:696 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1050 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1050 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0xa8/0x110 kernel/locking/spinlock.c:194 Code: 74 05 e8 6b 85 4a f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 a3 82 13 f6 65 8b 05 3c da 28 07 85 c0 74 40 48 c7 04 24 0e 36 RSP: 0018:ffffc9000428f680 EFLAGS: 00000206 RAX: b46563d0e9c4df00 RBX: 0000000000000a02 RCX: b46563d0e9c4df00 RDX: 0000000000000006 RSI: ffffffff8d9b8580 RDI: 0000000000000001 RBP: ffffc9000428f718 R08: ffffffff8fa3bb37 R09: 1ffffffff1f47766 R10: dffffc0000000000 R11: fffffbfff1f47767 R12: dffffc0000000000 R13: 1ffff110289e1800 R14: ffffffff8ede36e0 R15: 1ffff92000851ed0 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] usb_set_device_state drivers/usb/core/hub.c:2222 [inline] usb_disconnect+0xac/0x950 drivers/usb/core/hub.c:2325 hub_port_connect drivers/usb/core/hub.c:5406 [inline] hub_port_connect_change drivers/usb/core/hub.c:5706 [inline] port_event drivers/usb/core/hub.c:5866 [inline] hub_event+0x1cdb/0x4a00 drivers/usb/core/hub.c:5948 process_one_work kernel/workqueue.c:3239 [inline] process_scheduled_works+0xade/0x17b0 kernel/workqueue.c:3322 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3403 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x3f9/0x770 arch/x86/kernel/process.c:148 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 xpad 10-1:179.65: xpad_irq_out - usb_submit_urb failed with result -19