RSP: 002b:00007ffd40fc6638 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f5ed2eccc89 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007ffd40fc6640 R08: 0000000000000002 R09: 00007f5ed2003833 R10: 000000000000c049 R11: 0000000000000246 R12: 0000000000000006 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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: 4998 Comm: syz-executor102 Not tainted 6.4.0-rc6-syzkaller-00269-g1b29d271614a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 48 89 fd 53 e8 e0 bb d0 ff 48 8d 7d 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 65 08 31 ff 4c 89 e3 83 e3 01 RSP: 0018:ffffc90003a9f520 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff81b38b00 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888077793e08 R14: 0000000000000000 R15: 0000000000000000 FS: 00005555567d8300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005634a1d87b80 CR3: 0000000022975000 CR4: 0000000000350ee0 Call Trace: ni_readpage_cmpr+0x44a/0xcd0 fs/ntfs3/frecord.c:2149 ntfs_read_folio+0x101/0x1e0 fs/ntfs3/inode.c:716 filemap_read_folio+0xdb/0x2c0 mm/filemap.c:2427 filemap_create_folio mm/filemap.c:2555 [inline] filemap_get_pages+0x42a/0x1620 mm/filemap.c:2608 filemap_read+0x35e/0xc70 mm/filemap.c:2696 generic_file_read_iter+0x3ad/0x5b0 mm/filemap.c:2843 ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:744 call_read_iter include/linux/fs.h:1862 [inline] generic_file_splice_read+0x182/0x4b0 fs/splice.c:419 do_splice_to+0x1b9/0x240 fs/splice.c:902 splice_direct_to_actor+0x2ab/0x8a0 fs/splice.c:973 do_splice_direct+0x1ab/0x280 fs/splice.c:1082 do_sendfile+0xb19/0x12c0 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x1d0/0x210 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f5ed2eccc89 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd40fc6638 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f5ed2eccc89 RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000005 RBP: 00007ffd40fc6640 R08: 0000000000000002 R09: 00007f5ed2003833 R10: 000000000000c049 R11: 0000000000000246 R12: 0000000000000006 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 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 48 89 fd 53 e8 e0 bb d0 ff 48 8d 7d 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 65 08 31 ff 4c 89 e3 83 e3 01 RSP: 0018:ffffc90003a9f520 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff81b38b00 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff888077793e08 R14: 0000000000000000 R15: 0000000000000000 FS: 00005555567d8300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005634a1d84ee0 CR3: 0000000022975000 CR4: 0000000000350ee0 ---------------- 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: 48 89 fd mov %rdi,%rbp e: 53 push %rbx f: e8 e0 bb d0 ff callq 0xffd0bbf4 14: 48 8d 7d 08 lea 0x8(%rbp),%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 65 08 mov 0x8(%rbp),%r12 37: 31 ff xor %edi,%edi 39: 4c 89 e3 mov %r12,%rbx 3c: 83 e3 01 and $0x1,%ebx