general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 4601 Comm: syz-executor.2 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/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:ffffc9000385fba0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffc9000385fd88 RCX: ffffc9000c804000 RDX: 0000000000000000 RSI: ffffffff81c2e49c RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffc9000385fd98 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000031e FS: 00007fd5da019700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f224000 CR3: 0000000074657000 CR4: 00000000003506f0 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_shared_fault mm/memory.c:4597 [inline] do_fault mm/memory.c:4675 [inline] handle_pte_fault mm/memory.c:4943 [inline] __handle_mm_fault+0x2200/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:0x7fd5d8e27d2a Code: 48 8b 54 24 d8 c1 e0 04 8d b8 7f 01 00 00 83 e7 c0 45 85 c9 74 07 89 d0 31 d2 41 f7 f1 f3 41 0f 6f 00 89 d0 c1 e0 06 48 01 c6 <0f> 11 06 f3 41 0f 6f 48 10 0f 11 4e 10 f3 41 0f 6f 50 20 0f 11 56 RSP: 002b:00007fd5da019158 EFLAGS: 00010206 RAX: 0000000000000000 RBX: 00007fd5d8fac050 RCX: 0000000020ee7000 RDX: 0000000000000000 RSI: 000000002031e000 RDI: 0000000000100140 RBP: 00007fd5d8ee5580 R08: 0000000020000500 R09: 0000000000008000 R10: 0000000020ee7000 R11: 0000000020000500 R12: 0000000000000000 R13: 00007ffc0788371f R14: 00007fd5da019300 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:ffffc9000385fba0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffffc9000385fd88 RCX: ffffc9000c804000 RDX: 0000000000000000 RSI: ffffffff81c2e49c RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffc9000385fd98 R13: 0000000000000000 R14: 0000000000000000 R15: 000000000000031e FS: 00007fd5da019700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f326000 CR3: 0000000074657000 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