From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 82D94C48BC3 for ; Wed, 21 Feb 2024 11:32:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J15GmfTV9oCvGWmKw22zVPrJR6KIUqdDFCUHustbp/Y=; b=35GSUAZ8XgxZZb /CKiRretwgcuBi9BpNbdGs+gr2SUDLqGAJiP9oPnyB5/bgklP/wmO3qR5A/B3Gt27NosrFEr9FCOL QwFHTkiM826J8TAdYh88Hp4ToMmWQa/maXIJQv+tjs6ikC69Qvf71J+VfE1Yk+aM+Q9gmIjMfmzYQ v8q5pNwSPsuVQFjc/c+AEZ+6rpqMrh+4VhIkrfqVHTlJBgWanD8EiYDKhJfe0mV7DypVUxOS/Jqav tOFgEPWucLB0cQOgRcIs6bW7VGbryhLZn6b4v5L2cu+2F4Rn/xEzLOuo2YZDjVw1aIWypkbwM4q4j gWo6Iogg1qFxReHHMasA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rckpO-00000000hGx-13Tc; Wed, 21 Feb 2024 11:31:54 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rckpK-00000000gjv-3IbA for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 11:31:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SSVOESv1ouZkM2/5AuJNFJzVtbdBmS4tkZkGQIeQZNc=; b=PrZIPWaa3hBql87223JXy2t5YA IM2zkmuVB5BvPuVRumwKCUNn7yRYYDJqODbZXFdk4V/o+b/JtJU5XNkshOASjkhVCsZ0n6mSFDnUO V7ztAEHqCRzhgCYaD3NHC/FhA/FDb4mfKzlKaL4h2GL4WKAah/jv+AcclDDT87ofVozSys6ZxrVG/ hN56zXktXckmIWmF3Go9MNZRmmOFADwN1NkjWmGG2xA9C6vCAay6qxrzDrb6HMHkIEJvLLP5eW3Cy 3NXrtRaCbcKZoL2/w7xPGwuFMf0fyrKWNpwEHpCcf5+Uj+gKgFYSdYsGRgI+jy/lcYnUgUL7Lj1UB lfSfUjvQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:59440) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rcknF-0006oc-1S; Wed, 21 Feb 2024 11:29:41 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rcknC-0001jr-96; Wed, 21 Feb 2024 11:29:38 +0000 Date: Wed, 21 Feb 2024 11:29:38 +0000 From: "Russell King (Oracle)" To: Kees Cook Cc: Mark Brown , Ard Biesheuvel , Wang Kefeng , Andrew Morton , Ben Hutchings , linux-arm-kernel@lists.infradead.org, Hugh Dickins , linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org Subject: Re: [PATCH] ARM: fault: Implement copy_from_kernel_nofault_allowed() Message-ID: References: <20240123011238.work.301-kees@kernel.org> <202402202235.A77C9AD@keescook> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <202402202235.A77C9AD@keescook> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_033150_852210_25BA323A X-CRM114-Status: GOOD ( 19.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Feb 20, 2024 at 10:39:15PM -0800, Kees Cook wrote: > On Mon, Jan 22, 2024 at 05:12:38PM -0800, Kees Cook wrote: > > Under PAN emulation when dumping backtraces from things like the > > LKDTM EXEC_USERSPACE test[1], a double fault (which would hang a CPU) > > would happen because of dump_instr() attempting to read a userspace > > address. Make sure copy_from_kernel_nofault() does not attempt this > > any more. > > > > Reported-by: Mark Brown > > Link: https://lore.kernel.org/all/202401181125.D48DCB4C@keescook/ [1] > > Suggested-by: "Russell King (Oracle)" > > Cc: Russell King > > Cc: Ard Biesheuvel > > Cc: Wang Kefeng > > Cc: Andrew Morton > > Cc: Ben Hutchings > > Cc: linux-arm-kernel@lists.infradead.org > > Signed-off-by: Kees Cook > > Russell, do you mind if I carry in my tree the 3 ARM patches I sent? > They're mostly pretty trivial, and they've been in "Incoming"[1] for 2 > weeks but haven't shown up in -next yet. I'd really like them to get > some soak time, and for them to reach the v6.9 merge window in time. They can't show up in -next at the moment because the machine that hosts my git tree is being moved between data centres. This was originally flagged as a same-day (Tuesday) move, then next day, then it'll be back online on Saturday. That's the last update that we've had. As I don't believe my GPG key has the necessary signatures on, I don't believe I can get a kernel.org account. I'm not even sure whether my gpg key is even correct for that - and at the moment I just glaze over reading the kernel.org gpg documentation. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel