loop0: detected capacity change from 0 to 4096 ntfs: (device loop0): is_boot_sector_ntfs(): Invalid end of sector marker. ------------[ cut here ]------------ kernel BUG at fs/ntfs/aops.c:185! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5067 Comm: syz-executor138 Not tainted 6.7.0-rc6-syzkaller-00022-g55cb5f43689d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:ntfs_read_block fs/ntfs/aops.c:185 [inline] RIP: 0010:ntfs_read_folio+0x1ea2/0x2430 fs/ntfs/aops.c:430 Code: 10 48 8b 98 30 fd ff ff 48 c1 eb 03 83 e3 01 89 de e8 c2 f8 cf fe 84 db 44 0f b6 4c 24 10 0f 85 15 f1 ff ff e8 7f fd cf fe 90 <0f> 0b e8 77 fd cf fe 48 8b 44 24 38 48 8d b8 70 fd ff ff e8 16 5e RSP: 0018:ffffc900041bf660 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff82b7713e RDX: ffff888014770000 RSI: ffffffff82b77151 RDI: 0000000000000001 RBP: ffffea0001f06d80 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff81d274f0 R12: dffffc0000000000 R13: fffff940003e0db1 R14: ffffea0001f06d98 R15: ffffea0001f06da0 FS: 0000555556e74380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc40b08000 CR3: 0000000078d94000 CR4: 0000000000350ef0 Call Trace: filemap_read_folio+0xe9/0x2c0 mm/filemap.c:2323 do_read_cache_folio+0x205/0x540 mm/filemap.c:3691 do_read_cache_page mm/filemap.c:3757 [inline] read_cache_page+0x5b/0x160 mm/filemap.c:3766 read_mapping_page include/linux/pagemap.h:871 [inline] ntfs_map_page fs/ntfs/aops.h:75 [inline] map_mft_record_page fs/ntfs/mft.c:73 [inline] map_mft_record+0x1dd/0x730 fs/ntfs/mft.c:156 ntfs_read_locked_inode+0x19b/0x5860 fs/ntfs/inode.c:550 ntfs_read_inode_mount+0xef9/0x2730 fs/ntfs/inode.c:2098 ntfs_fill_super+0x185c/0x9100 fs/ntfs/super.c:2863 mount_bdev+0x1f3/0x2e0 fs/super.c:1650 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8c/0x370 fs/super.c:1771 do_new_mount fs/namespace.c:3337 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3664 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount fs/namespace.c:3863 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7fe67bc26cfa Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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:00007ffc40b07838 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffc40b07850 RCX: 00007fe67bc26cfa RDX: 0000000020000000 RSI: 000000002001ee80 RDI: 00007ffc40b07850 RBP: 0000000000000004 R08: 00007ffc40b07890 R09: 000000000001ee16 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 00007ffc40b07890 R14: 0000000000000003 R15: 0000000000200000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_read_block fs/ntfs/aops.c:185 [inline] RIP: 0010:ntfs_read_folio+0x1ea2/0x2430 fs/ntfs/aops.c:430 Code: 10 48 8b 98 30 fd ff ff 48 c1 eb 03 83 e3 01 89 de e8 c2 f8 cf fe 84 db 44 0f b6 4c 24 10 0f 85 15 f1 ff ff e8 7f fd cf fe 90 <0f> 0b e8 77 fd cf fe 48 8b 44 24 38 48 8d b8 70 fd ff ff e8 16 5e RSP: 0018:ffffc900041bf660 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff82b7713e RDX: ffff888014770000 RSI: ffffffff82b77151 RDI: 0000000000000001 RBP: ffffea0001f06d80 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000000 R11: ffffffff81d274f0 R12: dffffc0000000000 R13: fffff940003e0db1 R14: ffffea0001f06d98 R15: ffffea0001f06da0 FS: 0000555556e74380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc40b08000 CR3: 0000000078d94000 CR4: 0000000000350ef0