general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 3 PID: 6202 Comm: syz-executor.1 Not tainted 6.4.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 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 90 b9 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:ffffc9002801f500 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000008 RCX: ffffc90003799000 RDX: 0000000000000001 RSI: ffffffff81b38fd0 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000030323654 R12: 0000000000000000 R13: ffff88804e667c88 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7ff1b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000c00c949000 CR3: 00000000523af000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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_compat_sys_sendfile fs/read_write.c:1343 [inline] __se_compat_sys_sendfile fs/read_write.c:1326 [inline] __ia32_compat_sys_sendfile+0x1e1/0x220 fs/read_write.c:1326 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x70/0x82 RIP: 0023:0xf7ff6579 Code: b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 00 00 00 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7ff15cc EFLAGS: 00000296 ORIG_RAX: 00000000000000bb RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000000005 RDX: 0000000000000000 RSI: 000000000001f600 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000000000 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 90 b9 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:ffffc9002801f500 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000008 RCX: ffffc90003799000 RDX: 0000000000000001 RSI: ffffffff81b38fd0 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000030323654 R12: 0000000000000000 R13: ffff88804e667c88 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7ff1b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000560f00 CR3: 00000000523af000 CR4: 0000000000350ee0 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: 48 89 fd mov %rdi,%rbp e: 53 push %rbx f: e8 90 b9 d0 ff callq 0xffd0b9a4 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