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 544FC5172E1 for ; Thu, 17 Sep 2026 16:38:41 +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=1789663122; cv=none; b=QfCvgomMbTQUUQYH2rlxiVZeDsEnr/71HZHcng0nWov+62rWBeH8FNJtrMJXBnQGnMtIsxQzNtpVoMOPcNdbIBg2eEOnnGOsYZOhE3ps/lhSbmTn5g4/icNP3kjiZqtqeTqY3FyjdZzmL8j/JB7/EIEf1zm5M+QiYjTcknyFr1k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789663122; c=relaxed/simple; bh=HqZa1lquxnmBWHsPTvPkFtb7BsvOh0wdkjahUiZGPyM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=neiKjZAB/9EgJi/7rf5FnXqQeZ9vSopeAKUZBvOOc2KrGCR+GLWRqz46aDJaAdFL3N2qPkUeBTy4ZwYsesFYOKmRB9RQB70qLpIIPWIGXm416ueQPrMQtBLH7GjICrQf5D93B8cGkJxdL0tJeEhC06oB8GNHsULzbkjaOgWEe7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WHFVv4Et; 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="WHFVv4Et" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D5B71F00898; Thu, 17 Sep 2026 16:38:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789663120; bh=8YuquPktOyE4kq5fbIJ4BUPtQvkQQe85yfz4UJiumK4=; h=From:To:Cc:Subject:Date:Reply-To; b=WHFVv4Et7sLhpVrBPmekOo1p0Q7/5uOW/lyda/4hIfHmwTLxquJv0laYxqEvd6vOO tsHs8ZFqTv+iQd+Y6FSjJajHA3b7NC7h4gF4gajrbwa7TneHyqKs7W/6p534XxrCss mkf7POJY0a51LvHEUkQobh0N8YJek5ZsWGyVttOI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-93135: bpf: Reject programs with inlined helpers if JIT is not available Date: Thu, 17 Sep 2026 17:16:52 +0100 Message-ID: <2026091752-CVE-2026-93135-7888@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=2838; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KxILlHsndplcBPXFj0Vz+DCUe9jACB+yxHH/C0BVNHg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBC7ktiY1LvqvppY4b7vA/xNaL2f79HVZBL88HfDb9 rVvnNeLjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIZjfDfLdJ5u238262FU/4 ZHzg4mLtGv6yTob5SZ/71vEXmf7meXV18zPXwFlW3369BAA= 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: bpf: Reject programs with inlined helpers if JIT is not available When an architecture (such as LoongArch, ARM64, and RISC-V) implements bpf_jit_inlines_helper_call(), the verifier skips rewriting the helper call offset (insn->imm) in bpf_do_misc_fixups(). This is because the helper is expected to be inlined by the JIT compiler later. Therefore, insn->imm remains as the raw helper enum ID. However, if JIT is disabled at runtime (net.core.bpf_jit_enable=0) or if JIT compilation fails dynamically (e.g., due to OOM), the program falls back to the BPF interpreter. When the interpreter executes (__bpf_call_base + insn->imm) with the unpatched raw ID, it jumps into an invalid address space, triggering an instruction alignment fault or a kernel panic. Although these helpers have valid C implementations in the kernel, the omission of offset rewriting makes runtime interpreter fallback fatal. Fix this by setting 'prog->jit_required = 1' when helper call rewriting is skipped for JIT inlining. This ensures that such programs are safely rejected if JIT is not available, preventing the runtime kernel panic. The Linux kernel CVE team has assigned CVE-2026-93135 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 2ddec2c80b4402c293c7e6e0881cecaaf77e8cec and fixed in 7.2.6 with commit 21c6445366795fa3a89954e1d318e7c8afdef843 Issue introduced in 6.10 with commit 2ddec2c80b4402c293c7e6e0881cecaaf77e8cec and fixed in 7.3-rc1 with commit f1c27922576edccb99d0257827d09bd05c0304a6 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-93135 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: kernel/bpf/fixups.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/21c6445366795fa3a89954e1d318e7c8afdef843 https://git.kernel.org/stable/c/f1c27922576edccb99d0257827d09bd05c0304a6