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: 10700 Comm: syz-executor.1 Not tainted 6.6.0-rc6-syzkaller-00045-g7cf4bea77ab6 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:_compound_head include/linux/page-flags.h:247 [inline] RIP: 0010:unlock_page+0x25/0x130 mm/folio-compat.c:21 Code: 00 00 00 00 90 f3 0f 1e fa 41 54 55 53 48 89 fb e8 00 b0 ce 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:ffffc9000e28ec08 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90004a89000 RDX: 0000000000000001 RSI: ffffffff81b91a40 RDI: 0000000000000008 RBP: 0000000000000001 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000001 R11: 3030303030302052 R12: 0000000000000000 R13: ffff888026d59488 R14: ffffea0000aeaac0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c900000(0063) knlGS:00000000f7f78b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f72e32ee CR3: 0000000024f97000 CR4: 0000000000350ee0 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+0xe9/0x2c0 mm/filemap.c:2382 filemap_create_folio mm/filemap.c:2510 [inline] filemap_get_pages+0xdd8/0x1830 mm/filemap.c:2563 filemap_read+0x39b/0xcf0 mm/filemap.c:2652 generic_file_read_iter+0x346/0x450 mm/filemap.c:2831 ntfs_file_read_iter+0x1b8/0x270 fs/ntfs3/file.c:744 __kernel_read+0x301/0x8a0 fs/read_write.c:428 integrity_kernel_read+0x7f/0xb0 security/integrity/iint.c:195 ima_calc_file_hash_tfm+0x2c5/0x3d0 security/integrity/ima/ima_crypto.c:485 ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline] ima_calc_file_hash+0x1c6/0x4a0 security/integrity/ima/ima_crypto.c:573 ima_collect_measurement+0x5e2/0x6f0 security/integrity/ima/ima_api.c:289 process_measurement+0xc87/0x1cc0 security/integrity/ima/ima_main.c:345 ima_file_check+0xc2/0x110 security/integrity/ima/ima_main.c:543 do_open fs/namei.c:3641 [inline] path_openat+0x17a1/0x29c0 fs/namei.c:3796 do_filp_open+0x1de/0x430 fs/namei.c:3823 do_sys_openat2+0x176/0x1e0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_compat_sys_open fs/open.c:1488 [inline] __se_compat_sys_open fs/open.c:1486 [inline] __ia32_compat_sys_open+0x147/0x1d0 fs/open.c:1486 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x61/0xe0 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:0xf7f7d579 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:00000000f7f785ac EFLAGS: 00000292 ORIG_RAX: 0000000000000005 RAX: ffffffffffffffda RBX: 0000000020000100 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:_compound_head include/linux/page-flags.h:247 [inline] RIP: 0010:unlock_page+0x25/0x130 mm/folio-compat.c:21 Code: 00 00 00 00 90 f3 0f 1e fa 41 54 55 53 48 89 fb e8 00 b0 ce 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:ffffc9000e28ec08 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90004a89000 RDX: 0000000000000001 RSI: ffffffff81b91a40 RDI: 0000000000000008 RBP: 0000000000000001 R08: 0000000000000004 R09: 0000000000000000 R10: 0000000000000001 R11: 3030303030302052 R12: 0000000000000000 R13: ffff888026d59488 R14: ffffea0000aeaac0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c800000(0063) knlGS:00000000f7f78b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000001 CR3: 0000000024f97000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 00 add %al,(%rax) 4: 90 nop 5: f3 0f 1e fa endbr64 9: 41 54 push %r12 b: 55 push %rbp c: 53 push %rbx d: 48 89 fb mov %rdi,%rbx 10: e8 00 b0 ce ff call 0xffceb015 15: 48 8d 7b 08 lea 0x8(%rbx),%rdi 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 e4 00 00 00 jne 0x118 34: 4c 8b 63 08 mov 0x8(%rbx),%r12 38: 31 ff xor %edi,%edi 3a: 4c 89 e5 mov %r12,%rbp 3d: 83 e5 01 and $0x1,%ebp