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 52EDEC4450A for ; Fri, 10 Jul 2026 21:03:47 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dYmUTKeIMriXMUPwcEPY21tFAYeMDDPwQYhlJyx3Sx8=; b=bK7Vm5cIlX2hMU 06v5rGgqTfBcUgU3RjNK89zvQbvTXF75fSRqOZdiZJ87BJN3KxYxtsIKZvND3icbTLfbst+xWsaga ruP/aBpwH9CI+mLYrpS+CL1WTCTZklgWh1bQo3rrSPGeBjOPRGdDEPk9VaedXLQG2ATGc7eBFbD89 LTYGTvQnFePDyFKjB9hXYIbI+T7/pOFICZOYOJsjjxUp9LkJr5GJjO01mhtSCLqyYQk/I2J0O1SiI D+bg8bru5sUBPvefK5OIYu/JxEiRB22o6XTPJ/XnUk2HPaS+RFQwlEfVQBLJMQeDHX/okJCk+qmB6 pmR4eS4GMO/ghrM+Dz+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wiINk-00000005l2C-3I9T; Fri, 10 Jul 2026 21:03:36 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wiINj-00000005l1a-18Xs; Fri, 10 Jul 2026 21:03:35 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 0E25F43F07; Fri, 10 Jul 2026 21:03:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A05B61F00A3D; Fri, 10 Jul 2026 21:03:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783717414; bh=A6ZivBYGr8LA2bUO7cgwXGSWiepiPbzSVpCEbDDI1mc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=TbNNNPckQrdYDAlUSL/va76XXbFFV/M71lQjXSYpZT/R5DWVOE9hLvDwyepCkV+zw ew9ZsWbwWN3d2JL3oWsBOBLyE83y4owtF0+Eyss+Ai0jBE88hI7KMHwNyYgVLs0tgc R5LE4B1uMRLduiGro3EUze2g8wiC5dBhPdAjQ/NM73CB5K0KQKdHKAEfsrl78RVPG6 c1ric7fIVn82IzCB6bfwmTx6BFo+538W0J9wxsGDn5F9e+dvjbVsL8qBKk44CWUlaE c3IW3rfAYZ38PYZ6FJ2XJCt7tcoLdN+QSeg5ptN2Cn+4OZp0QKT8LywmIqJJEXlp6z 8TOdPmDMZ7dHw== From: Sasha Levin To: stable@vger.kernel.org, Greg Kroah-Hartman Cc: Sasha Levin , bpf@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, x86@kernel.org, Alexei Starovoitov , Daniel Borkmann , Dave Hansen , Pawan Gupta Subject: Re: [PATCH 7.1.y 0/6] cBPF JIT spray hardening Date: Fri, 10 Jul 2026 17:03:07 -0400 Message-ID: <20260710163023.agent5-0011@kernel.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260709-cbpf-jit-spray-hardening-7-1-y-v1-0-5ac5a2d6797f@linux.intel.com> References: <20260709-cbpf-jit-spray-hardening-7-1-y-v1-0-5ac5a2d6797f@linux.intel.com> MIME-Version: 1.0 X-BeenThere: linux-riscv@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-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Thu, Jul 09, 2026 at 03:22:54PM -0700, Pawan Gupta wrote: > These backports harden BPF JIT against spectre-v2 class of attacks. Without > a predictor flush, execution of new BPF program may use stale prediction > left behind by the freed one. > > To avoid this, issue an IBPB flush on all CPUs on JIT program allocation. > The flush is conditional to spectre-v2 mitigation applied. Queued the series for 7.1, thanks. -- Thanks, Sasha _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv