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