general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 4127 Comm: syz-executor.4 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:PagePoisoned include/linux/page-flags.h:304 [inline] RIP: 0010:PageHead include/linux/page-flags.h:787 [inline] RIP: 0010:PageHeadHuge+0x1d/0x200 mm/hugetlb.c:1892 Code: ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 54 55 48 89 fd 53 e8 64 af b9 ff 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 a2 01 00 00 48 8b 5d 00 48 c7 c7 ff ff ff ff 48 RSP: 0018:ffffc90006a57ba0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffc90006a57d88 RCX: ffffc9000e36d000 RDX: 0000000000000000 RSI: ffffffff81c2e49c RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000008c07e R12: ffffc90006a57d98 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000883 FS: 00007f73e79c9700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f794a7ad0b0 CR3: 0000000077bf8000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: folio_test_hugetlb include/linux/page-flags.h:831 [inline] folio_file_page include/linux/pagemap.h:683 [inline] shmem_fault+0x27c/0x8a0 mm/shmem.c:2130 __do_fault+0x107/0x600 mm/memory.c:4191 do_read_fault mm/memory.c:4542 [inline] do_fault mm/memory.c:4671 [inline] handle_pte_fault mm/memory.c:4943 [inline] __handle_mm_fault+0x2184/0x3a40 mm/memory.c:5085 handle_mm_fault+0x1c8/0x780 mm/memory.c:5206 do_user_addr_fault+0x475/0x1210 arch/x86/mm/fault.c:1428 handle_page_fault arch/x86/mm/fault.c:1519 [inline] exc_page_fault+0x94/0x170 arch/x86/mm/fault.c:1575 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570 RIP: 0033:0x7f73e6827cf3 Code: 00 00 00 00 00 66 90 48 89 7c 24 f0 48 89 74 24 e8 48 89 54 24 e0 48 89 4c 24 d8 48 8b 4c 24 f0 48 8b 74 24 e8 4c 8b 44 24 e0 <8b> 81 0c 01 00 00 44 8b 89 08 01 00 00 48 8b 54 24 d8 c1 e0 04 8d RSP: 002b:00007f73e79c9158 EFLAGS: 00010216 RAX: 00007f73e6827cd0 RBX: 00007f73e69abf80 RCX: 0000000020883000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020883000 RBP: 00007f73e68e5560 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020883000 R11: 0000000000000000 R12: 0000000000000000 R13: 00007ffda272f8ff R14: 00007f73e79c9300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:PagePoisoned include/linux/page-flags.h:304 [inline] RIP: 0010:PageHead include/linux/page-flags.h:787 [inline] RIP: 0010:PageHeadHuge+0x1d/0x200 mm/hugetlb.c:1892 Code: ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 41 54 55 48 89 fd 53 e8 64 af b9 ff 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 a2 01 00 00 48 8b 5d 00 48 c7 c7 ff ff ff ff 48 RSP: 0018:ffffc90006a57ba0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffc90006a57d88 RCX: ffffc9000e36d000 RDX: 0000000000000000 RSI: ffffffff81c2e49c RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000008c07e R12: ffffc90006a57d98 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000883 FS: 00007f73e79c9700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000559985a77748 CR3: 0000000077bf8000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: ff 66 66 jmpq *0x66(%rsi) 3: 2e 0f 1f 84 00 00 00 nopl %cs:0x0(%rax,%rax,1) a: 00 00 c: 90 nop d: 41 54 push %r12 f: 55 push %rbp 10: 48 89 fd mov %rdi,%rbp 13: 53 push %rbx 14: e8 64 af b9 ff callq 0xffb9af7d 19: 48 89 ea mov %rbp,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 a2 01 00 00 jne 0x1d6 34: 48 8b 5d 00 mov 0x0(%rbp),%rbx 38: 48 c7 c7 ff ff ff ff mov $0xffffffffffffffff,%rdi 3f: 48 rex.W