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: 5494 Comm: syz-executor.0 Not tainted 6.6.0-rc7-next-20231030-syzkaller #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 80 ff 02 8b 48 c7 c7 80 30 03 8b e8 26 39 fe ff e9 ca d0 ff ff e8 4c 97 cb fe <0f> 0b e8 45 97 cb fe 48 8d bb a8 fe ff ff b8 ff ff 37 00 48 89 fa RSP: 0018:ffffc900051279a0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888078751be0 RCX: ffffffff82bd5aef RDX: ffff88807d3e9dc0 RSI: ffffffff82bd8574 RDI: 0000000000000007 RBP: ffff8880697f9000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8aa00087 R12: ffff888020faa000 R13: ffff8880697f9110 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f51d48f76c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f07957f5fe4 CR3: 0000000021616000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0x2823/0x9100 fs/ntfs/super.c:2900 mount_bdev+0x1f3/0x2e0 fs/super.c:1650 legacy_get_tree+0x109/0x220 fs/fs_context.c:662 vfs_get_tree+0x8c/0x370 fs/super.c:1771 do_new_mount fs/namespace.c:3337 [inline] path_mount+0x148e/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+0x62/0x6a RIP: 0033:0x7f51d3c7e1ea 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:00007f51d48f6ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f51d48f6f80 RCX: 00007f51d3c7e1ea RDX: 000000002001f1c0 RSI: 000000002001f200 RDI: 00007f51d48f6f40 RBP: 000000002001f1c0 R08: 00007f51d48f6f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000002001f200 R13: 00007f51d48f6f40 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 80 ff 02 8b 48 c7 c7 80 30 03 8b e8 26 39 fe ff e9 ca d0 ff ff e8 4c 97 cb fe <0f> 0b e8 45 97 cb fe 48 8d bb a8 fe ff ff b8 ff ff 37 00 48 89 fa RSP: 0018:ffffc900051279a0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff888078751be0 RCX: ffffffff82bd5aef RDX: ffff88807d3e9dc0 RSI: ffffffff82bd8574 RDI: 0000000000000007 RBP: ffff8880697f9000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: ffffffff8aa00087 R12: ffff888020faa000 R13: ffff8880697f9110 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f51d48f76c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ef8301d680 CR3: 0000000021616000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400