INFO: task syz-executor:4255 blocked for more than 143 seconds. Not tainted 6.1.139-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:21376 pid:4255 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5244 [inline] __schedule+0x10e9/0x40d0 kernel/sched/core.c:6561 schedule+0xb9/0x180 kernel/sched/core.c:6637 io_schedule+0x7c/0xd0 kernel/sched/core.c:8797 folio_wait_bit_common+0x6e1/0xf60 mm/filemap.c:1324 truncate_inode_pages_range+0x9a2/0xff0 mm/truncate.c:422 evict+0x498/0x870 fs/inode.c:707 dispose_list fs/inode.c:738 [inline] evict_inodes+0x604/0x690 fs/inode.c:792 generic_shutdown_super+0x93/0x340 fs/super.c:480 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1186 task_work_run+0x1ca/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fdf3178fc97 RSP: 002b:00007ffe62537298 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fdf3181089d RCX: 00007fdf3178fc97 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe62537350 RBP: 00007ffe62537350 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe625383e0 R13: 00007fdf3181089d R14: 000000000013a322 R15: 00007ffe62538420 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c92b4b0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c92bcd0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x33/0xf00 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/28: #0: ffffffff8c92ab20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8c92ab20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8c92ab20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6513 2 locks held by kworker/u4:2/38: #0: ffff8880b8f3aa58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #1: ffff8880b8f27848 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x398/0x6d0 kernel/sched/psi.c:999 2 locks held by acpid/3609: #0: ffff88807d35c158 (&mousedev->mutex#2){+.+.}-{3:3}, at: mousedev_open_device+0x23/0x150 drivers/input/mousedev.c:423 #1: ffff888055f312c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_open_device+0x4e/0x2e0 drivers/input/input.c:630 2 locks held by getty/4014: #0: ffff88814ce68098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc9000325e2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x41b/0x1380 drivers/tty/n_tty.c:2198 1 lock held by syz-executor/4255: #0: ffff8880552ea0e0 (&type->s_umount_key#125){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:362 4 locks held by kworker/1:14/4901: #0: ffff888142ea1938 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000de4fd00 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff888144b41190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff888144b41190 (&dev->mutex){....}-{3:3}, at: hub_event+0x185/0x5210 drivers/usb/core/hub.c:5813 #3: ffff888027a694f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3172 [inline] #3: ffff888027a694f8 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x685/0x5210 drivers/usb/core/hub.c:5866 3 locks held by kworker/u4:7/5333: #0: ffff8880b8e3aa58 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:537 #1: ffffc90003107d00 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffff8880b8e28418 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x123/0x270 kernel/time/timer.c:999 3 locks held by udevd/21779: #0: ffff88807d359110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_open_device drivers/input/evdev.c:393 [inline] #0: ffff88807d359110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_open+0x2d2/0x5b0 drivers/input/evdev.c:487 #1: ffff888055f312c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_open_device+0x4e/0x2e0 drivers/input/input.c:630 #2: ffff888027a694f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3172 [inline] #2: ffff888027a694f8 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_port_resume+0x269/0x1c80 drivers/usb/core/hub.c:3730 1 lock held by syz-executor/23334: #0: ffffffff8c9307f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:323 [inline] #0: ffffffff8c9307f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x346/0x830 kernel/rcu/tree_exp.h:962 3 locks held by kworker/0:9/1906: #0: ffff888017470938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000c4e7d00 ((work_completion)(&pwq->unbound_release_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #2: ffffffff8c9307f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8c9307f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x455/0x830 kernel/rcu/tree_exp.h:962 2 locks held by kworker/0:11/1914: #0: ffff888017472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 #1: ffffc9000cb87d00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a1/0x1160 kernel/workqueue.c:2267 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.1.139-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106 nmi_cpu_backtrace+0x3f4/0x470 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x1d4/0x450 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+0xeee/0xf30 kernel/hung_task.c:377 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 23334 Comm: syz-executor Not tainted 6.1.139-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:remove_class_from_lock_chain kernel/locking/lockdep.c:5952 [inline] RIP: 0010:remove_class_from_lock_chains kernel/locking/lockdep.c:5991 [inline] RIP: 0010:zap_class+0x155/0x830 kernel/locking/lockdep.c:6036 Code: 08 4c 89 ff e8 6c 49 6e 00 4d 8b 3f 4d 85 ff 0f 94 c0 49 83 c7 f8 0f 94 c1 08 c1 75 b5 4d 89 fd 49 c1 ed 03 43 0f b6 44 35 00 <84> c0 0f 85 45 02 00 00 45 8b 27 41 f6 c4 fc 0f 84 03 02 00 00 41 RSP: 0018:ffffc90004977a68 EFLAGS: 00000806 RAX: 0000000000000000 RBX: 0000000000001138 RCX: 0000000000016500 RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffffff8f82cb74 RBP: 000000000002ca76 R08: dffffc0000000000 R09: fffffbfff2111573 R10: fffffbfff2111573 R11: 1ffffffff2111572 R12: 000000000001653b R13: 1ffffffff21530b4 R14: dffffc0000000000 R15: ffffffff90a985a0 FS: 000055555cf29500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd289e5ff8 CR3: 000000005eaec000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __lockdep_free_key_range kernel/locking/lockdep.c:6162 [inline] lockdep_unregister_key+0x38f/0x530 kernel/locking/lockdep.c:6364 wq_unregister_lockdep kernel/workqueue.c:3500 [inline] destroy_workqueue+0x87b/0xb20 kernel/workqueue.c:4469 xlog_dealloc_log+0x16b/0x1a0 fs/xfs/xfs_log.c:2124 xfs_unmountfs+0x1be/0x270 fs/xfs/xfs_mount.c:1096 xfs_fs_put_super+0x6d/0x2d0 fs/xfs/xfs_super.c:1118 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x463/0x4f0 fs/namespace.c:1186 task_work_run+0x1ca/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fdbf358fc97 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffd289e61c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fdbf361089d RCX: 00007fdbf358fc97 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd289e6280 RBP: 00007ffd289e6280 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd289e7310 R13: 00007fdbf361089d R14: 000000000015ec58 R15: 00007ffd289e7350