BUG: unable to handle page fault for address: fffffffffffffffc #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD b68f067 P4D b68f067 PUD b691067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 16242 Comm: syz-executor.1 Not tainted 5.14.0-rc5-next-20210811-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add include/linux/list.h:71 [inline] RIP: 0010:list_add include/linux/list.h:86 [inline] RIP: 0010:alloc_huge_page+0xdcb/0x11b0 mm/hugetlb.c:2821 Code: 00 0f 85 6b 03 00 00 48 89 ce 48 89 4a 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ee 03 80 3c 06 00 0f 85 2b 03 00 00 49 8d 7e 10 <49> 89 56 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 RSP: 0018:ffffc90004b5f9b8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: fffffffffffffffc RDX: ffffea0005218008 RSI: 1fffffffffffffff RDI: 0000000000000004 RBP: ffff88807b231e70 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff81b6fe41 R11: 0000000000000000 R12: ffffffff9024ca70 R13: 0000000000000001 R14: fffffffffffffff4 R15: ffffffff9024cb48 FS: 00007f23c2224700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffc CR3: 0000000019c95000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hugetlb_cow+0x42a/0x1810 mm/hugetlb.c:4665 hugetlb_fault+0x15d3/0x2500 mm/hugetlb.c:5171 handle_mm_fault+0x661/0x790 mm/memory.c:4791 do_user_addr_fault+0x48b/0x11c0 arch/x86/mm/fault.c:1390 handle_page_fault arch/x86/mm/fault.c:1475 [inline] exc_page_fault+0x9e/0x180 arch/x86/mm/fault.c:1531 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0010:copy_user_generic_unrolled+0xa0/0xc0 arch/x86/lib/copy_user_64.S:101 Code: 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 4c 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a 06 <88> 07 48 ff c6 48 ff c7 ff c9 75 f2 31 c0 0f 1f 00 c3 66 66 2e 0f RSP: 0018:ffffc90004b5fea0 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000004 RCX: 0000000000000004 RDX: 0000000000000004 RSI: ffff88801ecbd000 RDI: 0000000020000880 RBP: 0000000020000880 R08: 0000000000000000 R09: ffff88801ecbd003 R10: ffffed1003d97a00 R11: 0000000000000000 R12: 0000000020000884 R13: ffff88801ecbd000 R14: 0000000000000000 R15: 0000000020000880 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline] _copy_to_user lib/usercopy.c:33 [inline] _copy_to_user+0xd4/0x150 lib/usercopy.c:26 copy_to_user include/linux/uaccess.h:200 [inline] __do_sys_mincore+0x347/0x7c0 mm/mincore.c:270 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f23c2224188 EFLAGS: 00000246 ORIG_RAX: 000000000000001b RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 0000000020000880 RSI: 0000000000004000 RDI: 000000002005c000 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffdd0c7748f R14: 00007f23c2224300 R15: 0000000000022000 Modules linked in: CR2: fffffffffffffffc ---[ end trace f256bedf3615a7c4 ]--- RIP: 0010:__list_add include/linux/list.h:71 [inline] RIP: 0010:list_add include/linux/list.h:86 [inline] RIP: 0010:alloc_huge_page+0xdcb/0x11b0 mm/hugetlb.c:2821 Code: 00 0f 85 6b 03 00 00 48 89 ce 48 89 4a 08 48 b8 00 00 00 00 00 fc ff df 48 c1 ee 03 80 3c 06 00 0f 85 2b 03 00 00 49 8d 7e 10 <49> 89 56 08 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 RSP: 0018:ffffc90004b5f9b8 EFLAGS: 00010046 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: fffffffffffffffc RDX: ffffea0005218008 RSI: 1fffffffffffffff RDI: 0000000000000004 RBP: ffff88807b231e70 R08: 0000000000000001 R09: 0000000000000001 R10: ffffffff81b6fe41 R11: 0000000000000000 R12: ffffffff9024ca70 R13: 0000000000000001 R14: fffffffffffffff4 R15: ffffffff9024cb48 FS: 00007f23c2224700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffffc CR3: 0000000019c95000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400