RBP: 00007f269382d120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f2692b9bf80 R15: 00007fff8bdfcbb8 general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 PID: 3351 Comm: syz-executor.4 Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:_compound_head include/linux/page-flags.h:245 [inline] RIP: 0010:unlock_page+0x25/0x130 mm/folio-compat.c:21 Code: 00 eb b9 66 90 f3 0f 1e fa 41 54 55 53 48 89 fb e8 30 0e cf ff 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e4 00 00 00 4c 8b 63 08 31 ff 4c 89 e5 83 e5 01 RSP: 0018:ffffc900153e7678 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000594a000 RDX: 0000000000000001 RSI: ffffffff81b8b950 RDI: 0000000000000008 RBP: 0000000000000001 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000085f28 R12: 0000000000000000 R13: ffff888062744b88 R14: ffffea00021ae080 R15: 0000000000000000 FS: 00007f269382d6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f303a998d58 CR3: 000000001dc24000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ni_readpage_cmpr+0x334/0xc80 fs/ntfs3/frecord.c:2153 ntfs_read_folio+0x107/0x1e0 fs/ntfs3/inode.c:718 filemap_read_folio+0xe5/0x2b0 mm/filemap.c:2385 filemap_create_folio mm/filemap.c:2513 [inline] filemap_get_pages+0xdd7/0x1820 mm/filemap.c:2566 filemap_read+0x3b3/0xd20 mm/filemap.c:2655 generic_file_read_iter+0x346/0x450 mm/filemap.c:2834 ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:744 call_read_iter include/linux/fs.h:1976 [inline] do_iter_readv_writev+0x2f2/0x3c0 fs/read_write.c:733 do_iter_read+0x315/0x870 fs/read_write.c:795 vfs_readv+0x12d/0x1a0 fs/read_write.c:915 do_preadv fs/read_write.c:1007 [inline] __do_sys_preadv fs/read_write.c:1057 [inline] __se_sys_preadv fs/read_write.c:1052 [inline] __x64_sys_preadv+0x228/0x300 fs/read_write.c:1052 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2692a7cae9 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:00007f269382d0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007f2692b9bf80 RCX: 00007f2692a7cae9 RDX: 0000000000000001 RSI: 00000000200015c0 RDI: 0000000000000004 RBP: 00007f269382d120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000000000000000b R14: 00007f2692b9bf80 R15: 00007fff8bdfcbb8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:245 [inline] RIP: 0010:unlock_page+0x25/0x130 mm/folio-compat.c:21 Code: 00 eb b9 66 90 f3 0f 1e fa 41 54 55 53 48 89 fb e8 30 0e cf ff 48 8d 7b 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e4 00 00 00 4c 8b 63 08 31 ff 4c 89 e5 83 e5 01 RSP: 0018:ffffc900153e7678 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000594a000 RDX: 0000000000000001 RSI: ffffffff81b8b950 RDI: 0000000000000008 RBP: 0000000000000001 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000085f28 R12: 0000000000000000 R13: ffff888062744b88 R14: ffffea00021ae080 R15: 0000000000000000 FS: 00007f269382d6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30929000 CR3: 000000001dc24000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: eb b9 jmp 0xffffffbb 2: 66 90 xchg %ax,%ax 4: f3 0f 1e fa endbr64 8: 41 54 push %r12 a: 55 push %rbp b: 53 push %rbx c: 48 89 fb mov %rdi,%rbx f: e8 30 0e cf ff call 0xffcf0e44 14: 48 8d 7b 08 lea 0x8(%rbx),%rdi 18: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1f: fc ff df 22: 48 89 fa mov %rdi,%rdx 25: 48 c1 ea 03 shr $0x3,%rdx * 29: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2d: 0f 85 e4 00 00 00 jne 0x117 33: 4c 8b 63 08 mov 0x8(%rbx),%r12 37: 31 ff xor %edi,%edi 39: 4c 89 e5 mov %r12,%rbp 3c: 83 e5 01 and $0x1,%ebp