INFO: task syz-executor.1:26539 blocked for more than 143 seconds. Not tainted 6.9.0-rc3-next-20240408-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:25048 pid:26539 tgid:26529 ppid:25437 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x17e8/0x4a50 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 exfat_get_block+0x1b7/0x23c0 fs/exfat/inode.c:293 __block_write_begin_int+0x50c/0x1a70 fs/buffer.c:2105 __block_write_begin fs/buffer.c:2154 [inline] block_write_begin+0x9b/0x1e0 fs/buffer.c:2213 exfat_write_begin+0x5f/0x170 fs/exfat/inode.c:456 exfat_file_zeroed_range+0x1e8/0x5e0 fs/exfat/file.c:541 exfat_file_write_iter+0x107/0x430 fs/exfat/file.c:578 do_iter_readv_writev+0x5a4/0x800 vfs_writev+0x395/0xbe0 fs/read_write.c:971 do_pwritev fs/read_write.c:1072 [inline] __do_sys_pwritev2 fs/read_write.c:1131 [inline] __se_sys_pwritev2+0x1ca/0x2d0 fs/read_write.c:1122 do_syscall_64+0xfb/0x240 entry_SYSCALL_64_after_hwframe+0x72/0x7a RIP: 0033:0x7f99f0e7de69 RSP: 002b:00007f99f09de0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007f99f0fac050 RCX: 00007f99f0e7de69 RDX: 0000000000000001 RSI: 0000000020001480 RDI: 0000000000000006 RBP: 00007f99f0eca47a R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f99f0fac050 R15: 00007ffd36b43338 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e3359e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e3359e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:841 [inline] #0: ffffffff8e3359e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 2 locks held by getty/4839: #0: ffff88802a8de0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f0e2f0 ( &ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 3 locks held by syz-executor.1/26530: 3 locks held by syz-executor.1/26539: #0: ffff88802d9fa420 (sb_writers#29){.+.+}-{0:0}, at: file_start_write include/linux/fs.h:2851 [inline] #0: ffff88802d9fa420 (sb_writers#29){.+.+}-{0:0}, at: vfs_writev+0x2d9/0xbe0 fs/read_write.c:969 #1: ffff88805281bd80 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: inode_lock include/linux/fs.h:786 [inline] #1: ffff88805281bd80 (&sb->s_type->i_mutex_key#32){++++}-{3:3}, at: exfat_file_write_iter+0xa1/0x430 fs/exfat/file.c:569 #2: ffff88802d9f80e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_get_block+0x1b7/0x23c0 fs/exfat/inode.c:293 4 locks held by kworker/u8:6/26574: #0: ffff88801aee5948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3193 [inline] #0: ffff88801aee5948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3299 #1: ffffc9000c4e7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3194 [inline] #1: ffffc9000c4e7d00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3299 #2: ffff88802d9fa0e0 (&type->s_umount_key#93){++++}-{3:3}, at: super_trylock_shared+0x22/0xf0 fs/super.c:561 #3: ffff88802d9f80e0 (&sbi->s_lock#2){+.+.}-{3:3}, at: exfat_write_inode+0x69/0x120 fs/exfat/inode.c:105 3 locks held by syz-executor.1/29432: 1 lock held by syz-executor.3/29433: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc3-next-20240408-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 29429 Comm: syz-executor.1 Not tainted 6.9.0-rc3-next-20240408-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0033:0x7f4ee5439c80 Code: 00 00 0f 86 04 01 00 00 4c 8d ad 80 00 00 00 48 89 ef 4c 89 ee e8 40 fa ff ff 4c 39 eb 74 3b 0f 1f 00 49 8b 4d 00 49 8b 55 f8 <49> 8d 45 f8 48 39 d1 0f 83 e5 00 00 00 0f 1f 00 48 89 50 08 48 89 RSP: 002b:00007ffd9f99b070 EFLAGS: 00000202 RAX: 00007f4ee480a480 RBX: 00007f4ee4a01000 RCX: ffffffff813756bf RDX: ffffffff813756bf RSI: 00007f4ee480a488 RDI: 00007f4ee4801008 RBP: 00007f4ee4801008 R08: 00007f4ee4801078 R09: 00000000000008b8 R10: 0000000084acf178 R11: 0000000000000246 R12: 0000001b30c28ddc R13: 00007f4ee480a490 R14: 00007f4ee55a0000 R15: 00007f4ee55ac0e8 FS: 0000555573bd2480 GS: 0000000000000000