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 39BBF2C235D for ; Wed, 31 Dec 2025 03:34:54 +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=1767152095; cv=none; b=ZdJ+re8iB685wpnWDDcRnBOaaCH35f/Dt4gW7C6ZXNXlM0wElcfgZp25Vlf2NhDNZfhKwJ8YUB0MWIP/ClOwzTjsWdXaVYcJ5PaXNMYkFcWue1YCUEUCMa4AXkjQ4FkoQp82+8aXdoJ7mQX76teYTTMw2sSB1RCdQqhVkXK7w3U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767152095; c=relaxed/simple; bh=W67htXk7veB8kQWZBdf+dxwYDMiW/M+g7D0+HEH2ynQ=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=qRkTJ5DSuke2cpM6RY/G+EnaSogwO27QIEcGcTSjjcDzkTMst8k+go4Z3wP/+PNEVvK1CccYAarXRWsxRVwJ0VQsypNi/igH7c/1FW8347tS1c095VhBv0XflVenhThiSsIh0zlq0NVWJ1w0lza1fz4YvM4criNIKHLRp78Wotc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KwikY9o0; 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="KwikY9o0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8AE99C116B1; Wed, 31 Dec 2025 03:34:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1767152094; bh=W67htXk7veB8kQWZBdf+dxwYDMiW/M+g7D0+HEH2ynQ=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=KwikY9o0/aljAeEMwyEV3HVhnF+RivFEW5Hd/pE5cfla4xzY+juJuHvU4Whox5aWD v7qtEnsclZcofyobHm7mpfsYW/p6OFBTyx/66pOvjxF8WSmnWwzNLKFYPAPWRza2Ga 53FjmLrPDQl7I0oOv67LNLc8WVCfCJ4VoH5Yqrb0LqrSM/460b8g2q5NhaB4FhFxn+ EvhhVb4f30nAtg391PkStzEEm8smWMVM9uoLO8ljWKVXuQhce+8rvpxHzQwje4GvRf jkq7Df8Tslj1LWOcQ1K7OPvuiGlAtvKNELTh6KnSzC31JqOfb0Xhiwovxb0HIcGyxF R0/FXQuqhutag== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 78A0D3809A19; Wed, 31 Dec 2025 03:31:37 +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 0/2] riscv: Add Spectre v1 mitigations From: patchwork-bot+linux-riscv@kernel.org Message-Id: <176715189629.3416240.5165553541798344765.git-patchwork-notify@kernel.org> Date: Wed, 31 Dec 2025 03:31:36 +0000 References: <20251218191332.35849-1-lukas.gerlach@cispa.de> In-Reply-To: <20251218191332.35849-1-lukas.gerlach@cispa.de> To: Lukas Gerlach Cc: linux-riscv@lists.infradead.org, palmer@dabbelt.com, pjw@kernel.org, aou@eecs.berkeley.edu, alex@ghiti.fr, linux-kernel@vger.kernel.org, daniel.weber@cispa.de, michael.schwarz@cispa.de, marton.bognar@kuleuven.be, jo.vanbulck@kuleuven.be Hello: This series was applied to riscv/linux.git (fixes) by Paul Walmsley : On Thu, 18 Dec 2025 20:13:30 +0100 you wrote: > This series adds Spectre v1 to RISC-V in line with x86 and arm64. > > Modern RISC-V CPUs with deep pipelines (e.g., XuanTie C910, SiFive P550) > are susceptible to Spectre v1 attacks where an attacker can speculatively > bypass bounds checks and leak kernel memory via cache side channels. > > The first patch adds pointer masking to uaccess routines. Similar to > arm64's uaccess_mask_ptr(), this clears the top bit of user pointers > before access, ensuring that even under speculation, a user-controlled > pointer cannot reach kernel memory. > > [...] Here is the summary with links: - [1/2] riscv: Use pointer masking to limit uaccess speculation (no matching commit) - [2/2] riscv: Sanitize syscall table indexing under speculation https://git.kernel.org/riscv/c/25fd7ee7bf58 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html