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 8E14F49550F for ; Fri, 25 Sep 2026 10:34:26 +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=1790332467; cv=none; b=jlBgLY8QdQ7xpkBxWXx74nsPdZB17dNxyfo+5/nXtorFmqJZ2k5ef55L1v/q5U1/eUwsDRYD98kU+5rET5M8rUetnDesHVKUTzv+RRvsx/MErknSwVqIOHKd6F4bpw5AplcdlNLuaGyKjdGQN5OcD1Z0e+4AqfA5xht6gZfDthw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332467; c=relaxed/simple; bh=mfEWS51eExh5wTqb3iiKV6o6uuOwwLwDIUyg8XhT/ls=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BfCqeU5XVrUe+cF1rLhq+vnwMbsvLhGDrx5kFWj6pVp3uB7E0/tkyzFizn0sxuF9GxP+NNglAMQnFCa6bSwREXe73IjIcbUoKMc2VRGXmrrgX6stxObImXXY0uHlP6Dfs5dTbzeEps48bYuITKgQcH3S/Qd+NjMHh371QO2UErQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lca/B4da; 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="lca/B4da" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 991131F000FF; Fri, 25 Sep 2026 10:34:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332466; bh=zUjSuuVpOtLXZZ+hKwZQSlmAf4YBdaYIP1yStpvb4vU=; h=From:To:Cc:Subject:Date:Reply-To; b=lca/B4dalKxTlSPshjymFHOe+jDspmOW78XbC27b40HgPoXEOftCY+3rHzbV3MxR6 4sQEaEGpB/ySyWTgsmFherFs96CWt9G33zoR2EERbkNIdPfMKie6ClUyli79jfW8ln dEyoAPJO04APTgTGNou4GaAd4Smdy3h6fHLNzpps= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98048: bpf: don't rewrite bpf_fastcall patterns entered by a jump Date: Fri, 25 Sep 2026 12:25:50 +0200 Message-ID: <2026092532-CVE-2026-98048-9adf@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=2348; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iLbrNcRa5J5m4x/ii8SS5RES7PJO+jt2kVHwJug8jQs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvDOm7PrCmPL/VenrmVtYTvw89+9JgG3fizs/Lgvt3 skoUJl7qCOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm0mjCMD+w7ontRCbnjHKf Ix8mPf6XsftfyzOG+UHb3Kf2fknJKv53vivHrkdXfqf7IwA= 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: don't rewrite bpf_fastcall patterns entered by a jump mark_fastcall_pattern_for_call() must ensure that matched "spill; call; fill" instruction series is not interrupted by a jump. Otherwise the rewrite applied by bpf_remove_fastcall_spills_fills() is not sound. Record the instructions targeted by jumps in insn_aux_data[*].jump_target when the CFG is built and use this flag to stop growing a pattern at such an instruction. Jumps to the first spill are fine. Note that existing insn_aux_data[*].jmp_point field can't be reused, as it marks subprogram return instructions. The Linux kernel CVE team has assigned CVE-2026-98048 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit 5b5f51bff1b66cedb62b5ba74a1878341204e057 and fixed in 7.2.7 with commit 24adbc2c3bbe3385ce922587e1f8e837a68b3e25 Issue introduced in 6.12 with commit 5b5f51bff1b66cedb62b5ba74a1878341204e057 and fixed in 7.3-rc2 with commit 0b1c83dc3c4401cd7e846548f62e3caf3d06742e 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-98048 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: include/linux/bpf_verifier.h kernel/bpf/cfg.c kernel/bpf/verifier.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/24adbc2c3bbe3385ce922587e1f8e837a68b3e25 https://git.kernel.org/stable/c/0b1c83dc3c4401cd7e846548f62e3caf3d06742e