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 7ECA9C54E94 for ; Thu, 26 Jan 2023 11:01:56 +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=31NLwMdwkfQlwcaLZWEE36hJD9B+LF4Xcq4O0gw3LMw=; b=cptr9MxAvyuYC1 karKVTmqiZOMmT9l9dZi56W0dRp+uVixAs4HFf67PzZANH1Wpx+N3ZaendyTVx45pr4amqerSvGCD NhgWCbDvoUCiMn5EHYLfbglxS+0wrTV+pchKfxyeLoJy/vLjQDOQr5MHq2MGaeZRn4RvotWEks9+r yA6TUe4LvAOGPLbIsIGB31fP8D8EGocLjAn/2QPM6QANs5x3N1A+fN6WuvX5XYodTSTlEV/ijyn+6 xW3htI3ifA7oE2gy/KSKB9Dx3oLtUq8+7UnUzALugR/kg0E5sbPGlnjZXqdj6qAagjV8R/2pWkyqc AfaL+63zqI7h9OrYHpSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL004-00Actx-F1; Thu, 26 Jan 2023 11:01:00 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL000-00AcsV-Vz for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2023 11:00:58 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D53F54B3; Thu, 26 Jan 2023 03:01:33 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.10.122]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DB6073F71E; Thu, 26 Jan 2023 03:00:50 -0800 (PST) Date: Thu, 26 Jan 2023 11:00:48 +0000 From: Mark Rutland To: Ard Biesheuvel Cc: linux-arm-kernel@lists.infradead.org, amit.kachhap@arm.com, broonie@kernel.org, catalin.marinas@arm.com, will@kernel.org Subject: Re: [PATCH 2/2] arm64: pauth: don't sign leaf functions Message-ID: References: <20230125182201.800076-1-mark.rutland@arm.com> <20230125182201.800076-3-mark.rutland@arm.com> 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-20230126_030057_101306_0BDAC128 X-CRM114-Status: GOOD ( 12.49 ) 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 Thu, Jan 26, 2023 at 09:40:33AM +0100, Ard Biesheuvel wrote: > On Wed, 25 Jan 2023 at 19:22, Mark Rutland wrote: > > We've used pointer authentication in leave functions since the > > leaf Thanks; fixed locally. [...] > > So generally, trying to use AUTIASP to detect such gadgetization is not > > robust, and this is dealt with far better by forward-edge CFI (which is > > designed to prevent such cases). We should bite the buller and stop > > bullet Thanks; fixed locally. > > pretending that AUTIASP is a mitigation for such forward-edge > > gadgetisation. > > > > Nit: this has an 's' whereas the previous occurrence had a 'z' Thanks; I've made those both use 'z'. [...] > > Signed-off-by: Mark Rutland > > Cc: Amit Daniel Kachhap > > Cc: Ard Biesheuvel > > Cc: Catalin Marinas > > Cc: Mark Brown > > Cc: Will Deacon > > Reviewed-by: Ard Biesheuvel Thanks! Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel