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: 5056 Comm: syz-executor339 Not tainted 6.7.0-rc6-syzkaller #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+0x2264/0x23e0 fs/ntfs/aops.c:430 Code: 1e fa 48 83 7c 24 70 00 74 73 e8 57 9d c3 fe e9 61 01 00 00 e8 4d 9d c3 fe 90 0f 0b e8 45 9d c3 fe 90 0f 0b e8 3d 9d c3 fe 90 <0f> 0b 48 8b 3c 24 be 08 00 00 00 e8 dc a3 1f ff 48 b8 00 00 00 00 RSP: 0018:ffffc900039cf5a0 EFLAGS: 00010293 RAX: ffffffff82caca23 RBX: 0000000000000000 RCX: ffff88807f855940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900039cf770 R08: ffffffff82cab4f4 R09: 1ffff1100ea2400a R10: dffffc0000000000 R11: ffffed100ea2400b R12: ffffea0001ffab20 R13: ffff888075120320 R14: ffff88807bd72800 R15: ffffea0001ffab00 FS: 0000555557399380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005fdeb8 CR3: 0000000029f88000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: filemap_read_folio+0x19c/0x780 mm/filemap.c:2323 do_read_cache_folio+0x134/0x810 mm/filemap.c:3691 do_read_cache_page+0x30/0x200 mm/filemap.c:3757 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+0x1cd/0x630 fs/ntfs/mft.c:156 ntfs_read_locked_inode+0x199/0x4940 fs/ntfs/inode.c:550 ntfs_read_inode_mount+0xda6/0x2660 fs/ntfs/inode.c:2098 ntfs_fill_super+0x1883/0x2bd0 fs/ntfs/super.c:2863 mount_bdev+0x237/0x300 fs/super.c:1650 legacy_get_tree+0xef/0x190 fs/fs_context.c:662 vfs_get_tree+0x8c/0x2a0 fs/super.c:1771 do_new_mount+0x28f/0xae0 fs/namespace.c:3337 do_mount fs/namespace.c:3677 [inline] __do_sys_mount fs/namespace.c:3886 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3863 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f996c67f8ba 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:00007ffdf1a30788 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffdf1a307a0 RCX: 00007f996c67f8ba RDX: 000000002001f1c0 RSI: 000000002001f200 RDI: 00007ffdf1a307a0 RBP: 0000000000000004 R08: 00007ffdf1a307e0 R09: 000000000001f1bb R10: 0000000000000002 R11: 0000000000000286 R12: 0000000000000002 R13: 00007ffdf1a307e0 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+0x2264/0x23e0 fs/ntfs/aops.c:430 Code: 1e fa 48 83 7c 24 70 00 74 73 e8 57 9d c3 fe e9 61 01 00 00 e8 4d 9d c3 fe 90 0f 0b e8 45 9d c3 fe 90 0f 0b e8 3d 9d c3 fe 90 <0f> 0b 48 8b 3c 24 be 08 00 00 00 e8 dc a3 1f ff 48 b8 00 00 00 00 RSP: 0018:ffffc900039cf5a0 EFLAGS: 00010293 RAX: ffffffff82caca23 RBX: 0000000000000000 RCX: ffff88807f855940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900039cf770 R08: ffffffff82cab4f4 R09: 1ffff1100ea2400a R10: dffffc0000000000 R11: ffffed100ea2400b R12: ffffea0001ffab20 R13: ffff888075120320 R14: ffff88807bd72800 R15: ffffea0001ffab00 FS: 0000555557399380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056175ea374b8 CR3: 0000000029f88000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400