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 6368449504A for ; Fri, 25 Sep 2026 10:33:54 +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=1790332435; cv=none; b=AiL74/V0f4hGt96NImeR5QeuWGe54fOJ6T9EprZXVbqCCWVAf0ai6829bD4QU2uzl4QTwWMMPLegwaRsRNXtfHOrKF0UF4FLxKRTEpjOd89pG5I9dAfZgAvgVO0N+P+/v0UOezNnRw6nrl5pX9tfwxIszC3oFySwge0lgZ0d3VM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332435; c=relaxed/simple; bh=u3dqc3v9g+eoO8MpgPfIEPxMyI2rG76JeUvy2xH/GtI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HM2pizgGyw+8kjWLFOSPdpuFgL8qJDRyjWAj2BKRw3mOySn3tKX4rXS3siyWjzPh4XVG5xXOm8B2C+C9lcYzTpv2NF5PqJysTjlELgYgDrlDAy9pm8DUobZXQGXYN+X2x30nlj05n6bVuoJ6DI4HxdHhLXjzUF5RSQ556uN0AJE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LVDtGfpZ; 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="LVDtGfpZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id BBAA21F000FF; Fri, 25 Sep 2026 10:33:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332434; bh=/VYHTctt+SQVXUek83JJ7h9v5GNW6eI33g0cAznFoOk=; h=From:To:Cc:Subject:Date:Reply-To; b=LVDtGfpZMYOkIPkcyaF+xekVi4FabHwv8T1+k8IMRt2yhhyqJiwUVj1GvKeCiptVQ zIS07aR0dEv2/jUvsC8HFsgFZ1TiPiW6ny90MRHRproaS7d4RChNl6diMmIeMdslD+ I2gnlv/omV4dglm+mITrArBehRUMj5cBgrAxKh6U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98034: bpf: Mark NULL kptr stores precise Date: Fri, 25 Sep 2026 12:25:36 +0200 Message-ID: <2026092529-CVE-2026-98034-61fd@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=2518; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=FIhiiF20gCUBbm6MoUwrAYdl1oenuZnSFkisAt6vUMM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvFPnsWivZ+r/w7BjkeNjqZOO12ZIxazt+vKw0Nf9c z33gkXcHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRhBqGBf2LndUlHq0SXn+p 98qZ89rFaZd0ExnmqdgpVdyJPbFxsYmQY+6jfq3Na9YcBQA= 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: Mark NULL kptr stores precise check_map_kptr_access() permits a scalar store into an untrusted kptr field only when the register is known to contain zero. Unlike other verifier checks whose outcome depends on a scalar value, it does not mark that register precise. A state checkpoint reached with an imprecise zero can therefore prune a second path that reaches the store with an arbitrary nonzero scalar. The program can write attacker-controlled bits into the kptr field and load them back as a PTR_TO_BTF_ID. Call mark_chain_precision() before accepting a known-zero register. This forces state equivalence to compare its scalar range and makes the verifier visit and reject a path carrying a nonzero value. The Linux kernel CVE team has assigned CVE-2026-98034 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 61df10c7799e27807ad5e459eec9d77cddf8bf45 and fixed in 7.2.7 with commit 86168208737bdd267d92d855d453d1d2f840df19 Issue introduced in 5.19 with commit 61df10c7799e27807ad5e459eec9d77cddf8bf45 and fixed in 7.3-rc2 with commit ecdc5043794c9184aa8e6c814603899479c46b35 Issue introduced in 5.18.18 with commit b5a8069835e5236824a84281592d29f859b33153 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-98034 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/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/86168208737bdd267d92d855d453d1d2f840df19 https://git.kernel.org/stable/c/ecdc5043794c9184aa8e6c814603899479c46b35