syz-executor260[5034]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set 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:186! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 5034 Comm: syz-executor260 Not tainted 6.6.0-rc4-syzkaller-00029-gcbf3a2cb156a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:ntfs_read_block fs/ntfs/aops.c:186 [inline] RIP: 0010:ntfs_read_folio+0x27b4/0x29c0 fs/ntfs/aops.c:436 Code: fa 48 83 7c 24 48 00 0f 84 e1 00 00 00 e8 34 b9 c5 fe e9 02 02 00 00 e8 2a b9 c5 fe 0f 0b e8 23 b9 c5 fe 0f 0b e8 1c b9 c5 fe <0f> 0b 48 8b 3c 24 be 08 00 00 00 e8 dc 36 20 ff 48 b8 00 00 00 00 RSP: 0018:ffffc90003b4f5a0 EFLAGS: 00010293 RAX: ffffffff82c85294 RBX: 0000000000000000 RCX: ffff888025860000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003b4f770 R08: ffffffff82c83827 R09: 1ffff1100ef6100a R10: dffffc0000000000 R11: ffffed100ef6100b R12: ffffea0001d41940 R13: 1ffffd40003a8328 R14: ffff888077b08320 R15: ffff888077b08088 FS: 0000555557455380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005fdeb8 CR3: 0000000079379000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: filemap_read_folio+0x19c/0x770 mm/filemap.c:2382 do_read_cache_folio+0x134/0x810 mm/filemap.c:3742 do_read_cache_page+0x30/0x210 mm/filemap.c:3808 read_mapping_page include/linux/pagemap.h:860 [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+0x193/0x4980 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:1629 legacy_get_tree+0xef/0x190 fs/fs_context.c:638 vfs_get_tree+0x8c/0x280 fs/super.c:1750 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:0x7f3cf227bcfa 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:00007fff4698a678 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fff4698a690 RCX: 00007f3cf227bcfa RDX: 0000000020000000 RSI: 000000002001ee80 RDI: 00007fff4698a690 RBP: 0000000000000004 R08: 00007fff4698a6d0 R09: 000000000001ee16 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000000 R13: 00007fff4698a6d0 R14: 0000000000000003 R15: 0000000000200000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_read_block fs/ntfs/aops.c:186 [inline] RIP: 0010:ntfs_read_folio+0x27b4/0x29c0 fs/ntfs/aops.c:436 Code: fa 48 83 7c 24 48 00 0f 84 e1 00 00 00 e8 34 b9 c5 fe e9 02 02 00 00 e8 2a b9 c5 fe 0f 0b e8 23 b9 c5 fe 0f 0b e8 1c b9 c5 fe <0f> 0b 48 8b 3c 24 be 08 00 00 00 e8 dc 36 20 ff 48 b8 00 00 00 00 RSP: 0018:ffffc90003b4f5a0 EFLAGS: 00010293 RAX: ffffffff82c85294 RBX: 0000000000000000 RCX: ffff888025860000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90003b4f770 R08: ffffffff82c83827 R09: 1ffff1100ef6100a R10: dffffc0000000000 R11: ffffed100ef6100b R12: ffffea0001d41940 R13: 1ffffd40003a8328 R14: ffff888077b08320 R15: ffff888077b08088 FS: 0000555557455380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005fdeb8 CR3: 0000000079379000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400