Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753068AbdGKAbC (ORCPT ); Mon, 10 Jul 2017 20:31:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:53560 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750923AbdGKAbA (ORCPT ); Mon, 10 Jul 2017 20:31:00 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E9DD422C99 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org MIME-Version: 1.0 In-Reply-To: <20170710212403.7ycczkhhki3vrgac@node.shutemov.name> References: <75acbed7-6a08-692f-61b5-2b44f66ec0d8@virtuozzo.com> <20170710123346.7y3jnftqgpingim3@node.shutemov.name> <20170710141713.7aox3edx6o7lrrie@node.shutemov.name> <03A6D7ED-300C-4431-9EB5-67C7A3EA4A2E@amacapital.net> <20170710184704.realchrhzpblqqlk@node.shutemov.name> <20170710212403.7ycczkhhki3vrgac@node.shutemov.name> From: Andy Lutomirski Date: Mon, 10 Jul 2017 17:30:38 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: KASAN vs. boot-time switching between 4- and 5-level paging To: "Kirill A. Shutemov" Cc: Andy Lutomirski , Dmitry Vyukov , Andrey Ryabinin , Alexander Potapenko , "Kirill A. Shutemov" , Linus Torvalds , Andrew Morton , "x86@kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andi Kleen , Dave Hansen , linux-arch , "linux-mm@kvack.org" , LKML , kasan-dev Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 611 Lines: 16 On Mon, Jul 10, 2017 at 2:24 PM, Kirill A. Shutemov wrote: > On Mon, Jul 10, 2017 at 01:07:13PM -0700, Andy Lutomirski wrote: >> Can you give the disassembly of the backtrace lines? Blaming the >> .endr doesn't make much sense to me. > > I don't have backtrace. It's before printk() is functional. I only see > triple fault and reboot. > > I had to rely on qemu tracing and gdb. Can you ask GDB or objtool to disassemble around those addresses? Can you also attach the big dump that QEMU throws out that shows register state? In particular, CR2, CR3, and CR4 could be useful. --Andy