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 2BBADC433FE for ; Tue, 8 Nov 2022 17:22:44 +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=GL7EIu1ww5GCZDaY9wuBRfGeWCJwsnTtnSXNE5yNzzE=; b=tigJrfTMTFRrGj Axn8TsIQifsSBiSemm3bRG/7RF08DD4E7W+yDojQyUk3nxzZ377ECKbZaDh7fU1WtIzpMWgMxSuGB 7crYFQzjCzR9VngcmJvP7qYeQS8iqi9uQtoWXCy5XHljR/lrKXAlMJHioTUIN4VJOfgWNRE0uhyLn scOETC/5mhlZ/DSUjsUUniasCkHuDFuJSfRHVGk+I0lx+zkPcH4olEO0oCY3cYwwauXCJIAB4nqv2 4VXyA+CNLNSNwwzekX78lEjRGMNHMLPYJEMpoPHCtPhnsp60LLcI7h6vclnhdKmtRS19YRfwppBT5 y4RhqAm0Y//CB/0zRe6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1osSI9-00707C-MC; Tue, 08 Nov 2022 17:21:41 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1osSI7-00704j-6r for linux-arm-kernel@lists.infradead.org; Tue, 08 Nov 2022 17:21:40 +0000 Received: by mail-pj1-x102f.google.com with SMTP id u8-20020a17090a5e4800b002106dcdd4a0so18510723pji.1 for ; Tue, 08 Nov 2022 09:21:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=goZ4hLrbhDl0XCT84nxt5NeXG87CoMIwMftUFRKi5mE=; b=PinhDpfZ7Mgk9g7y/bo6KG2ggU446LDbmgLwF7vboQSDzwdc+QIGAQ2Hsgo04HqbST HLhK2/HPJgPoMzcrhqFQcVQncxIV3TVLoAGAK2fAm8HQ7HXOnNCDXCMsln4LU/GKP+Up P150A+y4fcHfEjV70vTsvEpw0wxdIQ3gL0HQ0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=goZ4hLrbhDl0XCT84nxt5NeXG87CoMIwMftUFRKi5mE=; b=iB0imfnxIv3C7oyyHgoWGgw8o7PzyjULDEMxFRPDp6xjoB/WUbgZLmxlBIKVPiqxDm KZbVY58yI+tTzM1iFI2dyp8pl+vlJFoN+0Dq9ggAJAgGH6n3zvQHuxOv7L8vqfZ1I2b3 QdBUgHVcepkMuoDNFpONL5c/MfappXyyoJac5R5NT2XMdDETlhkO1qZHYDyDJBCtRCgO uuZ6RgujKOLOm5Qb3b1OBai96cX33XRbQ2zWC6Md1MisiH6yGYs2fy5qMG8Fqc1lhmu7 cRo8WzIxHDKVOHZYQGZ1XbMnielZF+aZyvamRl867dq3rMoc5c6DG95sOk1WOVlub4zn dl5w== X-Gm-Message-State: ANoB5pmzxyToBNcGGW+MUVbFMuHPbd8ZKm2pKx6cgXOo/o/h58/AX4Tp KVA2UTLApwFizWF44e/nO3GGiQ== X-Google-Smtp-Source: AA0mqf67JTMqa33EkIbxAPeJFy5nqX3ZDUxfGGVf86/RqPdLpZ9rBTE3twUeqmC0+6lITrGybKQ7qQ== X-Received: by 2002:a17:902:c3d1:b0:188:758f:f473 with SMTP id j17-20020a170902c3d100b00188758ff473mr17361162plj.113.1667928093391; Tue, 08 Nov 2022 09:21:33 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id w188-20020a627bc5000000b0056b8b17f914sm6627026pfc.216.2022.11.08.09.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Nov 2022 09:21:32 -0800 (PST) Date: Tue, 8 Nov 2022 09:21:32 -0800 From: Kees Cook To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Catalin Marinas , Marc Zyngier , Mark Rutland , Mark Brown , Sami Tolvanen , Nick Desaulniers Subject: Re: [PATCH v6 0/3] arm64: dynamic shadow call stack support Message-ID: <202211080919.D5D487D4CD@keescook> References: <20221027155908.1940624-1-ardb@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221027155908.1940624-1-ardb@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221108_092139_285654_BAE55809 X-CRM114-Status: GOOD ( 16.80 ) 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, Oct 27, 2022 at 05:59:05PM +0200, Ard Biesheuvel wrote: > In order to allow runtimes to unwind call stacks that involve return > address signing, we track whether or not the return address is currently > signed by means of DWARF CFI directives in the unwinding metadata. This > means we can use this information to locate all PACIASP/AUTIASP > instructions in the binary, instead of having to use brute force and go > over all instructions in the entire program. > > This series implements this approach for Clang, which has been vetted > (and fixed in release 15) to ensure that the unwind metadata is 100% > accurate when it comes to PACIASP/AUTIASP occurrences. Sadly, GCC does > not always get that quite right, so this series is Clang-only for the > moment. Hi Will, Can you please pick this up for v6.2? This has been needed for a while now. :) Thanks! -Kees -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel