kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 4221 Comm: kworker/1:2 Not tainted 4.15.0-rc7+ #192 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events bpf_map_free_deferred RIP: 0010:__bpf_map_put+0x64/0x2e0 kernel/bpf/syscall.c:233 RSP: 0018:ffff8801ccc9f458 EFLAGS: 00010293 RAX: ffff8801cd2e4440 RBX: 9d60023600004fd2 RCX: ffffffff817dfcb4 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 9d60023600004fd2 RBP: ffff8801ccc9f4e8 R08: 1ffff10039993e6a R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 1ffff10039993e8c R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f69885c0db8 CR3: 0000000006822006 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_map_put+0x1a/0x20 kernel/bpf/syscall.c:243 bpf_map_fd_put_ptr+0x15/0x20 kernel/bpf/map_in_map.c:96 fd_array_map_delete_elem kernel/bpf/arraymap.c:420 [inline] bpf_fd_array_map_clear kernel/bpf/arraymap.c:461 [inline] array_of_map_free+0x100/0x180 kernel/bpf/arraymap.c:618 bpf_map_free_deferred+0xb0/0xe0 kernel/bpf/syscall.c:217 process_one_work+0xbbf/0x1b10 kernel/workqueue.c:2112 worker_thread+0x223/0x1990 kernel/workqueue.c:2246 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524 Code: b5 41 48 c7 45 80 25 45 59 86 48 c7 45 88 50 fc 7d 81 c7 00 f1 f1 f1 f1 c7 40 04 00 f2 f2 f2 c7 40 08 f3 f3 f3 f3 e8 4c 21 f2 ff ff 4b 48 74 2f e8 41 21 f2 ff 48 b8 00 00 00 00 00 fc ff df RIP: __bpf_map_put+0x64/0x2e0 kernel/bpf/syscall.c:233 RSP: ffff8801ccc9f458 general protection fault: 0000 [#2] SMP KASAN ---[ end trace 99838bf9a86c244a ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 1451 Comm: kworker/0:2 Tainted: G D 4.15.0-rc7+ #192 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events bpf_map_free_deferred RIP: 0010:__bpf_map_put+0x64/0x2e0 kernel/bpf/syscall.c:233 RSP: 0018:ffff8801d3a1f458 EFLAGS: 00010293 RAX: ffff8801d3a0e300 RBX: 9d60023600004fc9 RCX: ffffffff817dfcb4 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 9d60023600004fc9 RBP: ffff8801d3a1f4e8 R08: ffff8801d3a1f228 R09: ffff8801d3a0e300 R10: 00000000eb29be6d R11: 00000000a9cfc5dc R12: 1ffff1003a743e8c R13: dffffc0000000000 R14: dffffc0000000000 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffffb8c0dfc CR3: 0000000006822004 CR4: 00000000001606f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bpf_map_put+0x1a/0x20 kernel/bpf/syscall.c:243 bpf_map_fd_put_ptr+0x15/0x20 kernel/bpf/map_in_map.c:96 fd_array_map_delete_elem kernel/bpf/arraymap.c:420 [inline] bpf_fd_array_map_clear kernel/bpf/arraymap.c:461 [inline] array_of_map_free+0x100/0x180 kernel/bpf/arraymap.c:618 bpf_map_free_deferred+0xb0/0xe0 kernel/bpf/syscall.c:217 process_one_work+0xbbf/0x1b10 kernel/workqueue.c:2112 worker_thread+0x223/0x1990 kernel/workqueue.c:2246 kthread+0x33c/0x400 kernel/kthread.c:238 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:524 Code: b5 41 48 c7 45 80 25 45 59 86 48 c7 45 88 50 fc 7d 81 c7 00 f1 f1 f1 f1 c7 40 04 00 f2 f2 f2 c7 40 08 f3 f3 f3 f3 e8 4c 21 f2 ff ff 4b 48 74 2f e8 41 21 f2 ff 48 b8 00 00 00 00 00 fc ff df RIP: __bpf_map_put+0x64/0x2e0 kernel/bpf/syscall.c:233 RSP: ffff8801d3a1f458 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..