Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 2FB833955F4 for ; Sat, 25 Jul 2026 09:02:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784970145; cv=none; b=WioCv4zYx07oCfrGckl2aNjlIxf6WNW6zyuJipE66sr69VlbrDFbhQwVIeJnKSQcpjW63bDoJNtDVUzY6JhKAoptor4B6xdCb84+7oIrZY/mLksWjJgQiUoHXUqzEGUhfsVajNFI32139N0lJ2uTL55YaRLOxJ1ylUkm+od0Yx4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784970145; c=relaxed/simple; bh=jfPDQ86wnhts+3rP0hmQlF6wCZT15l8B55wk5WIatKU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ANf58PAA50AMUWFEMwXbb1saupOnDiY2IYSoqYhJ9uJlycZx0imArMZu8dXkjn7VmGZDulxhJkOv32iULlX+MOwc09GZKuwvgoYHFtIcMXQTvv27mKvMC2tixHhWq5n58yiVK4s3raopMz+OjqvH6mR3iZn73jjBePvN2p1GXuc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ELwvQzc3; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ELwvQzc3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 931891F000E9; Sat, 25 Jul 2026 09:02:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784970144; bh=gHPzxGjXnwwGlk0BTCanMJ1MkrWSpsfDBG6hnMDwP/4=; h=From:To:Cc:Subject:Date:Reply-To; b=ELwvQzc3FezrTLemaBNBt7zPBCHjwfFiSIbe93ZZmevkeoioXTWpBDNC3GT6ped4G z23aBGqb9ufcbigIZAH9cATXyE63ijNAWxokidC0c2wHJ7ome/88uKy5EkwFQBVM9G Mw2DLM2/dzIU7RTrkDz1CpekKlUR60O0e9BJOk9E= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-64507: x86/bugs: Enable IBPB flush on BPF JIT allocation Date: Sat, 25 Jul 2026 10:52:04 +0200 Message-ID: <2026072554-CVE-2026-64507-5288@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2453; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Xf7gnMazkL5eaPzBfAnGqcsC9xiJ7sF41wuMl/sT4Ww=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkpFWXTvTf5tB9xePbpqA2j99KttzuPTN/sFL37oBl37 t0Sv1WMHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRzWkM86u9zNbMluG5KX8w NtlxV175lo3KWQzz/eO7WSfpb55xpvvB5lveBxuPshfpAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: x86/bugs: Enable IBPB flush on BPF JIT allocation Enable hardening against JIT spraying when Spectre-v2 mitigations are in use. Specifically, issue an IBPB flush on BPF JIT memory reuse. Skip enabling the IBPB flush if the BPF dispatcher is already using a retpoline sequence. This hardening applies only when BPF-JIT is in use. Guard the enabling under CONFIG_BPF_JIT so that bugs.c still builds with CONFIG_BPF_JIT=n. The Linux kernel CVE team has assigned CVE-2026-64507 to this issue. Affected and fixed versions =========================== Fixed in 6.6.145 with commit cb27f3bf915cc0f20fc0c48da9059304e39ebd35 Fixed in 6.12.97 with commit 9354248fc1c33a844ca1872761f6668b393e8c37 Fixed in 6.18.39 with commit 8a4c8af9ae67eb072d90d1b339f14d27a82bd2a1 Fixed in 7.1.4 with commit 52440e15d9628f8f239373c0f2e5e8f92feea2df Fixed in 7.2-rc2 with commit a3af84b0fa00ead01fcd0e28b5d773ff25990a0d Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-64507 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/cb27f3bf915cc0f20fc0c48da9059304e39ebd35 https://git.kernel.org/stable/c/9354248fc1c33a844ca1872761f6668b393e8c37 https://git.kernel.org/stable/c/8a4c8af9ae67eb072d90d1b339f14d27a82bd2a1 https://git.kernel.org/stable/c/52440e15d9628f8f239373c0f2e5e8f92feea2df https://git.kernel.org/stable/c/a3af84b0fa00ead01fcd0e28b5d773ff25990a0d