INFO: task syz-executor.1:1300 blocked for more than 143 seconds. Not tainted 6.1.60-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25368 pid:1300 ppid:3583 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x142d/0x4550 kernel/sched/core.c:6554 schedule+0xbf/0x180 kernel/sched/core.c:6630 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6689 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6b9/0xd80 kernel/locking/mutex.c:747 exfat_sync_fs+0x67/0x100 fs/exfat/super.c:65 iterate_supers+0x127/0x1e0 fs/super.c:746 ksys_sync+0xd7/0x1c0 fs/sync.c:104 __do_sys_sync+0xa/0x10 fs/sync.c:113 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa5f1e7cae9 RSP: 002b:00007fa5f2b020c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007fa5f1f9c120 RCX: 00007fa5f1e7cae9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 00007fa5f1ec847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fa5f1f9c120 R15: 00007fffd1b098e8 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d12a230 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d12aa30 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:516 1 lock held by khungtaskd/28: #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:306 [inline] #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8d12a060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6493 2 locks held by getty/3308: #0: ffff888028917098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2188 2 locks held by kworker/1:4/14763: #0: ffff888012472538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90006ba7d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 5 locks held by kworker/0:14/23955: #0: ffff8880134c9d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90015817d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff88814533f190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] #2: ffff88814533f190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5758 #3: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #4: ffff888144bd5468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5331 [inline] #4: ffff888144bd5468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5574 [inline] #4: ffff888144bd5468 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5730 [inline] #4: ffff888144bd5468 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x3213/0x5730 drivers/usb/core/hub.c:5812 3 locks held by kworker/0:16/23956: #0: ffff8880134c9d38 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc90015827d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888022fe7190 (&dev->mutex ){....}-{3:3}, at: device_lock include/linux/device.h:836 [inline] ){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5758 4 locks held by syz-executor.2/1605: 3 locks held by kworker/u4:13/17053: #0: ffff8880b9939e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #1: ffffc9000bf9fd20 ((work_completion)(&(&bat_priv->orig_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff8880b9839e18 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 2 locks held by syz-executor.1/1300: #0: ffff888075dec0e0 (&type->s_umount_key#101){.+.+}-{3:3}, at: iterate_supers+0xac/0x1e0 fs/super.c:744 #1: ffff8880243140e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_sync_fs+0x67/0x100 fs/exfat/super.c:65 4 locks held by udevd/1349: #0: ffff8880b0e7a8b8 (&p->lock){+.+.}-{3:3}, at: seq_read_iter+0xae/0xd10 fs/seq_file.c:182 #1: ffff8880649cb088 (&of->mutex){+.+.}-{3:3}, at: kernfs_seq_start+0x4f/0x3a0 fs/kernfs/file.c:150 #2: ffff888077c81da0 (kn->active#30){++++}-{0:0}, at: kernfs_seq_start+0x6e/0x3a0 fs/kernfs/file.c:151 #3: ffff888069f31190 (&dev->mutex){....}-{3:3}, at: device_lock_interruptible include/linux/device.h:841 [inline] #3: ffff888069f31190 (&dev->mutex){....}-{3:3}, at: manufacturer_show+0x22/0x90 drivers/usb/core/sysfs.c:141 2 locks held by udevd/1354: 2 locks held by syz-executor.1/1381: #0: ffff88808a8b40e0 (&type->s_umount_key#92){+.+.}-{3:3}, at: deactivate_super+0xa9/0xe0 fs/super.c:362 #1: ffffffff8d12f638 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline] #1: ffffffff8d12f638 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x3b0/0x8a0 kernel/rcu/tree_exp.h:950 1 lock held by syz-executor.3/2931: #0: ffffffff8d12f638 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:324 [inline] #0: ffffffff8d12f638 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x479/0x8a0 kernel/rcu/tree_exp.h:950 1 lock held by syz-executor.5/2935: #0: ffffffff8d12f500 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:3965 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.60-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x4e1/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1b0/0x3f0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xf88/0xfd0 kernel/hung_task.c:377 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 23956 Comm: kworker/0:16 Not tainted 6.1.60-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: usb_hub_wq hub_event RIP: 0010:check_canary_byte mm/kfence/core.c:314 [inline] RIP: 0010:for_each_canary mm/kfence/core.c:350 [inline] RIP: 0010:kfence_guarded_free+0x398/0x7f0 mm/kfence/core.c:499 Code: e8 0d e6 ff ff 4d 03 37 49 81 c4 00 10 00 00 4c 89 f7 4c 89 e6 e8 58 be a8 ff 4d 39 e6 73 5d 4c 89 f0 48 c1 e8 03 0f b6 04 28 <84> c0 75 3a 41 0f b6 1e 44 89 f5 83 e5 07 81 f5 aa 00 00 00 89 ef RSP: 0018:ffffc90015827630 EFLAGS: 00000a03 RAX: 0000000000000000 RBX: 00000000000000a9 RCX: 0000000000040000 RDX: ffffc9001ac75000 RSI: 000000000000b7fc RDI: 000000000000b7fd RBP: dffffc0000000000 R08: ffffffff81e1c225 R09: fffffbfff23a948a R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88823bd13000 R13: 1ffffffff23a2626 R14: ffff88823bd121f4 R15: ffffffff91d13130 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffdaf280068 CR3: 00000000398ab000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: usb_control_msg+0x356/0x4c0 drivers/usb/core/message.c:159 get_port_status drivers/usb/core/hub.c:592 [inline] hub_ext_port_status+0x108/0x660 drivers/usb/core/hub.c:609 usb_hub_port_status drivers/usb/core/hub.c:631 [inline] hub_port_debounce+0x332/0x580 drivers/usb/core/hub.c:4572 hub_port_debounce_be_stable drivers/usb/core/hub.h:170 [inline] hub_port_connect drivers/usb/core/hub.c:5290 [inline] hub_port_connect_change drivers/usb/core/hub.c:5574 [inline] port_event drivers/usb/core/hub.c:5730 [inline] hub_event+0x200f/0x5730 drivers/usb/core/hub.c:5812 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292 process_scheduled_works kernel/workqueue.c:2355 [inline] worker_thread+0xd04/0x1200 kernel/workqueue.c:2441 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306