loop3: detected capacity change from 0 to 4096 ------------[ cut here ]------------ kernel BUG at fs/ntfs/malloc.h:31! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 655 Comm: syz-executor.3 Not tainted 6.2.0-rc8-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/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 97 63 c7 fe 48 89 df be 42 0c 00 00 5b 41 5e 41 5f e9 35 0d 0f ff e8 80 63 c7 fe 31 c0 5b 41 5e 41 5f c3 e8 73 63 c7 fe <0f> 0b 90 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 49 89 fe 49 bc RSP: 0018:ffffc90005d37818 EFLAGS: 00010283 RAX: ffffffff82c46edd RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc900127d3000 RSI: 0000000000005191 RDI: 0000000000005192 RBP: ffff88804c7874a0 R08: ffffffff82c46e0d R09: ffffed10051eb63b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888028f5b4a0 R14: ffff88804c7874ab R15: dffffc0000000000 FS: 00007f1ea9ffe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7792bad988 CR3: 00000000a7b0f000 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+0x113/0x190 fs/ntfs/inode.c:177 load_and_init_mft_mirror fs/ntfs/super.c:1027 [inline] load_system_files+0x100/0x4840 fs/ntfs/super.c:1772 ntfs_fill_super+0x19b4/0x2bd0 fs/ntfs/super.c:2892 mount_bdev+0x271/0x3a0 fs/super.c:1359 legacy_get_tree+0xef/0x190 fs/fs_context.c:610 vfs_get_tree+0x8c/0x270 fs/super.c:1489 do_new_mount+0x28f/0xae0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3674 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:0x7f1eab48d62a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 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:00007f1ea9ffdf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001e70f RCX: 00007f1eab48d62a RDX: 0000000020000080 RSI: 0000000020000000 RDI: 00007f1ea9ffdfe0 RBP: 00007f1ea9ffe020 R08: 00007f1ea9ffe020 R09: 0000000000000005 R10: 0000000000000005 R11: 0000000000000202 R12: 0000000020000080 R13: 0000000020000000 R14: 00007f1ea9ffdfe0 R15: 0000000020001400 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 97 63 c7 fe 48 89 df be 42 0c 00 00 5b 41 5e 41 5f e9 35 0d 0f ff e8 80 63 c7 fe 31 c0 5b 41 5e 41 5f c3 e8 73 63 c7 fe <0f> 0b 90 66 0f 1f 00 55 41 57 41 56 41 55 41 54 53 49 89 fe 49 bc RSP: 0018:ffffc90005d37818 EFLAGS: 00010283 RAX: ffffffff82c46edd RBX: 0000000000000000 RCX: 0000000000040000 RDX: ffffc900127d3000 RSI: 0000000000005191 RDI: 0000000000005192 RBP: ffff88804c7874a0 R08: ffffffff82c46e0d R09: ffffed10051eb63b R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: ffff888028f5b4a0 R14: ffff88804c7874ab R15: dffffc0000000000 FS: 00007f1ea9ffe700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd39ce10000 CR3: 00000000a7b0f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400