Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A18E9C4361B for ; Tue, 15 Dec 2020 12:28:18 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B3391224D4 for ; Tue, 15 Dec 2020 12:28:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B3391224D4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CwHbc6V32zDqFL for ; Tue, 15 Dec 2020 23:28:12 +1100 (AEDT) Received: from ozlabs.org (bilbo.ozlabs.org [203.11.71.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CwFs83gYyzDqBs for ; Tue, 15 Dec 2020 22:09:48 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=ellerman.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=ellerman.id.au header.i=@ellerman.id.au header.a=rsa-sha256 header.s=201909 header.b=R6NAfSEY; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4CwFs73L0lz9s0b; Tue, 15 Dec 2020 22:09:47 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1608030587; bh=iDC1JIT52pO2aTQmLPAZjGi2o8oGYwovwLLPEX6BLfc=; h=From:To:Subject:In-Reply-To:References:Date:From; b=R6NAfSEYK/sox3otBUza4Y0704f0zrvZyl50J9yZynC62DlAQoJIxumNqTh5VUuj4 wYtBm/SOZ1s2xm8VqvQ+PgUWmt49NeYvI8NgdYoCYz8kik7R+4JacALwuKv8s4ZNDu tF3kCIiEEFVuRNzATpHipQ95QoFnlR4Ag1pM+RAjZq7AHoN0cAqnLfcO2RlHtG+9h7 1Rg2mLap3Q1sJlooQnntqVhHL6tDRd8Ja+5A2MCURiJCD43A4kALtSYxHCZZrM2+c0 z2OBz4Psj/xqG5r6cYRN+PsHm0mcbaCUm+wahvSz0uyZTUy1VaZEDz7aXw67be6ihl V7TE7I28BdPkg== From: Michael Ellerman To: Michael Ellerman , linuxppc-dev@lists.ozlabs.org, "Aneesh Kumar K.V" Subject: Re: [PATCH] powerpc/book3s64/kuap: Improve error reporting with KUAP In-Reply-To: <160756607519.1313423.7828205073526616704.b4-ty@ellerman.id.au> References: <20201208031539.84878-1-aneesh.kumar@linux.ibm.com> <160756607519.1313423.7828205073526616704.b4-ty@ellerman.id.au> Date: Tue, 15 Dec 2020 22:09:46 +1100 Message-ID: <873607z5ol.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Michael Ellerman writes: > On Tue, 8 Dec 2020 08:45:39 +0530, Aneesh Kumar K.V wrote: >> This partially reverts commit eb232b162446 ("powerpc/book3s64/kuap: Improve >> error reporting with KUAP") and update the fault handler to print >> >> [ 55.022514] Kernel attempted to access user page (7e6725b70000) - exploit attempt? (uid: 0) >> [ 55.022528] BUG: Unable to handle kernel data access on read at 0x7e6725b70000 >> [ 55.022533] Faulting instruction address: 0xc000000000e8b9bc >> [ 55.022540] Oops: Kernel access of bad area, sig: 11 [#1] >> .... >> >> [...] > > Applied to powerpc/next. > > [1/1] powerpc/book3s64/kuap: Improve error reporting with KUAP > https://git.kernel.org/powerpc/c/eb232b1624462752dc916d9015b31ecdac0a01f1 This is wrong, the script was confused by two patches with the exact same subject. See the other mail. cheers