Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 7388 Comm: syz.1.456 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:__pcpu_freelist_pop+0x6b7/0x8c0
Code: 10 48 3b 8c 24 80 00 00 00 0f 85 b4 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 81 3a 9a 09 cc 48 89 f8 48 c1 e8 03 <80> 3c 18 00 48 89 7c 24 20 74 0a e8 69 3f 41 00 48 8b 7c 24 20 48
RSP: 0018:ffffc90009396260 EFLAGS: 00010046
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffe8ffffc3bac8
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc90009396330 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001272c58 R12: 1ffffd1ffff87758
R13: ffffe8ffffc3bac0 R14: 0000000000000001 R15: 0000000000000000
FS:  0000200000000240(0000) GS:ffff8881a3c1c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4c70c11e19 CR3: 0000000110a7e000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 <TASK>
 pcpu_freelist_pop+0xca/0x170
 __bpf_get_stackid+0x574/0xcf0
 bpf_get_stackid_raw_tp+0x196/0x210
 bpf_prog_12712c88fd19bd5b+0x2a/0x32
 bpf_trace_run4+0x28e/0x4a0
 trace_mm_page_alloc+0x129/0x150
 __alloc_frozen_pages_noprof+0x1d6/0x370
 alloc_pages_mpol+0x232/0x4a0
 folio_alloc_mpol_noprof+0x39/0x70
 shmem_alloc_and_add_folio+0x447/0xf60
 shmem_get_folio_gfp+0x59d/0x1660
 shmem_write_begin+0xf7/0x2b0
 generic_perform_write+0x2c5/0x900
 shmem_file_write_iter+0xf8/0x120
 __kernel_write_iter+0x428/0x910
 dump_user_range+0x8a0/0xc90
 elf_core_dump+0x337b/0x3990
 coredump_write+0x1169/0x1900
 vfs_coredump+0x1a4b/0x2ab0
 get_signal+0x1109/0x1340
 arch_do_signal_or_restart+0x9a/0x750
 irqentry_exit_to_user_mode+0x81/0x120
 exc_general_protection+0x171/0x200
 asm_exc_general_protection+0x26/0x30
RIP: 0033:0x7f4c70b8ebf1
Code: 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 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f
RSP: 002b:00002000000000d0 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f4c70db5fa0 RCX: 00007f4c70b8ebe9
RDX: 0000200000000140 RSI: 00002000000000d0 RDI: 0000000000082080
RBP: 00007f4c70c11e19 R08: 0000200000000240 R09: 0000200000000240
R10: 0000200000000200 R11: 0000000000000202 R12: 0000000000000000
R13: 00007f4c70db6038 R14: 00007f4c70db5fa0 R15: 00007fff549b2f58
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__pcpu_freelist_pop+0x6b7/0x8c0
Code: 10 48 3b 8c 24 80 00 00 00 0f 85 b4 01 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d e9 81 3a 9a 09 cc 48 89 f8 48 c1 e8 03 <80> 3c 18 00 48 89 7c 24 20 74 0a e8 69 3f 41 00 48 8b 7c 24 20 48
RSP: 0018:ffffc90009396260 EFLAGS: 00010046
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffffe8ffffc3bac8
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc90009396330 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff52001272c58 R12: 1ffffd1ffff87758
R13: ffffe8ffffc3bac0 R14: 0000000000000001 R15: 0000000000000000
FS:  0000200000000240(0000) GS:ffff8881a3c1c000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4c70c11e19 CR3: 0000000110a7e000 CR4: 00000000000006f0
DR0: 0000200000000300 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
