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 5BE704968EE for ; Fri, 25 Sep 2026 10:36:30 +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=1790332591; cv=none; b=LdLa0gzq7T50vsZjUiQROSuMrJvfz8w1pJAvRZICMC9fgSMfIIKsZFjE48WCPCd+GY871XGqqFDWfhMCMqDMjtJ1hh9KInL9CIous0Qheq7fLVnELPO+CZwh5ieGY3eRAsG4h1CkLaKrwOOhiEoGZi/Bg53EScG6MFcOnkEz8GU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332591; c=relaxed/simple; bh=frJn5b0U5SMOa8MbqxxUCA8L04eWFuMg+c9mysWeHsI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q6sVTVtjRZSDneHgJKCSxRxVBWpdEbOjjxglwLzywqzEPDptm7T4JQvvzxduzliOgHxwuyrgT14298IRNCfb2AistyaBe+uGtpnW9pq1L2DRvFW7D9a1/naxa7GDPoXGHRh/wZL9xww1l9P/9dx1ZqVN/tCguCmML4MTJBH1UtA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vQvR0xG9; 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="vQvR0xG9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7268F1F000FF; Fri, 25 Sep 2026 10:36:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332590; bh=x+qgoQCVANQJ2GByrtzSHgQTlUxyVBi0xcdfJ2SR9+U=; h=From:To:Cc:Subject:Date:Reply-To; b=vQvR0xG9HnW7ebk1RSilleaTyQ8Ergph9K7C/oMeDjRYNJnKpgkGzUzTDwK0j5KRU Eh44Tej8oXqJ1EfbrE804TT1HavtKe/5Yva0ISSN+SZkLu0uhUn87dsYBeJxd9/ez6 QbeDtm80ZC3bCcNy4XHqClaWte5TOybOw6sWdb1I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98045: bpf: Mark faultable stack helpers as sleepable Date: Fri, 25 Sep 2026 12:25:47 +0200 Message-ID: <2026092531-CVE-2026-98045-8af5@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=2979; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EBCqDpgMOkcXjFPUgaHNQWBZIa+i9fj8RgG+oWXMWcc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvNO/3rZ323r8pm1Uyu30Zy48GQyBew8X73nCxOMo2 azAePVqRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykWo5hQRvHHh7+yx0icfel f8RWBrscv1Wyh2F+KodGxfr0I3b7ViV2e7pWlu2IsTAAAA== 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 faultable stack helpers as sleepable The faultable variants of bpf_get_stack() and bpf_get_task_stack() pass may_fault=true into the common stack collection code. Resolving user-space build IDs may then call build_id_parse_file() and block on filesystem reads. Neither helper prototype sets might_sleep. Since prototype selection uses the sleepability of the whole program, the verifier can still allow these helpers from a non-sleepable region within that program, such as an explicit RCU or preemption-disabled region. The task-stack helper can also be called from a non-sleepable timer callback of a sleepable program. Mark both faultable prototypes as sleepable. The existing helper context check then rejects these calls while continuing to allow them in genuinely sleepable contexts. The Linux kernel CVE team has assigned CVE-2026-98045 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit d4dd9775ec242425576af93daadb80a34083a53c and fixed in 6.12.111 with commit 44b8d370f2725bad215da3e67668e98ba96671bd Issue introduced in 6.12 with commit d4dd9775ec242425576af93daadb80a34083a53c and fixed in 6.18.53 with commit 3014e8a8bdad55075d89836ad9c10710a9a69837 Issue introduced in 6.12 with commit d4dd9775ec242425576af93daadb80a34083a53c and fixed in 7.2.7 with commit 19e8d5a98afd071d8c1c5adeccf92b3c42eddc70 Issue introduced in 6.12 with commit d4dd9775ec242425576af93daadb80a34083a53c and fixed in 7.3-rc2 with commit 9d02927fdf4e930893c92e35fed01a2704496900 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-98045 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/stackmap.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/44b8d370f2725bad215da3e67668e98ba96671bd https://git.kernel.org/stable/c/3014e8a8bdad55075d89836ad9c10710a9a69837 https://git.kernel.org/stable/c/19e8d5a98afd071d8c1c5adeccf92b3c42eddc70 https://git.kernel.org/stable/c/9d02927fdf4e930893c92e35fed01a2704496900