==================================================================
BUG: KASAN: null-ptr-deref in instrument_atomic_read include/linux/instrumented.h:72 [inline]
BUG: KASAN: null-ptr-deref in atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline]
BUG: KASAN: null-ptr-deref in page_ref_count include/linux/page_ref.h:67 [inline]
BUG: KASAN: null-ptr-deref in folio_ref_count include/linux/page_ref.h:89 [inline]
BUG: KASAN: null-ptr-deref in folio_get include/linux/mm.h:1167 [inline]
BUG: KASAN: null-ptr-deref in hugetlb_fault+0x1423/0x23f0 mm/hugetlb.c:6112
Read of size 4 at addr 0000000000000034 by task syz-executor.4/8746

CPU: 0 PID: 8746 Comm: syz-executor.4 Not tainted 6.2.0-rc5-next-20230123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0xd1/0x138 lib/dump_stack.c:106
 kasan_report+0xc0/0xf0 mm/kasan/report.c:517
 check_region_inline mm/kasan/generic.c:183 [inline]
 kasan_check_range+0x141/0x190 mm/kasan/generic.c:189
 instrument_atomic_read include/linux/instrumented.h:72 [inline]
 atomic_read include/linux/atomic/atomic-instrumented.h:27 [inline]
 page_ref_count include/linux/page_ref.h:67 [inline]
 folio_ref_count include/linux/page_ref.h:89 [inline]
 folio_get include/linux/mm.h:1167 [inline]
 hugetlb_fault+0x1423/0x23f0 mm/hugetlb.c:6112
 follow_hugetlb_page+0x6ab/0x1e40 mm/hugetlb.c:6524
 __get_user_pages+0x29b/0xfc0 mm/gup.c:1125
 populate_vma_page_range+0x241/0x320 mm/gup.c:1526
 __mm_populate+0x105/0x3b0 mm/gup.c:1640
 do_mlock+0x370/0x6d0 mm/mlock.c:608
 __do_sys_mlock mm/mlock.c:616 [inline]
 __se_sys_mlock mm/mlock.c:614 [inline]
 __x64_sys_mlock+0x59/0x80 mm/mlock.c:614
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe702a8c0c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe703711168 EFLAGS: 00000246 ORIG_RAX: 0000000000000095
RAX: ffffffffffffffda RBX: 00007fe702babf80 RCX: 00007fe702a8c0c9
RDX: 0000000000000000 RSI: 0000000000004000 RDI: 00000000202c7000
RBP: 00007fe702ae7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fffacaf92cf R14: 00007fe703711300 R15: 0000000000022000
 </TASK>
==================================================================