loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS' sector size (1024) and media sector size (512) ------------[ cut here ]------------ DEBUG_LOCKS_WARN_ON(chain_key != INITIAL_CHAIN_KEY) WARNING: CPU: 0 PID: 6290 at kernel/locking/lockdep.c:5007 __lock_acquire+0x169f/0x1f80 kernel/locking/lockdep.c:5007 Modules linked in: CPU: 0 PID: 6290 Comm: syz-executor.0 Not tainted 5.18.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:__lock_acquire+0x169f/0x1f80 kernel/locking/lockdep.c:5007 Code: 85 d1 08 00 00 83 3d b7 bb 77 0b 00 0f 85 e6 fe ff ff 45 31 f6 48 c7 c7 80 be 6c 89 48 c7 c6 20 e8 6c 89 31 c0 e8 c1 47 ea ff <0f> 0b e9 c7 fe ff ff 0f 0b e9 30 fb ff ff 48 c7 c1 74 67 d2 8c 80 RSP: 0018:ffffc90005a07608 EFLAGS: 00010046 RAX: 5eb111fa55719e00 RBX: 0000000000000a09 RCX: 0000000000000002 RDX: 0000000000000001 RSI: 0000000000000004 RDI: 0000000000000001 RBP: ffff888023409d00 R08: dffffc0000000000 R09: ffffed1017384f2c R10: ffffed1017384f2c R11: 1ffff11017384f2b R12: 1ffff110046814ea R13: 4c708bea5f360518 R14: 0000000000000000 R15: ffff88802340a760 FS: 00007f45112c9700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f45112c8fc8 CR3: 00000000755a5000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x182/0x3c0 kernel/locking/lockdep.c:5641 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:349 [inline] writeback_single_inode+0x83/0x5d0 fs/fs-writeback.c:1670 write_inode_now+0x190/0x210 fs/fs-writeback.c:2697 iput_final fs/inode.c:1731 [inline] iput+0x309/0x590 fs/inode.c:1770 ntfs_fill_super+0x30a8/0x39e0 fs/ntfs3/super.c:1178 get_tree_bdev+0x3d5/0x620 fs/super.c:1292 vfs_get_tree+0x7b/0x220 fs/super.c:1497 do_new_mount+0x1df/0x930 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x20f/0x2a0 fs/namespace.c:3568 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+0x44/0xae RIP: 0033:0x7f451008bada Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f45112c8f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f451008bada RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f45112c8fe0 RBP: 00007f45112c9020 R08: 00007f45112c9020 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007f45112c8fe0 R15: 00000000200021c0