Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3111490ybc; Mon, 18 Nov 2019 09:40:39 -0800 (PST) X-Google-Smtp-Source: APXvYqz/D+aJrzS7DVmrct1BTZvNyC+bWP4d4ZHw+tAq52B66OkkhHOG+nZ5+px7fa3LtEqmEJnE X-Received: by 2002:a17:907:2122:: with SMTP id qo2mr28416187ejb.12.1574098838956; Mon, 18 Nov 2019 09:40:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574098838; cv=none; d=google.com; s=arc-20160816; b=tFt+4Q76Dhij+RobsJta02UR+/EH/tObxhHyYYiIkuQfFCLk5vW1mJFePUsqd3sVvI WgNEdMW9DC6QWfP1k358RxHkDDjhGrg83mGxeSeTF/R6SV41/Oh1UFs8zYHo/5x3wwuM pOt4UmzbXhzK7IW3BfblyWqE8b2yGftyK+lRAWq/XzLbVF9Dj34CC23ogt3fGwjfWPSv n2ylUCafxBwv+82q9bB4AuaJ8g23aFl6mSLIVamZhfe+dZJhordKhdRk8TJ6ycJIdkuw /Qqcm8AseZaYbPmOAJwA1JbQlC0qvrOVmcUgXOwd4VRDQIcdFpWS4jYB52qZ9rZptoV/ q1cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/zpixmJKEK2DyhKs6AeIjcFfA5HziA0TuK8uE0/KAJY=; b=ZuwR5de9z7V/lZ/jkii7N4xc3FOwFg1ExgGjbktTQss01TmdWV6AW2typ2bX8NyogO GMZZEhimBIqjjE7bAYjQD4KfqCVPtdtbU8g0KMb7oI8u1v5viCRJlK0X05UpWieYNFqN C2XqFVZIy8TYGUHJSxob11WwLuRF+2e2sMnuRCMhvDyHyLiw5CsmcRV8KY+jifPeABY0 YV6pUQzHjmojlfaAh8nK5xrvGlcwth9DdmA7FmEPtEGLC83xrhS1GMgGgRdDR68Rf6fu zxS6QoYPDwMxyyE58I5jKiU36lvgXzS3lxsOiK8JhIDQ9J1rqHiBad5vhU+0HZ4yZGZ3 3VLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=JVrUTk3g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j17si13207240ede.332.2019.11.18.09.40.14; Mon, 18 Nov 2019 09:40:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=JVrUTk3g; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726962AbfKRRi4 (ORCPT + 99 others); Mon, 18 Nov 2019 12:38:56 -0500 Received: from mail.skyhub.de ([5.9.137.197]:59752 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726427AbfKRRi4 (ORCPT ); Mon, 18 Nov 2019 12:38:56 -0500 Received: from zn.tnic (p200300EC2F27B5003D22FC05E431AFF8.dip0.t-ipconnect.de [IPv6:2003:ec:2f27:b500:3d22:fc05:e431:aff8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1D1D11EC072D; Mon, 18 Nov 2019 18:38:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1574098731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=/zpixmJKEK2DyhKs6AeIjcFfA5HziA0TuK8uE0/KAJY=; b=JVrUTk3gJRZJwoaj7Pm0kBocQxkdT0b8912XwpNNwXrLoXn/pwdBL+U4q3U2HJLdapv6NO ctqtMIEzJXoHO1+ObaQneXG7EjtdJTlcHgUDezw+JP11/Lfgofnl/qTGAFfnDLvI5JQ1/N 08IbCVumGcM5imH5h8KzvEEi1ceg1+Y= Date: Mon, 18 Nov 2019 18:38:50 +0100 From: Borislav Petkov To: Dmitry Vyukov , Jann Horn Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , the arch/x86 maintainers , Andrey Ryabinin , Alexander Potapenko , kasan-dev , LKML , Andrey Konovalov , Andy Lutomirski , Sean Christopherson Subject: Re: [PATCH v2 2/3] x86/traps: Print non-canonical address on #GP Message-ID: <20191118173850.GL6363@zn.tnic> References: <20191115191728.87338-1-jannh@google.com> <20191115191728.87338-2-jannh@google.com> <20191118142144.GC6363@zn.tnic> <20191118164407.GH6363@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191118164407.GH6363@zn.tnic> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 18, 2019 at 05:44:07PM +0100, Borislav Petkov wrote: > [ 2.523708] Write protecting the kernel read-only data: 16384k > [ 2.524729] Freeing unused kernel image (text/rodata gap) memory: 2040K > [ 2.525594] Freeing unused kernel image (rodata/data gap) memory: 368K > [ 2.541414] x86/mm: Checked W+X mappings: passed, no W+X pages found. > > <--- important first splat starts here: > > [ 2.542218] [*] general protection fault while derefing a non-canonical address 0xdfff000000000001: 0000 [#1] PREEMPT SMP ^ Btw, tglx just suggested on IRC to simply slap the die_counter number here so that you have [ 2.543343] [1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-rc8+ #8 [ 2.544138] [1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.11.1-1 04/01/2014 ... which also tells you to which splat the line belongs to. Also useful. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette