Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f618241ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f618241ec90 RCX: 000000000045a919 RDX: 0000000000000379 RSI: 0000000020000080 RDI: 0c00000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f618241f6d4 R13: 00000000004c0efb R14: 00000000004d4b50 R15: 0000000000000003 ================================================================== BUG: KASAN: vmalloc-out-of-bounds in memset include/linux/string.h:365 [inline] BUG: KASAN: vmalloc-out-of-bounds in pcpu_alloc+0x589/0x1380 mm/percpu.c:1734 Write of size 32768 at addr ffffe8ffff800000 by task syz-executor.4/12741 CPU: 1 PID: 12741 Comm: syz-executor.4 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 print_address_description.constprop.0.cold+0x5/0x30b mm/kasan/report.c:374 __kasan_report.cold+0x1b/0x41 mm/kasan/report.c:506 kasan_report+0x12/0x20 mm/kasan/common.c:639 check_memory_region_inline mm/kasan/generic.c:185 [inline] check_memory_region+0x134/0x1a0 mm/kasan/generic.c:192 memset+0x24/0x40 mm/kasan/common.c:108 memset include/linux/string.h:365 [inline] pcpu_alloc+0x589/0x1380 mm/percpu.c:1734 __alloc_percpu_gfp+0x28/0x30 mm/percpu.c:1783 bpf_array_alloc_percpu kernel/bpf/arraymap.c:35 [inline] array_map_alloc+0x698/0x7d0 kernel/bpf/arraymap.c:159 find_and_alloc_map kernel/bpf/syscall.c:124 [inline] map_create kernel/bpf/syscall.c:655 [inline] __do_sys_bpf+0x478/0x3610 kernel/bpf/syscall.c:3055 __se_sys_bpf kernel/bpf/syscall.c:3032 [inline] __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:3032 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a919 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f618241ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f618241ec90 RCX: 000000000045a919 RDX: 0000000000000379 RSI: 0000000020000080 RDI: 0c00000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f618241f6d4 R13: 00000000004c0efb R14: 00000000004d4b50 R15: 0000000000000003 Memory state around the buggy address: BUG: unable to handle page fault for address: fffff91fffefffe0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 21ffe6067 P4D 21ffe6067 PUD aa56c067 PMD aa56d067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12741 Comm: syz-executor.4 Not tainted 5.5.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:56 Code: cc cc cc cc eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe RSP: 0018:ffffc90001c37990 EFLAGS: 00010082 RAX: ffffc90001c3799c RBX: fffff91fffefffe0 RCX: 0000000000000010 RDX: 0000000000000010 RSI: fffff91fffefffe0 RDI: ffffc90001c3799c RBP: ffffc90001c379f0 R08: ffff8880906105c0 R09: fffff52000386f38 R10: fffff52000386f37 R11: ffffc90001c379be R12: fffff91ffff00000 R13: 0000200000000000 R14: 00000000fffffffe R15: ffff88821fffd100 FS: 00007f618241f700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff91fffefffe0 CR3: 0000000097095000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __kasan_report.cold+0x30/0x41 mm/kasan/report.c:508 kasan_report+0x12/0x20 mm/kasan/common.c:639 check_memory_region_inline mm/kasan/generic.c:185 [inline] check_memory_region+0x134/0x1a0 mm/kasan/generic.c:192 memset+0x24/0x40 mm/kasan/common.c:108 memset include/linux/string.h:365 [inline] pcpu_alloc+0x589/0x1380 mm/percpu.c:1734 __alloc_percpu_gfp+0x28/0x30 mm/percpu.c:1783 bpf_array_alloc_percpu kernel/bpf/arraymap.c:35 [inline] array_map_alloc+0x698/0x7d0 kernel/bpf/arraymap.c:159 find_and_alloc_map kernel/bpf/syscall.c:124 [inline] map_create kernel/bpf/syscall.c:655 [inline] __do_sys_bpf+0x478/0x3610 kernel/bpf/syscall.c:3055 __se_sys_bpf kernel/bpf/syscall.c:3032 [inline] __x64_sys_bpf+0x73/0xb0 kernel/bpf/syscall.c:3032 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a919 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f618241ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f618241ec90 RCX: 000000000045a919 RDX: 0000000000000379 RSI: 0000000020000080 RDI: 0c00000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f618241f6d4 R13: 00000000004c0efb R14: 00000000004d4b50 R15: 0000000000000003 Modules linked in: CR2: fffff91fffefffe0 ---[ end trace 6beae10c1c1e8167 ]--- RIP: 0010:memcpy_erms+0x6/0x10 arch/x86/lib/memcpy_64.S:56 Code: cc cc cc cc eb 1e 0f 1f 00 48 89 f8 48 89 d1 48 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 c3 66 0f 1f 44 00 00 48 89 f8 48 89 d1 a4 c3 0f 1f 80 00 00 00 00 48 89 f8 48 83 fa 20 72 7e 40 38 fe RSP: 0018:ffffc90001c37990 EFLAGS: 00010082 RAX: ffffc90001c3799c RBX: fffff91fffefffe0 RCX: 0000000000000010 RDX: 0000000000000010 RSI: fffff91fffefffe0 RDI: ffffc90001c3799c RBP: ffffc90001c379f0 R08: ffff8880906105c0 R09: fffff52000386f38 R10: fffff52000386f37 R11: ffffc90001c379be R12: fffff91ffff00000 R13: 0000200000000000 R14: 00000000fffffffe R15: ffff88821fffd100 FS: 00007f618241f700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff91fffefffe0 CR3: 0000000097095000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400