INFO: task syz-executor:4256 blocked for more than 143 seconds. Not tainted 6.1.116-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor state:D stack:19352 pid:4256 ppid:1 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5241 [inline] __schedule+0x143f/0x4570 kernel/sched/core.c:6558 schedule+0xbf/0x180 kernel/sched/core.c:6634 bit_wait+0xe/0xc0 kernel/sched/wait_bit.c:199 __wait_on_bit+0xa8/0x2e0 kernel/sched/wait_bit.c:49 out_of_line_wait_on_bit+0x1d0/0x250 kernel/sched/wait_bit.c:64 wait_on_bit include/linux/wait_bit.h:76 [inline] gfs2_glock_wait+0xc3/0x2a0 fs/gfs2/glock.c:1346 gfs2_glock_nq_init fs/gfs2/glock.h:255 [inline] __gfs2_lookup+0x117/0x270 fs/gfs2/inode.c:879 __lookup_slow+0x27e/0x3d0 fs/namei.c:1690 lookup_slow+0x53/0x70 fs/namei.c:1707 walk_component+0x2d0/0x400 fs/namei.c:1998 lookup_last fs/namei.c:2455 [inline] path_lookupat+0x16f/0x450 fs/namei.c:2479 filename_lookup+0x251/0x600 fs/namei.c:2508 user_path_at_empty+0x3e/0x60 fs/namei.c:2905 user_path_at include/linux/namei.h:57 [inline] ksys_umount fs/namespace.c:1822 [inline] __do_sys_umount fs/namespace.c:1830 [inline] __se_sys_umount fs/namespace.c:1828 [inline] __x64_sys_umount+0xf0/0x170 fs/namespace.c:1828 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fdcb9b7fa47 RSP: 002b:00007ffe46e84a88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: ffffffffffffffda RBX: 00007fdcb9bf14b4 RCX: 00007fdcb9b7fa47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe46e84b40 RBP: 00007ffe46e84b40 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe46e85c30 R13: 00007fdcb9bf14b4 R14: 0000555563e0e4a8 R15: 00007ffe46e87de0 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d32b110 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by rcu_tasks_trace/13: #0: ffffffff8d32b910 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xe30 kernel/rcu/tasks.h:517 1 lock held by khungtaskd/27: #0: ffffffff8d32af40 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32af40 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #0: ffffffff8d32af40 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6510 5 locks held by kworker/0:3/3637: #0: ffff88801cea5538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc9000335fd20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffff888145f62190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #2: ffff888145f62190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1fe/0x5730 drivers/usb/core/hub.c:5801 #3: ffff888068b79190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #3: ffff888068b79190 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 #4: ffff88807cc24118 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:837 [inline] #4: ffff88807cc24118 (&dev->mutex){....}-{3:3}, at: __device_attach+0x8a/0x570 drivers/base/dd.c:990 2 locks held by getty/4000: #0: ffff888030b24098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900032462f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a7/0x1db0 drivers/tty/n_tty.c:2198 1 lock held by syz-executor/4256: #0: ffff8880282a0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:768 [inline] #0: ffff8880282a0150 (&type->i_mutex_dir_key#8){++++}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1706 3 locks held by kworker/u4:13/4492: #0: ffff8880b8e3a9d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xa8/0x140 kernel/sched/core.c:545 #1: ffff8880b8f27788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x383/0x790 kernel/sched/psi.c:987 #2: ffff8880b8f28358 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x62d/0xee0 kernel/time/timer.c:1096 3 locks held by kworker/u4:20/6315: #0: ffff888017c79138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #1: ffffc900064ffd20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 kernel/workqueue.c:2267 #2: ffffffff8d330400 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x48/0x5f0 kernel/rcu/tree.c:4019 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.1.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 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+0x1ae/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:295 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 8439 Comm: syz.0.1129 Not tainted 6.1.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:jbd2_journal_dirty_metadata+0x2fd/0xbf0 Code: db 0f 84 3e 01 00 00 e8 e1 04 3b ff 4c 8b 74 24 28 48 8b 5c 24 08 e9 29 02 00 00 e8 cd 04 3b ff bb e2 ff ff ff e9 d1 03 00 00 <4c> 89 e0 4d 8d 67 4c 4c 89 e5 48 c1 ed 03 49 89 c5 0f b6 44 05 00 RSP: 0000:ffffc900051575b0 EFLAGS: 00000246 RAX: 1ffff1100ea5622b RBX: ffff8880752b1158 RCX: ffff88804626bb80 RDX: ffff88804626bb80 RSI: 0000000000000001 RDI: 0000000000000001 RBP: 1ffff1100ea56228 R08: ffffffff824f861e R09: ffffed10281c0797 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 1ffff1100d1f3bce R14: ffff888028157980 R15: ffff8880752b10f0 FS: 000055556ef3c500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32e0cff8 CR3: 0000000068465000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __ext4_handle_dirty_metadata+0x16b/0x810 fs/ext4/ext4_jbd2.c:349 ext4_do_update_inode fs/ext4/inode.c:5233 [inline] ext4_mark_iloc_dirty+0x15a4/0x1d30 fs/ext4/inode.c:5856 __ext4_mark_inode_dirty+0x5c2/0x920 fs/ext4/inode.c:6060 ext4_dirty_inode+0xbf/0x100 fs/ext4/inode.c:6089 __mark_inode_dirty+0x331/0xf80 fs/fs-writeback.c:2433 generic_update_time fs/inode.c:1942 [inline] inode_update_time fs/inode.c:1955 [inline] __file_update_time+0x221/0x240 fs/inode.c:2143 file_update_time+0x34c/0x3c0 fs/inode.c:2174 ext4_page_mkwrite+0x1c4/0x10d0 fs/ext4/inode.c:6207 do_page_mkwrite+0x1a1/0x5f0 mm/memory.c:3009 do_shared_fault mm/memory.c:4694 [inline] do_fault mm/memory.c:4762 [inline] handle_pte_fault mm/memory.c:5029 [inline] __handle_mm_fault mm/memory.c:5171 [inline] handle_mm_fault+0x22eb/0x5340 mm/memory.c:5292 do_user_addr_fault arch/x86/mm/fault.c:1340 [inline] handle_page_fault arch/x86/mm/fault.c:1431 [inline] exc_page_fault+0x26f/0x620 arch/x86/mm/fault.c:1487 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608 RIP: 0033:0x7f1bd885d486 Code: 00 00 00 00 be 08 00 00 00 48 89 df 49 83 c6 01 e8 af ac fe ff 48 8b 53 38 48 8d 42 f8 48 89 43 38 8b 43 28 83 c0 08 89 43 28 <48> 89 6a f8 45 39 e6 0f 83 7d 00 00 00 48 8b 3c 24 49 8b 6d 30 4a RSP: 002b:00007ffe0e6a5470 EFLAGS: 00010202 RAX: 0000000000013008 RBX: 00007f1bd9665720 RCX: 0000000000000000 RDX: 0000001b32e0d000 RSI: 0000000000000008 RDI: 00007f1bd9665720 RBP: ffffffff8aa1aa5e R08: 00007f1bd7fff0b0 R09: 00007f1bd8b22000 R10: 000000008132b148 R11: 000000000000000c R12: 0000000000000149 R13: 00007f1bd8b36018 R14: 000000000000011b R15: fffffffffffed000