From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [PATCH bpf-next 0/2] bpf: fix kernel page fault in lpm map trie_get_next_key Date: Fri, 26 Jan 2018 17:10:56 -0800 Message-ID: <20180127011054.xlet3kkjmm2nf6a2@ast-mbp> References: <20180126230608.2175374-1-yhs@fb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ast@fb.com, daniel@iogearbox.net, edumazet@google.com, netdev@vger.kernel.org, kernel-team@fb.com To: Yonghong Song Return-path: Received: from mail-pf0-f196.google.com ([209.85.192.196]:44308 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751676AbeA0BK7 (ORCPT ); Fri, 26 Jan 2018 20:10:59 -0500 Received: by mail-pf0-f196.google.com with SMTP id m26so1359746pfj.11 for ; Fri, 26 Jan 2018 17:10:59 -0800 (PST) Content-Disposition: inline In-Reply-To: <20180126230608.2175374-1-yhs@fb.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, Jan 26, 2018 at 03:06:06PM -0800, Yonghong Song wrote: > A kernel page fault which happens in lpm map trie_get_next_key is reported > by syzbot and Eric. The issue was introduced by commit b471f2f1de8b > ("bpf: implement MAP_GET_NEXT_KEY command for LPM_TRIE map"). > Patch #1 fixed the issue in the kernel and patch #2 adds a multithreaded > test case in tools/testing/selftests/bpf/test_lpm_map. Applied to bpf-next, thank you Yonghong!