loop5: detected capacity change from 0 to 4096 ntfs3: loop5: Different NTFS sector size (1024) and media sector size (512). ------------[ cut here ]------------ kernel BUG at fs/inode.c:612! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 9431 Comm: syz-executor.5 Not tainted 6.4.0-syzkaller-10173-ga901a3568fd2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 RIP: 0010:clear_inode+0x12e/0x150 fs/inode.c:612 Code: 68 93 90 ff 43 80 7c 25 00 00 74 08 4c 89 f7 e8 c8 43 e9 ff 49 c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 42 93 90 ff <0f> 0b e8 3b 93 90 ff 0f 0b e8 34 93 90 ff 0f 0b e8 2d 93 90 ff 0f RSP: 0018:ffffc90005adf9d0 EFLAGS: 00010093 RAX: ffffffff81fb5eae RBX: 0000000000000001 RCX: ffff888015e5bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888064a3cdd8 R08: ffffffff81fb5dd8 R09: fffff52000b5bf14 R10: dffffc0000000000 R11: fffff52000b5bf14 R12: dffffc0000000000 R13: ffffffff8b3bb5f0 R14: ffff888064a3ce40 R15: ffff888064a3cc10 FS: 00007f1fb1e56700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff8c3dad988 CR3: 000000002b88d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_evict_inode+0x29/0x40 fs/ntfs3/inode.c:1794 evict+0x2a4/0x620 fs/inode.c:665 ntfs_fill_super+0x3d4c/0x4530 fs/ntfs3/super.c:1267 get_tree_bdev+0x468/0x6c0 fs/super.c:1318 vfs_get_tree+0x8c/0x270 fs/super.c:1519 do_new_mount+0x28f/0xae0 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f1fb108d8ba 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:00007f1fb1e55f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001f7f7 RCX: 00007f1fb108d8ba RDX: 000000002001f800 RSI: 000000002001f840 RDI: 00007f1fb1e55fe0 RBP: 00007f1fb1e56020 R08: 00007f1fb1e56020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000002001f800 R13: 000000002001f840 R14: 00007f1fb1e55fe0 R15: 000000002001f880 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:clear_inode+0x12e/0x150 fs/inode.c:612 Code: 68 93 90 ff 43 80 7c 25 00 00 74 08 4c 89 f7 e8 c8 43 e9 ff 49 c7 06 60 00 00 00 5b 41 5c 41 5d 41 5e 41 5f c3 e8 42 93 90 ff <0f> 0b e8 3b 93 90 ff 0f 0b e8 34 93 90 ff 0f 0b e8 2d 93 90 ff 0f RSP: 0018:ffffc90005adf9d0 EFLAGS: 00010093 RAX: ffffffff81fb5eae RBX: 0000000000000001 RCX: ffff888015e5bb80 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffff888064a3cdd8 R08: ffffffff81fb5dd8 R09: fffff52000b5bf14 R10: dffffc0000000000 R11: fffff52000b5bf14 R12: dffffc0000000000 R13: ffffffff8b3bb5f0 R14: ffff888064a3ce40 R15: ffff888064a3cc10 FS: 00007f1fb1e56700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff8c3dad988 CR3: 000000002b88d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400