INFO: task syz-executor.0:8054 blocked for more than 143 seconds. Not tainted 5.15.138-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27520 pid: 8054 ppid: 3556 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6514 __mutex_lock_common+0xe34/0x25a0 kernel/locking/mutex.c:669 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 exfat_sync_fs+0x67/0x100 fs/exfat/super.c:64 sync_filesystem+0x1bc/0x220 fs/sync.c:66 fsync_bdev+0x29/0xb0 block/bdev.c:216 blkdev_flushbuf block/ioctl.c:352 [inline] blkdev_common_ioctl+0xd0f/0x2080 block/ioctl.c:477 blkdev_ioctl+0x286/0x6b0 block/ioctl.c:597 block_ioctl+0xb1/0xf0 block/fops.c:493 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 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+0x61/0xcb RIP: 0033:0x7f6a22c6bae9 RSP: 002b:00007f6a211ed0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6a22d8af80 RCX: 00007f6a22c6bae9 RDX: 0000000000000000 RSI: 0000000000001261 RDI: 0000000000000003 RBP: 00007f6a22cb747a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6a22d8af80 R15: 00007ffec85d7778 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91f020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by kworker/u4:3/504: 1 lock held by klogd/2952: 2 locks held by getty/3269: #0: ffff8880243ff098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by syz-executor.3/13734: 2 locks held by syz-executor.0/8054: #0: ffff8880155da0e0 (&type->s_umount_key#79){++++}-{3:3}, at: get_super+0xfe/0x1f0 fs/super.c:776 #1: ffff888022c280e0 (&sbi->s_lock){+.+.}-{3:3}, at: exfat_sync_fs+0x67/0x100 fs/exfat/super.c:64 2 locks held by syz-executor.0/8123: #0: ffff8880155da0e0 (&type->s_umount_key#79){++++}-{3:3}, at: get_super+0xfe/0x1f0 fs/super.c:776 #1: ffff888022c280e0 (&sbi->s_lock){+.+.}-{3:3}, at: exfat_sync_fs+0x67/0x100 fs/exfat/super.c:64 2 locks held by syz-executor.0/8164: #0: ffff8880155da0e0 (&type->s_umount_key#79){++++}-{3:3}, at: get_super+0xfe/0x1f0 fs/super.c:776 #1: ffff888022c280e0 (&sbi->s_lock){+.+.}-{3:3}, at: exfat_sync_fs+0x67/0x100 fs/exfat/super.c:64 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.138-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+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 504 Comm: kworker/u4:3 Not tainted 5.15.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:hlock_class kernel/locking/lockdep.c:197 [inline] RIP: 0010:__lock_acquire+0xfb7/0x1ff0 kernel/locking/lockdep.c:5007 Code: 0e 00 00 8b 1b 81 e3 ff 1f 00 00 89 d8 c1 e8 06 48 8d 3c c5 00 e1 bc 8f be 08 00 00 00 e8 01 47 67 00 48 0f a3 1d 99 4e 5a 0e <0f> 83 be 01 00 00 48 8d 04 5b 48 c1 e0 06 48 8d 98 00 40 8c 8f 48 RSP: 0018:ffffc90002d2f900 EFLAGS: 00000057 RAX: 0000000000000001 RBX: 0000000000000752 RCX: ffffffff8162925f RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8fbce1e8 RBP: 3412406634bd91e8 R08: dffffc0000000000 R09: fffffbfff1f79c3e R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000002 R13: ffff888019ea8ae8 R14: ffff888019ea8000 R15: ffff888019ea8b60 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c011ca6c28 CR3: 0000000023473000 CR4: 00000000003526e0 DR0: 00000000d5483e82 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5622 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] batadv_nc_purge_paths+0xe8/0x3b0 net/batman-adv/network-coding.c:446 batadv_nc_worker+0x30b/0x5b0 net/batman-adv/network-coding.c:726 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457 kthread+0x3f6/0x4f0 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298