From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 294B8368947 for ; Fri, 3 Apr 2026 18:30:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775241038; cv=none; b=cW0gzjqhaK7RhdylwUZ+Dh1WCXwhnkQDm5UDxncnnfGf68DoZVTflEYcTfl5SZie3smR1qeo0IOi61NMnNb+q+yAajm0a9xP76nFKaCSejI4++3ig28cIOgPeoGRkBjORkDio4RHaJLBOr98S02lsximtWn4GOXgBBV9lY0X9CE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775241038; c=relaxed/simple; bh=GwfrOoXP8e2elhLFeRY+aPKHu8ZZLu/gIrpHLpXB8ME=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=stzBqsqXAGoTUE2bBV1ZhQVVofXY8prEiexfEDt7RjwXu97IUGmi/MqnDlCj6eJ7pMxYhLO8SsBOm5SkISVPpqFwSaO6NH28tmZw1qrFX/FbS2SsxDX7hvvSUyjVa3A0ogrxGEI9GLJh6IhlsBv23sfoMX1PY52jp8wtakCvfDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qzxeifxT; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qzxeifxT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6CCCC19424; Fri, 3 Apr 2026 18:30:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1775241037; bh=GwfrOoXP8e2elhLFeRY+aPKHu8ZZLu/gIrpHLpXB8ME=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=qzxeifxTlI6EbHFlF1lbJ+NZiC+6mBxmghMd27+DbR6lQAiPnamkTpHZ8Ui6SpZEv QfoAvIrxjMaPESF05gVzKWixQjxW+xZQpha6NxZUYXKD5q/X56AzzHQtb1hEU9a/QI s7Col3r1E90qQTt56P/sYePDz6RdmP6+VsGY8dTiRg60vt6P9fdj4PpqMCSlGPVz1s smoTzAkEMhKKNM1I7ZK3jE4F5it0OPDXD5Xff9crQyF3WnSaD0M8/igMts8wt7TrkW +2jeDU9lSItYYzJ+OG7dxRLFUP4yeJK6aQWrTewtg4cGFE+qjlNKyX9/RnQjws+6W/ POqm5QFXtLfQw== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id B9F083809A14; Fri, 3 Apr 2026 18:30:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] riscv: cif: clear CFI lock status in start_thread From: patchwork-bot+linux-riscv@kernel.org Message-Id: <177524101929.1406513.17935249584196431471.git-patchwork-notify@kernel.org> Date: Fri, 03 Apr 2026 18:30:19 +0000 References: <20260323065640.4045713-1-zong.li@sifive.com> In-Reply-To: <20260323065640.4045713-1-zong.li@sifive.com> To: Zong Li Cc: linux-riscv@lists.infradead.org, pjw@kernel.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, debug@rivosinc.com, linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Paul Walmsley : On Sun, 22 Mar 2026 23:56:40 -0700 you wrote: > When libc locks the CFI status through the following prctl: > - PR_LOCK_SHADOW_STACK_STATUS > - PR_LOCK_INDIR_BR_LP_STATUS > > A newly execd address space will inherit the lock status > if it does not clear the lock bits. Since the lock bits > remain set, libc will later fail to enable the landing > pad and shadow stack. > > [...] Here is the summary with links: - [v2] riscv: cif: clear CFI lock status in start_thread https://git.kernel.org/riscv/c/b3a20899d255 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html