INFO: task kworker/0:7:5159 blocked for more than 143 seconds. Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:7 state:D stack:23936 pid:5159 tgid:5159 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c60 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x280 kernel/sched/core.c:6817 usb_kill_urb.part.0+0x1ca/0x250 drivers/usb/core/urb.c:713 usb_kill_urb+0x83/0xa0 drivers/usb/core/urb.c:702 usb_start_wait_urb+0x255/0x4c0 drivers/usb/core/message.c:65 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x327/0x4b0 drivers/usb/core/message.c:154 get_bMaxPacketSize0.constprop.0+0xa5/0x1c0 drivers/usb/core/hub.c:4768 hub_port_init+0x693/0x3a00 drivers/usb/core/hub.c:4964 hub_port_connect drivers/usb/core/hub.c:5412 [inline] hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] port_event drivers/usb/core/hub.c:5783 [inline] hub_event+0x2b65/0x4e20 drivers/usb/core/hub.c:5865 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 INFO: task kworker/1:3:20295 blocked for more than 144 seconds. Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/1:3 state:D stack:27088 pid:20295 tgid:20295 ppid:2 flags:0x00004000 Workqueue: usb_hub_wq hub_event Call Trace: context_switch kernel/sched/core.c:5400 [inline] __schedule+0xf12/0x5c60 kernel/sched/core.c:6727 __schedule_loop kernel/sched/core.c:6802 [inline] schedule+0xe9/0x280 kernel/sched/core.c:6817 usb_kill_urb.part.0+0x1ca/0x250 drivers/usb/core/urb.c:713 usb_kill_urb+0x83/0xa0 drivers/usb/core/urb.c:702 usb_start_wait_urb+0x255/0x4c0 drivers/usb/core/message.c:65 usb_internal_control_msg drivers/usb/core/message.c:103 [inline] usb_control_msg+0x327/0x4b0 drivers/usb/core/message.c:154 get_bMaxPacketSize0.constprop.0+0xa5/0x1c0 drivers/usb/core/hub.c:4768 hub_port_init+0x693/0x3a00 drivers/usb/core/hub.c:4964 hub_port_connect drivers/usb/core/hub.c:5412 [inline] hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] port_event drivers/usb/core/hub.c:5783 [inline] hub_event+0x2b65/0x4e20 drivers/usb/core/hub.c:5865 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7ad160 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 3 locks held by kworker/u4:8/2427: 2 locks held by getty/4814: #0: ffff88802b38e0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015d02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfca/0x1490 drivers/tty/n_tty.c:2201 5 locks held by kworker/0:7/5159: #0: ffff88801babbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900040c7d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffff888023c7a190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888023c7a190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e20 drivers/usb/core/hub.c:5811 #3: ffff888023d01510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3169 [inline] #3: ffff888023d01510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5380 [inline] #3: ffff888023d01510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] #3: ffff888023d01510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5783 [inline] #3: ffff888023d01510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2802/0x4e20 drivers/usb/core/hub.c:5865 #4: ffff888023bfe9f8 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5381 [inline] #4: ffff888023bfe9f8 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] #4: ffff888023bfe9f8 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5783 [inline] #4: ffff888023bfe9f8 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x282b/0x4e20 drivers/usb/core/hub.c:5865 5 locks held by kworker/1:3/20295: #0: ffff88801babbd38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc900034bfd80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 #2: ffff888023f7c190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:990 [inline] #2: ffff888023f7c190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e20 drivers/usb/core/hub.c:5811 #3: ffff888023f7f510 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3169 [inline] #3: ffff888023f7f510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5380 [inline] #3: ffff888023f7f510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] #3: ffff888023f7f510 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5783 [inline] #3: ffff888023f7f510 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2802/0x4e20 drivers/usb/core/hub.c:5865 #4: ffff8880232b8b08 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5381 [inline] #4: ffff8880232b8b08 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5623 [inline] #4: ffff8880232b8b08 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5783 [inline] #4: ffff8880232b8b08 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x282b/0x4e20 drivers/usb/core/hub.c:5865 2 locks held by kworker/1:4/23735: #0: ffff888014c8e538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x789/0x15e0 kernel/workqueue.c:2608 #1: ffffc9000301fd80 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7eb/0x15e0 kernel/workqueue.c:2609 3 locks held by syz-executor.0/10732: 2 locks held by syz-executor.4/10738: 2 locks held by syz-executor.3/10741: 4 locks held by syz-executor.1/10751: #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: ioctl_setflags fs/ioctl.c:726 [inline] #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: do_vfs_ioctl+0xf73/0x1940 fs/ioctl.c:840 #1: ffff88809fb3f200 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88809fb3f200 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_fileattr_set+0x153/0xc00 fs/ioctl.c:682 #2: ffff88802e280b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_write fs/ext4/ext4.h:1781 [inline] #2: ffff88802e280b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_ind_migrate+0x23c/0xa50 fs/ext4/migrate.c:625 #3: ffffffff8d7b89b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #3: ffffffff8d7b89b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x6b5/0x800 kernel/rcu/tree_exp.h:995 2 locks held by syz-executor.1/10752: #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: ksys_pwrite64 fs/read_write.c:705 [inline] #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: __do_sys_pwrite64 fs/read_write.c:715 [inline] #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: __se_sys_pwrite64 fs/read_write.c:712 [inline] #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: __x64_sys_pwrite64+0x1fe/0x260 fs/read_write.c:712 #1: ffff88809fb3f200 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88809fb3f200 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x3d0 fs/ext4/file.c:294 2 locks held by syz-executor.1/10753: #0: ffff88807eb48d48 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 #1: ffff88809fb3f200 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #1: ffff88809fb3f200 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_llseek+0x268/0x2f0 fs/ext4/file.c:919 3 locks held by syz-executor.2/10756: #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: ioctl_setflags fs/ioctl.c:726 [inline] #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: do_vfs_ioctl+0xf73/0x1940 fs/ioctl.c:840 #1: ffff88809fb3e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88809fb3e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: vfs_fileattr_set+0x153/0xc00 fs/ioctl.c:682 #2: ffff88802e280b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_writepages_down_write fs/ext4/ext4.h:1781 [inline] #2: ffff88802e280b98 (&sbi->s_writepages_rwsem){++++}-{0:0}, at: ext4_ind_migrate+0x23c/0xa50 fs/ext4/migrate.c:625 2 locks held by syz-executor.2/10757: #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: ksys_pwrite64 fs/read_write.c:705 [inline] #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: __do_sys_pwrite64 fs/read_write.c:715 [inline] #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: __se_sys_pwrite64 fs/read_write.c:712 [inline] #0: ffff88802e42e420 (sb_writers#5){.+.+}-{0:0}, at: __x64_sys_pwrite64+0x1fe/0x260 fs/read_write.c:712 #1: ffff88809fb3e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:802 [inline] #1: ffff88809fb3e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_buffered_write_iter+0xb0/0x3d0 fs/ext4/file.c:294 2 locks held by syz-executor.2/10758: #0: ffff88807eb2cac8 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xeb/0x180 fs/file.c:1191 #1: ffff88809fb3e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:812 [inline] #1: ffff88809fb3e800 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_llseek+0x268/0x2f0 fs/ext4/file.c:919 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 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:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3908 Comm: kworker/u4:12 Not tainted 6.8.0-rc4-syzkaller-00034-g8d3dea210042 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 Workqueue: ext4-rsv-conversion ext4_end_io_rsv_work RIP: 0010:task_irq_context kernel/locking/lockdep.c:4607 [inline] RIP: 0010:__lock_acquire+0x372/0x3b40 kernel/locking/lockdep.c:5074 Code: 02 48 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 d7 10 00 00 48 8b 04 24 49 8d 7c 24 24 8b 54 24 08 83 b8 a4 0a 00 00 01 <44> 89 e8 83 d8 ff c1 e5 0f c1 e0 0d c1 e1 10 0f b7 ed 09 e8 81 e1 RSP: 0018:ffffc9000bc777a0 EFLAGS: 00000097 RAX: ffff88802dbad940 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffff88802dbae3e4 RDI: ffff88802dbae49c RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 000000000000000f R11: 0000000000000003 R12: ffff88802dbae478 R13: 0000000000000000 R14: 0000000000000000 R15: 00000000000002c8 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00aaedc00 CR3: 000000004eaa2000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1ae/0x520 kernel/locking/lockdep.c:5719 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x3a/0x60 kernel/locking/spinlock.c:162 __folio_end_writeback+0x34b/0xd80 mm/page-writeback.c:2955 folio_end_writeback+0x137/0x400 mm/filemap.c:1599 ext4_finish_bio+0xd9d/0x1390 fs/ext4/page-io.c:145 ext4_release_io_end+0x118/0x3a0 fs/ext4/page-io.c:160 ext4_end_io_end fs/ext4/page-io.c:194 [inline] ext4_do_flush_completed_IO fs/ext4/page-io.c:259 [inline] ext4_end_io_rsv_work+0x168/0x690 fs/ext4/page-io.c:273 process_one_work+0x889/0x15e0 kernel/workqueue.c:2633 process_scheduled_works kernel/workqueue.c:2706 [inline] worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787 kthread+0x2c6/0x3b0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242