loop0: detected capacity change from 0 to 519 ntfs: (device loop0): is_boot_sector_ntfs(): Invalid end of sector marker. ------------[ cut here ]------------ kernel BUG at fs/ntfs/aops.c:186! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 3604 Comm: syz-executor416 Not tainted 6.0.0-rc5-syzkaller-00089-g6879c2d3b960 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:ntfs_read_block fs/ntfs/aops.c:186 [inline] RIP: 0010:ntfs_read_folio+0x2346/0x2e10 fs/ntfs/aops.c:436 Code: 00 48 8b 44 24 50 31 ff 48 8b 98 30 fd ff ff 48 c1 eb 03 83 e3 01 89 de e8 27 0b e1 fe 84 db 0f 85 59 eb ff ff e8 9a 0e e1 fe <0f> 0b e8 93 0e e1 fe 48 c7 c6 20 27 21 8a 4c 89 f7 e8 04 4c 17 ff RSP: 0018:ffffc9000394f728 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888025481d80 RSI: ffffffff829afa86 RDI: 0000000000000001 RBP: ffff888074198050 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888074198050 R13: ffffea0001c553d8 R14: ffffea0001c553c0 R15: ffffea0001c553e0 FS: 00005555570f2300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005d84c8 CR3: 000000007eb1d000 CR4: 0000000000350ef0 Call Trace: filemap_read_folio+0x3c/0x1d0 mm/filemap.c:2394 do_read_cache_folio+0x1df/0x510 mm/filemap.c:3519 do_read_cache_page mm/filemap.c:3561 [inline] read_cache_page+0x59/0x2b0 mm/filemap.c:3570 read_mapping_page include/linux/pagemap.h:756 [inline] ntfs_map_page fs/ntfs/aops.h:75 [inline] map_mft_record_page fs/ntfs/mft.c:73 [inline] map_mft_record+0x1db/0x6b0 fs/ntfs/mft.c:156 ntfs_read_locked_inode+0x19c/0x5ae0 fs/ntfs/inode.c:550 ntfs_read_inode_mount+0xd72/0x2580 fs/ntfs/inode.c:2091 ntfs_fill_super+0x17c7/0x9300 fs/ntfs/super.c:2854 mount_bdev+0x34d/0x410 fs/super.c:1400 legacy_get_tree+0x105/0x220 fs/fs_context.c:610 vfs_get_tree+0x89/0x2f0 fs/super.c:1530 do_new_mount fs/namespace.c:3040 [inline] path_mount+0x1326/0x1e20 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9d8623f33a Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd10ebfc78 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffd10ebfcd0 RCX: 00007f9d8623f33a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffd10ebfc90 RBP: 00007ffd10ebfc90 R08: 00007ffd10ebfcd0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000286 R12: 00000000200002c0 R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000008 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_read_block fs/ntfs/aops.c:186 [inline] RIP: 0010:ntfs_read_folio+0x2346/0x2e10 fs/ntfs/aops.c:436 Code: 00 48 8b 44 24 50 31 ff 48 8b 98 30 fd ff ff 48 c1 eb 03 83 e3 01 89 de e8 27 0b e1 fe 84 db 0f 85 59 eb ff ff e8 9a 0e e1 fe <0f> 0b e8 93 0e e1 fe 48 c7 c6 20 27 21 8a 4c 89 f7 e8 04 4c 17 ff RSP: 0018:ffffc9000394f728 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888025481d80 RSI: ffffffff829afa86 RDI: 0000000000000001 RBP: ffff888074198050 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888074198050 R13: ffffea0001c553d8 R14: ffffea0001c553c0 R15: ffffea0001c553e0 FS: 00005555570f2300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005d84c8 CR3: 000000007eb1d000 CR4: 0000000000350ef0