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:00007f30aab65c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f30aab65c90 RCX: 000000000045a919 RDX: 000000000000003c RSI: 0000000020000040 RDI: 405a020000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f30aab666d4 R13: 00000000004c0efb R14: 00000000004d4b50 R15: 0000000000000006 ================================================================== 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 30848 at addr ffffe8fffee00000 by task syz-executor.0/19359 CPU: 1 PID: 19359 Comm: syz-executor.0 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 prealloc_init kernel/bpf/hashtab.c:154 [inline] htab_map_alloc+0xdb9/0x11c0 kernel/bpf/hashtab.c:378 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:00007f30aab65c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f30aab65c90 RCX: 000000000045a919 RDX: 000000000000003c RSI: 0000000020000040 RDI: 405a020000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f30aab666d4 R13: 00000000004c0efb R14: 00000000004d4b50 R15: 0000000000000006 Memory state around the buggy address: BUG: unable to handle page fault for address: fffff91fffdbffe0 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 21ffe6067 P4D 21ffe6067 PUD aa56c067 PMD 9f484067 PTE 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 19359 Comm: syz-executor.0 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:ffffc9000ccef990 EFLAGS: 00010082 RAX: ffffc9000ccef99c RBX: fffff91fffdbffe0 RCX: 0000000000000010 RDX: 0000000000000010 RSI: fffff91fffdbffe0 RDI: ffffc9000ccef99c RBP: ffffc9000ccef9f0 R08: ffff8880a0592380 R09: fffff5200199df38 R10: fffff5200199df37 R11: ffffc9000ccef9be R12: fffff91fffdc0000 R13: 0000200000000000 R14: 00000000fffffffe R15: ffff88821fffd100 FS: 00007f30aab66700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff91fffdbffe0 CR3: 0000000090a16000 CR4: 00000000001406e0 DR0: 0000000020000380 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 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 prealloc_init kernel/bpf/hashtab.c:154 [inline] htab_map_alloc+0xdb9/0x11c0 kernel/bpf/hashtab.c:378 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:00007f30aab65c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f30aab65c90 RCX: 000000000045a919 RDX: 000000000000003c RSI: 0000000020000040 RDI: 405a020000000000 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f30aab666d4 R13: 00000000004c0efb R14: 00000000004d4b50 R15: 0000000000000006 Modules linked in: CR2: fffff91fffdbffe0 ---[ end trace 317f7d27a740d9dc ]--- 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:ffffc9000ccef990 EFLAGS: 00010082 RAX: ffffc9000ccef99c RBX: fffff91fffdbffe0 RCX: 0000000000000010 RDX: 0000000000000010 RSI: fffff91fffdbffe0 RDI: ffffc9000ccef99c RBP: ffffc9000ccef9f0 R08: ffff8880a0592380 R09: fffff5200199df38 R10: fffff5200199df37 R11: ffffc9000ccef9be R12: fffff91fffdc0000 R13: 0000200000000000 R14: 00000000fffffffe R15: ffff88821fffd100 FS: 00007f30aab66700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffff91fffdbffe0 CR3: 0000000090a16000 CR4: 00000000001406e0 DR0: 0000000020000380 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600