loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) BUG: kernel NULL pointer dereference, address: 0000000000000020 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 11157d067 P4D 11157d067 PUD 1113ce067 PMD 0 Oops: 0000 [#1] PREEMPT SMP CPU: 1 PID: 1997 Comm: syz-executor.0 Not tainted 6.0.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/03/2023 RIP: 0010:attr_data_read_resident+0x41/0x310 fs/ntfs3/attrib.c:1192 Code: 41 54 49 89 f4 31 f6 55 53 6a 00 6a 00 e8 a7 af 00 00 5a 48 85 c0 59 0f 84 c5 02 00 00 80 78 08 00 48 89 c3 0f 85 e8 00 00 00 <4d> 8b 74 24 20 8b 40 10 49 c1 e6 0c 49 39 c6 48 89 c5 0f 83 ae 00 RSP: 0018:ffffc900027efd20 EFLAGS: 00010246 RAX: ffff888107ac1108 RBX: ffff888107ac1108 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000018 RDI: 0000000000000270 RBP: ffff88810c580770 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc900027efd58 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8881087d0000 R14: ffff8881087d0000 R15: 000000000000000c FS: 00007ff75a8ac6c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 00000001115a2000 CR4: 0000000000350ee0 Call Trace: ntfs_get_block_vbo+0x1c7/0x560 fs/ntfs3/inode.c:556 generic_block_bmap+0x4e/0x80 fs/buffer.c:2660 bmap+0x21/0x30 fs/inode.c:1799 ioctl_fibmap fs/ioctl.c:77 [inline] file_ioctl fs/ioctl.c:327 [inline] do_vfs_ioctl+0x88f/0x8f0 fs/ioctl.c:849 __do_sys_ioctl fs/ioctl.c:868 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x64/0xc0 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff759a7cb29 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007ff75a8ac0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ff759b9bf80 RCX: 00007ff759a7cb29 RDX: 0000000020000100 RSI: 0000000000000001 RDI: 0000000000000004 RBP: 00007ff759ac847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007ff759b9bf80 R15: 00007fff1d566d18 Modules linked in: CR2: 0000000000000020 ---[ end trace 0000000000000000 ]--- RIP: 0010:attr_data_read_resident+0x41/0x310 fs/ntfs3/attrib.c:1192 Code: 41 54 49 89 f4 31 f6 55 53 6a 00 6a 00 e8 a7 af 00 00 5a 48 85 c0 59 0f 84 c5 02 00 00 80 78 08 00 48 89 c3 0f 85 e8 00 00 00 <4d> 8b 74 24 20 8b 40 10 49 c1 e6 0c 49 39 c6 48 89 c5 0f 83 ae 00 RSP: 0018:ffffc900027efd20 EFLAGS: 00010246 RAX: ffff888107ac1108 RBX: ffff888107ac1108 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000018 RDI: 0000000000000270 RBP: ffff88810c580770 R08: 0000000000000000 R09: 0000000000000000 R10: ffffc900027efd58 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8881087d0000 R14: ffff8881087d0000 R15: 000000000000000c FS: 00007ff75a8ac6c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000020 CR3: 00000001115a2000 CR4: 0000000000350ee0 ---------------- Code disassembly (best guess): 0: 41 54 push %r12 2: 49 89 f4 mov %rsi,%r12 5: 31 f6 xor %esi,%esi 7: 55 push %rbp 8: 53 push %rbx 9: 6a 00 push $0x0 b: 6a 00 push $0x0 d: e8 a7 af 00 00 call 0xafb9 12: 5a pop %rdx 13: 48 85 c0 test %rax,%rax 16: 59 pop %rcx 17: 0f 84 c5 02 00 00 je 0x2e2 1d: 80 78 08 00 cmpb $0x0,0x8(%rax) 21: 48 89 c3 mov %rax,%rbx 24: 0f 85 e8 00 00 00 jne 0x112 * 2a: 4d 8b 74 24 20 mov 0x20(%r12),%r14 <-- trapping instruction 2f: 8b 40 10 mov 0x10(%rax),%eax 32: 49 c1 e6 0c shl $0xc,%r14 36: 49 39 c6 cmp %rax,%r14 39: 48 89 c5 mov %rax,%rbp 3c: 0f .byte 0xf 3d: 83 .byte 0x83 3e: ae scas %es:(%rdi),%al