ntfs: (device loop0): is_boot_sector_ntfs(): Invalid boot sector checksum. ntfs: (device loop0): map_mft_record_page(): Mft record 0x1 is corrupt. Run chkdsk. ntfs: (device loop0): map_mft_record(): Failed with error code 5. ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x1 as bad. Run chkdsk. ntfs: (device loop0): load_system_files(): Failed to load $MFTMirr. Mounting read-only. Run ntfsfix and/or chkdsk. ------------[ cut here ]------------ kernel BUG at fs/ntfs/malloc.h:31! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3539 Comm: syz-executor235 Not tainted 6.1.33-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:__ntfs_malloc fs/ntfs/malloc.h:31 [inline] RIP: 0010:ntfs_malloc_nofs+0xfd/0x100 fs/ntfs/malloc.h:52 Code: 17 e8 d7 30 c9 fe 48 89 df be 42 0c 00 00 5b 41 5e 41 5f e9 d5 2b 12 ff e8 c0 30 c9 fe 31 c0 5b 41 5e 41 5f c3 e8 b3 30 c9 fe <0f> 0b 90 55 41 57 41 56 41 55 41 54 53 49 89 fe 49 bc 00 00 00 00 RSP: 0018:ffffc9000397f818 EFLAGS: 00010293 RAX: ffffffff82c0a49d RBX: 0000000000000000 RCX: ffff888028f3bb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8880bfec2118 R08: ffffffff82c0a3cd R09: ffffed100e59421b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888072ca13a0 R14: ffff8880bfec2147 R15: dffffc0000000000 FS: 0000555555a85300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056156d21c000 CR3: 00000000218d4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_read_locked_inode+0x1fd5/0x49c0 fs/ntfs/inode.c:703 ntfs_iget+0x10f/0x190 fs/ntfs/inode.c:177 load_and_init_upcase fs/ntfs/super.c:1655 [inline] load_system_files+0x1518/0x4830 fs/ntfs/super.c:1810 ntfs_fill_super+0x19b0/0x2bd0 fs/ntfs/super.c:2892 mount_bdev+0x2c9/0x3f0 fs/super.c:1423 legacy_get_tree+0xeb/0x180 fs/fs_context.c:610 vfs_get_tree+0x88/0x270 fs/super.c:1553 do_new_mount+0x28b/0xae0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fab0a1b0b1a 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:00007fff6fbe5de8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fab0a1b0b1a RDX: 000000002001f1c0 RSI: 000000002001f200 RDI: 00007fff6fbe5e00 RBP: 00007fff6fbe5e00 R08: 00007fff6fbe5e40 R09: 0000000000000987 R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000004 R13: 0000555555a852c0 R14: 0000000000000000 R15: 00007fff6fbe5e40 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ntfs_malloc fs/ntfs/malloc.h:31 [inline] RIP: 0010:ntfs_malloc_nofs+0xfd/0x100 fs/ntfs/malloc.h:52 Code: 17 e8 d7 30 c9 fe 48 89 df be 42 0c 00 00 5b 41 5e 41 5f e9 d5 2b 12 ff e8 c0 30 c9 fe 31 c0 5b 41 5e 41 5f c3 e8 b3 30 c9 fe <0f> 0b 90 55 41 57 41 56 41 55 41 54 53 49 89 fe 49 bc 00 00 00 00 RSP: 0018:ffffc9000397f818 EFLAGS: 00010293 RAX: ffffffff82c0a49d RBX: 0000000000000000 RCX: ffff888028f3bb80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff8880bfec2118 R08: ffffffff82c0a3cd R09: ffffed100e59421b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888072ca13a0 R14: ffff8880bfec2147 R15: dffffc0000000000 FS: 0000555555a85300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056156d2155d0 CR3: 00000000218d4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400