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:00007f3d2a790c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f3d2a790c90 RCX: 000000000045a919 RDX: 000000000000003c RSI: 0000000020000080 RDI: 0c00000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3d2a7916d4 R13: 00000000004c0efb R14: 00000000004d4a90 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 ffffe8ffffa00000 by task syz-executor.2/5799 CPU: 0 PID: 5799 Comm: syz-executor.2 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:00007f3d2a790c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f3d2a790c90 RCX: 000000000045a919 RDX: 000000000000003c RSI: 0000000020000080 RDI: 0c00000000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3d2a7916d4 R13: 00000000004c0efb R14: 00000000004d4a90 R15: 0000000000000003 Memory state around the buggy address: ffffe8ffff9fff00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffffe8ffff9fff80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffffe8ffffa00000: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ^ ffffe8ffffa00080: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ffffe8ffffa00100: f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 f9 ==================================================================