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 8C22BC48BF6 for ; Wed, 21 Feb 2024 11:32:17 +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=ZpV0S6mJLn6u2eDTI8tRnLZ0i7oXvf/vW1AaXfSfZDo=; b=cS35GwUGSeSuXA 0Ux/DEDk1CPvB3tLYTFibamoIWbxawlrSoiPVVHVNrV6tP4mffeHPlIrKCXyJ53gEq4fpcKcnk0Fq kGzd4CsEU5Z85ZysfkNg+yorugXDlyOrmcnyW1+7RWSJNXSZSt+8ZtMTBnbMIQGB0LaHaEvqMfd+w Y7iA/fJPfMdyC816qQ+DIHs6lH8tl2cTv6/dMzwmWghtXW9tl3YD/byqhKjebQKudxAzb3Z0RfaQS ho2UirvSwRNnwfXuQCteQw7MKaGiXbXZlWK4ms9pEGeTmYLz/6S26/nlzHZNIJ2Ga5Obw7OwLBMmr tw3tqIEseMlID5LeLVmg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rckpZ-00000000hKf-1hi6; Wed, 21 Feb 2024 11:32:05 +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 1rckpX-00000000hJA-1pLN for linux-arm-kernel@lists.infradead.org; Wed, 21 Feb 2024 11:32:04 +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=d+OFRDIV9Nlg2bppUbu0OXRvhKCsCUZDp0Ctdslt6f8=; b=BvhbJ+w61L06gXoy4EXkFwRqhr wyp2o/ldxD6GZ2YqiGezIcDwrWAuDxkWQX5UPANNT1Z0aIACFHyr0JAVm8lUK6kgId01vx9HaIRgt X2ItKd4ojLxHUSXYThkxiITklFTNtDAfI7S/sTXCJ7LRtZdAf6SPqArpxBv8I3So2oZOFW8fxNfuG oFRWuBIa2/rL0RHvhMBfy61ERWENEwrPkefNtYknrZtqwaHgNeNn/v8APhofsuAgBuXE7/INoj0Uf vcOJvnagO7f87hAkw0g+54rBVTFpFIeG3m6QJLyyS4yuCEo2RP9ZaOnfewD1uxm1OvkI3t3BLsPiA WAQVgxxg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:37210) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rckpU-0006ou-1v; Wed, 21 Feb 2024 11:32:00 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rckpT-0001k0-DN; Wed, 21 Feb 2024 11:31:59 +0000 Date: Wed, 21 Feb 2024 11:31:59 +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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240221_033203_502051_FA358A93 X-CRM114-Status: GOOD ( 24.14 ) 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 Wed, Feb 21, 2024 at 11:29:38AM +0000, Russell King (Oracle) wrote: > 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. I'll also point out that over the last two weeks, the first week I was in Cambridge attending a conference at Arm Ltd, and then I went down with full blown flu shortly there-after. -- 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