exFAT-fs (loop0): failed to load upcase table (idx : 0x00010000, chksum : 0x36df086c, utbl_chksum : 0xe619d30d) ============================================ WARNING: possible recursive locking detected syzkaller #0 Not tainted -------------------------------------------- syz.0.662/14012 is trying to acquire lock: ffff888028b4a3c8 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1039 [inline] ffff888028b4a3c8 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_buffered_write+0xd9/0x170 block/fops.c:738 but task is already holding lock: ffff888028b4a3c8 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1039 [inline] ffff888028b4a3c8 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_write_iter+0x6c8/0x810 block/fops.c:815 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(&sb->s_type->i_mutex_key#9); lock(&sb->s_type->i_mutex_key#9); *** DEADLOCK *** May be due to missing lock nesting notation locks held by syz.0.662/14012: 1, last CPU#1: #0: ffff888028b4a3c8 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: inode_lock_shared include/linux/fs.h:1039 [inline] #0: ffff888028b4a3c8 (&sb->s_type->i_mutex_key#9){++++}-{4:4}, at: blkdev_write_iter+0x6c8/0x810 block/fops.c:815 stack backtrace: CPU: 1 UID: 0 PID: 14012 Comm: syz.0.662 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_deadlock_bug+0x27a/0x290 kernel/locking/lockdep.c:3085 check_deadlock kernel/locking/lockdep.c:3137 [inline] validate_chain kernel/locking/lockdep.c:3939 [inline] __lock_acquire+0x25db/0x2de0 kernel/locking/lockdep.c:5288 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 down_read+0x92/0x200 kernel/locking/rwsem.c:1574 inode_lock_shared include/linux/fs.h:1039 [inline] blkdev_buffered_write+0xd9/0x170 block/fops.c:738 blkdev_write_iter+0x6d8/0x810 block/fops.c:816 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x61e/0xbb0 fs/read_write.c:687 ksys_write+0x156/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f159b02f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1599286028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f159b2b5fa0 RCX: 00007f159b02f559 RDX: 00000000fffffe38 RSI: 0000200000001f80 RDI: 0000000000000009 RBP: 00007f159b0c6b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f159b2b6038 R14: 00007f159b2b5fa0 R15: 00007fffefd129b8