1FILE: kernel/bpf/cpumap.c 2 3WARNING: CPU: 1 PID: 4183 at mm/util.c:403 kvmalloc_node+0xc3/0xd0 mm/util.c:403 4audit: type=1400 audit(1518457683.474:8): avc: denied { map_create } for pid=4183 comm="syzkaller238030" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 5Kernel panic - not syncing: panic_on_warn set ... 6 7CPU: 1 PID: 4183 Comm: syzkaller238030 Not tainted 4.16.0-rc1+ #12 8Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 9Call Trace: 10 __dump_stack lib/dump_stack.c:17 [inline] 11 dump_stack+0x194/0x257 lib/dump_stack.c:53 12audit: type=1400 audit(1518457683.474:9): avc: denied { map_read map_write } for pid=4183 comm="syzkaller238030" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=bpf permissive=1 13 panic+0x1e4/0x41c kernel/panic.c:183 14 __warn+0x1dc/0x200 kernel/panic.c:547 15 report_bug+0x211/0x2d0 lib/bug.c:184 16 fixup_bug.part.11+0x37/0x80 arch/x86/kernel/traps.c:178 17 fixup_bug arch/x86/kernel/traps.c:247 [inline] 18 do_error_trap+0x2d7/0x3e0 arch/x86/kernel/traps.c:296 19 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315 20 invalid_op+0x22/0x40 arch/x86/entry/entry_64.S:988 21RIP: 0010:kvmalloc_node+0xc3/0xd0 mm/util.c:403 22RSP: 0018:ffff8801b436f6e8 EFLAGS: 00010293 23RAX: ffff8801b1dd25c0 RBX: 0000000001088220 RCX: ffffffff81970ca3 24RDX: 0000000000000000 RSI: 0000000001088220 RDI: 0000000000000070 25RBP: ffff8801b436f708 R08: 0000000000000000 R09: 0000000000000000 26R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000070 27R13: 0000000000000000 R14: 00000000ffffffff R15: ffff8801d304cd00 28 kvmalloc include/linux/mm.h:541 [inline] 29 kvmalloc_array include/linux/mm.h:557 [inline] 30 __ptr_ring_init_queue_alloc include/linux/ptr_ring.h:474 [inline] 31 ptr_ring_init include/linux/ptr_ring.h:492 [inline] 32 __cpu_map_entry_alloc kernel/bpf/cpumap.c:359 [inline] 33 cpu_map_update_elem+0x3c3/0x8e0 kernel/bpf/cpumap.c:490 34 map_update_elem kernel/bpf/syscall.c:698 [inline] 35 SYSC_bpf kernel/bpf/syscall.c:1872 [inline] 36 SyS_bpf+0x215f/0x4860 kernel/bpf/syscall.c:1843 37 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 38 entry_SYSCALL_64_after_hwframe+0x26/0x9b 39RIP: 0033:0x43fda9 40RSP: 002b:00007ffe6b075798 EFLAGS: 00000203 ORIG_RAX: 0000000000000141 41RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 000000000043fda9 42RDX: 0000000000000020 RSI: 0000000020ef4fe0 RDI: 0000000000000002 43RBP: 00000000006ca018 R08: 0000000000000000 R09: 0000000000000000 44R10: 0000000000000000 R11: 0000000000000203 R12: 00000000004016d0 45R13: 0000000000401760 R14: 0000000000000000 R15: 0000000000000000 46