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: 5462 Comm: syz-executor.0 Not tainted 6.6.0-syzkaller-03577-gecb8cd2a9f7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__ntfs_malloc fs/ntfs/malloc.h:31 [inline] RIP: 0010:ntfs_malloc_nofs fs/ntfs/malloc.h:52 [inline] RIP: 0010:ntfs_read_locked_inode+0x4064/0x5860 fs/ntfs/inode.c:703 Code: 3c 02 00 0f 85 bc 0e 00 00 48 8b 73 28 48 c7 c2 40 d3 c2 8a 48 c7 c7 40 04 c3 8a e8 16 35 fe ff e9 ca d0 ff ff e8 dc 79 cd fe <0f> 0b e8 d5 79 cd fe 48 8d bb a8 fe ff ff b8 ff ff 37 00 48 89 fa RSP: 0018:ffffc9000507f9a0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880751b1be0 RCX: ffffffff82ba937f RDX: ffff888014b95940 RSI: ffffffff82babe04 RDI: 0000000000000007 RBP: ffff88807130d000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81ddfa01 R12: ffff88801f898800 R13: ffff88807130d110 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f27d5b916c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f27cbe16000 CR3: 0000000027df5000 CR4: 0000000000350ef0 Call Trace: ntfs_iget+0x130/0x180 fs/ntfs/inode.c:177 load_and_init_upcase fs/ntfs/super.c:1663 [inline] load_system_files fs/ntfs/super.c:1818 [inline] ntfs_fill_super+0x2825/0x9100 fs/ntfs/super.c:2900 mount_bdev+0x1f3/0x2e0 fs/super.c:1647 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8c/0x370 fs/super.c:1768 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:51 [inline] do_syscall_64+0x3f/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f27d4e7e22a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f27d5b90ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f27d5b90f80 RCX: 00007f27d4e7e22a RDX: 000000002001f1c0 RSI: 000000002001f200 RDI: 00007f27d5b90f40 RBP: 000000002001f1c0 R08: 00007f27d5b90f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000002001f200 R13: 00007f27d5b90f40 R14: 000000000000098d R15: 0000000020000040 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__ntfs_malloc fs/ntfs/malloc.h:31 [inline] RIP: 0010:ntfs_malloc_nofs fs/ntfs/malloc.h:52 [inline] RIP: 0010:ntfs_read_locked_inode+0x4064/0x5860 fs/ntfs/inode.c:703 Code: 3c 02 00 0f 85 bc 0e 00 00 48 8b 73 28 48 c7 c2 40 d3 c2 8a 48 c7 c7 40 04 c3 8a e8 16 35 fe ff e9 ca d0 ff ff e8 dc 79 cd fe <0f> 0b e8 d5 79 cd fe 48 8d bb a8 fe ff ff b8 ff ff 37 00 48 89 fa RSP: 0018:ffffc9000507f9a0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880751b1be0 RCX: ffffffff82ba937f RDX: ffff888014b95940 RSI: ffffffff82babe04 RDI: 0000000000000007 RBP: ffff88807130d000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff81ddfa01 R12: ffff88801f898800 R13: ffff88807130d110 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f27d5b916c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562b83547680 CR3: 0000000027df5000 CR4: 0000000000350ef0