From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Borkmann Subject: Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf Date: Thu, 09 Mar 2017 23:11:17 +0100 Message-ID: <58C1D305.8090802@iogearbox.net> References: <58C152F1.9090004@iogearbox.net> <58C157E6.1010909@iogearbox.net> <58C19607.6000605@iogearbox.net> <58C19F67.3040509@iogearbox.net> <58C1C9DC.7070509@iogearbox.net> <20170309215547.jmdzznlkzaxwu2pf@pd.tnic> <20170309220732.ufqoqlawktsi2gao@pd.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Linus Torvalds , Thomas Gleixner , Kees Cook , Laura Abbott , Ingo Molnar , Peter Anvin , Fengguang Wu , Network Development , LKML , LKP , ast@fb.com, the arch/x86 maintainers , "David S. Miller" To: Borislav Petkov Return-path: In-Reply-To: <20170309220732.ufqoqlawktsi2gao@pd.tnic> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 03/09/2017 11:07 PM, Borislav Petkov wrote: > On Thu, Mar 09, 2017 at 10:55:47PM +0100, Borislav Petkov wrote: >> Can you make that: >> >> setup_clear_cpu_cap(X86_FEATURE_PGE); >> >> and see if it fixes your issue? > > Hmm, in reading the thread a bit more, that might not work. If I see it > correctly, lguest does > > clear_cpu_cap(&boot_cpu_data, X86_FEATURE_PGE); > > after the alternatives have run and static_cpu_has() sites have already > been patched so clearing that bit won't bring anything. Yeah, I just tried that out and it had no effect unfortunately, the static_cpu_has() was still 1.