BUG: kernel NULL pointer dereference, address: 0000000000000003 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 8000000050e6d067 P4D 8000000050e6d067 PUD 0 Oops: Oops: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 9261 Comm: syz.3.1398 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 RIP: 0010:__alloc_frozen_pages_noprof+0x185/0x450 mm/page_alloc.c:5540 Code: 74 24 3c 8b 05 5c 6d 2b 0e 89 44 24 2c 48 8d 44 24 38 4c 8d 4c 24 3c 44 89 f7 89 de 8b 54 24 20 48 8b 4c 24 30 4d 89 f8 50 e8 d3 ff ff 48 83 c4 08 84 c0 0f 84 f1 00 00 00 83 7c 24 1c 00 75 RSP: 0018:ffffc900025df178 EFLAGS: 00010282 RAX: 1ffff920004bbe01 RBX: 0000000000000002 RCX: 0000000000000002 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffffc900025df200 RBP: ffffc900025df290 R08: ffffffff823dc44c R09: 0000000000000000 R10: ffffc900025df1e0 R11: fffff520004bbe42 R12: 1ffff920004bbe38 R13: dffffc0000000000 R14: 0000000000152c40 R15: ffffc900025df1e0 FS: 00007f24a4f376c0(0000) GS:ffff888122ff0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000003 CR3: 000000005cdf8000 CR4: 00000000003526f0 Call Trace: alloc_pages_mpol+0x21e/0x390 mm/mempolicy.c:2587 alloc_frozen_pages_noprof mm/mempolicy.c:2658 [inline] alloc_pages_noprof+0xb1/0x2b0 mm/mempolicy.c:2678 folio_alloc_noprof+0x1e/0x30 mm/mempolicy.c:2688 filemap_alloc_folio_noprof+0x111/0x460 mm/filemap.c:1020 ractl_alloc_folio mm/readahead.c:200 [inline] ra_alloc_folio mm/readahead.c:463 [inline] page_cache_ra_order+0x560/0xf00 mm/readahead.c:535 do_async_mmap_readahead mm/filemap.c:3511 [inline] filemap_fault+0x606/0x12c0 mm/filemap.c:3610 __do_fault+0x139/0x410 mm/memory.c:5719 do_shared_fault mm/memory.c:6259 [inline] do_fault mm/memory.c:6333 [inline] do_pte_missing+0x612/0x34d0 mm/memory.c:4800 handle_pte_fault mm/memory.c:6748 [inline] __handle_mm_fault mm/memory.c:6900 [inline] handle_mm_fault+0x1807/0x2f80 mm/memory.c:7067 do_user_addr_fault+0x7f6/0x1480 arch/x86/mm/fault.c:1394 handle_page_fault arch/x86/mm/fault.c:1483 [inline] exc_page_fault+0x6a/0xc0 arch/x86/mm/fault.c:1536 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:595 RIP: 0010:rep_movs_alternative+0x4a/0xa0 arch/x86/lib/copy_user_64.S:74 Code: cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 48 8b 06 48 89 07 48 83 c6 08 48 83 c7 08 83 e9 08 74 db 83 f9 08 73 e8 eb c5 a4 e9 bf 75 04 00 48 8b 06 48 89 07 48 8d 47 08 48 83 e0 f8 48 RSP: 0018:ffffc900025dfb48 EFLAGS: 00050206 RAX: ffffffff850f8801 RBX: 0000000000001000 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffff888079d4cf00 RDI: 0000200000138000 RBP: ffffc900025dfc90 R08: ffff888079d4cfff R09: 1ffff1100f3a99ff R10: dffffc0000000000 R11: ffffed100f3a9a00 R12: 0000200000138100 R13: 00007ffffffff000 R14: ffff888079d4c000 R15: 0000200000137100 copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline] _inline_copy_to_user include/linux/uaccess.h:202 [inline] _copy_to_user+0x8a/0xb0 lib/usercopy.c:24 copy_to_user include/linux/uaccess.h:230 [inline] pagemap_read+0x4dc/0x7c0 fs/proc/task_mmu.c:2277 vfs_read+0x213/0xa80 fs/read_write.c:557 ksys_pread64 fs/read_write.c:1459 [inline] __do_sys_pread64 fs/read_write.c:1467 [inline] __se_sys_pread64 fs/read_write.c:1464 [inline] __x64_sys_pread64+0x210/0x2c0 fs/read_write.c:1464 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x00007f24a3fa9b59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f24a4f37028 EFLAGS: 00000246 ORIG_RAX: 0000000000000011 RAX: ffffffffffffffda RBX: 00007f24a4236098 RCX: 00007f24a3fa9b59 RDX: 0000000000200000 RSI: 0000200000000400 RDI: 0000000000000003 RBP: 00007f24a403a18b R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000300 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f24a4236130 R14: 00007f24a4236098 R15: 00007ffdd78da048 Modules linked in: CR2: 0000000000000003 ---[ end trace 0000000000000000 ]--- RIP: 0010:__alloc_frozen_pages_noprof+0x185/0x450 mm/page_alloc.c:5540 Code: 74 24 3c 8b 05 5c 6d 2b 0e 89 44 24 2c 48 8d 44 24 38 4c 8d 4c 24 3c 44 89 f7 89 de 8b 54 24 20 48 8b 4c 24 30 4d 89 f8 50 e8 d3 ff ff 48 83 c4 08 84 c0 0f 84 f1 00 00 00 83 7c 24 1c 00 75 RSP: 0018:ffffc900025df178 EFLAGS: 00010282 RAX: 1ffff920004bbe01 RBX: 0000000000000002 RCX: 0000000000000002 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: ffffc900025df200 RBP: ffffc900025df290 R08: ffffffff823dc44c R09: 0000000000000000 R10: ffffc900025df1e0 R11: fffff520004bbe42 R12: 1ffff920004bbe38 R13: dffffc0000000000 R14: 0000000000152c40 R15: ffffc900025df1e0 FS: 00007f24a4f376c0(0000) GS:ffff888122ff0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000003 CR3: 000000005cdf8000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: cc int3 1: cc int3 2: cc int3 3: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) a: 00 00 00 d: 0f 1f 00 nopl (%rax) 10: 48 8b 06 mov (%rsi),%rax 13: 48 89 07 mov %rax,(%rdi) 16: 48 83 c6 08 add $0x8,%rsi 1a: 48 83 c7 08 add $0x8,%rdi 1e: 83 e9 08 sub $0x8,%ecx 21: 74 db je 0xfffffffe 23: 83 f9 08 cmp $0x8,%ecx 26: 73 e8 jae 0x10 28: eb c5 jmp 0xffffffef * 2a: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) <-- trapping instruction 2c: e9 bf 75 04 00 jmp 0x475f0 31: 48 8b 06 mov (%rsi),%rax 34: 48 89 07 mov %rax,(%rdi) 37: 48 8d 47 08 lea 0x8(%rdi),%rax 3b: 48 83 e0 f8 and $0xfffffffffffffff8,%rax 3f: 48 rex.W