Re: "bad pmd" errors + oops with KPTI on 4.14.11 after loading X.509 certs

From: Benjamin Gilbert
Date: Wed Jan 03 2018 - 23:35:28 EST


On Wed, Jan 03, 2018 at 04:37:53PM -0800, Andy Lutomirski wrote:
> Maybe try rebuilding a bad kernel with free_ldt_pgtables() modified
> to do nothing, and the read /sys/kernel/debug/page_tables/current (or
> current_kernel, or whatever it's called). The problem may be obvious.

current_kernel attached. I have not seen any crashes with
free_ldt_pgtables() stubbed out.

--Benjamin Gilbert

Attachment: current_kernel.gz
Description: application/gzip