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 AA7C94F5DE6 for ; Thu, 17 Sep 2026 16:27:34 +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=1789662456; cv=none; b=RkgU4elMRLKarrKzA0tZFPHmib3QkY4Jx6jkUjdxWxh0fZ298kGz9vH1pluPHWJw8jGUTcLG9lZDU/+OPe4gSXCwgazb7AqoWASMSLBWcnzegQYL3w6lcufnbrVet2xVfbygAngDP0JySASHMsX6IwuEj9qYuRGsUevtWE/J4UI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662456; c=relaxed/simple; bh=fVFPUCA6njGB9wmM/1z/M2mnq5M0VuzhJ1/M6gqqTGE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mbsAE4CsXUBKW5oZrWdOHZr39OLJHodb0AFaAtuINQo/P0qRsRbZH8OnnQXx7k3+3TGdd8ya8qhE486gIISX2nR5NscGeg3Hf7zMfdWEkGiL0VhTkQ2q8Csqts52b7z47RwCWpcofpv0V9PrxD2fmy7fzZQJzLlv3OfV0bWok6k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uwFjJ14A; 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="uwFjJ14A" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 025A51F000FF; Thu, 17 Sep 2026 16:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662454; bh=h551E4bfBAu9zMK1fhNHzlRUkksy+kcjnSUa2LbUQvw=; h=From:To:Cc:Subject:Date:Reply-To; b=uwFjJ14AeaLN0DU1rnHVxbkKoMIFxfKhH5fLvQnE7oJb+E89iDcb6wieAl3DchxVi ZOYr31L9712Q1nyvzYTK33HzRHr2xFyCptiAK/XoWQisEFFI5K+giWfja/yzhTqlB7 XP3FLepbH/Co3Esov5o7IERXApKme+mXTp1tjYTs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90358: bpf, x86: Fix trampoline stack size for 128-bit arguments Date: Thu, 17 Sep 2026 17:13:08 +0100 Message-ID: <2026091705-CVE-2026-90358-6d4f@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=2634; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aUUV9O5Kg7WgqcNid1sBRE69eVzSZOBc1AWsDa701Jk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBBbJWc1IZE2tmWXB/HG79v2TMXckJNROP1r86Fidi NZe+0s+HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjAR8f0M80zW2rjk77X/22gY XzK9ylvgzAKHkwzza5s137xyMJKxVMo596fwupCIcHstAA== 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, x86: Fix trampoline stack size for 128-bit arguments btf_distill_func_proto() accepts a function argument up to 16 bytes, so a 128-bit scalar such as __int128 reaches the x86 trampoline with arg_size == 16. But the current implementation assumes an __int128 argument only needs one register, so the register save area is under-allocated and save_args() overwrites adjacent stack slots. Compute the register count from arg_size for all arguments to fix it. The Linux kernel CVE team has assigned CVE-2026-90358 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 and fixed in 6.12.110 with commit 4aed2346fa9b88d458eeb8c01123f3c07585a675 Issue introduced in 6.1 with commit a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 and fixed in 6.18.52 with commit 40f3bfbbb222b92278f3797614b70f68d46824ac Issue introduced in 6.1 with commit a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 and fixed in 7.2.6 with commit a6d7d7a253c550e74b0651897fe313c2f9b2301f Issue introduced in 6.1 with commit a9c5ad31fbdc4dec6d266fe22e51de1ad6d1bcf2 and fixed in 7.3-rc1 with commit 814cba835ef648e0c5eb79505c96c0493b29eea6 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-90358 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/net/bpf_jit_comp.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/4aed2346fa9b88d458eeb8c01123f3c07585a675 https://git.kernel.org/stable/c/40f3bfbbb222b92278f3797614b70f68d46824ac https://git.kernel.org/stable/c/a6d7d7a253c550e74b0651897fe313c2f9b2301f https://git.kernel.org/stable/c/814cba835ef648e0c5eb79505c96c0493b29eea6