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 47287495AD6 for ; Fri, 25 Sep 2026 10:35:09 +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=1790332511; cv=none; b=BYTePeQkvEdAalJC62tK2X3HM+4hWEjWGUvXOCCU7IPulQ4Qe+Nn8zee1XKthhoWa/tdXFiqKc40JXYb6++J+8AQmVm4UJawa0p34yrmNi9IV9tTLt85hgJlcYECo/lGFZDoX3raQeQq6AFZJFtcodRE+iSfukj/9pLw7C4ZiUo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790332511; c=relaxed/simple; bh=DVkPOuWKDEK9s4Ejpdeztfu5k8vC3d6N24iDCyOR/X8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JaNxlpA+lf31YXa19beaZXjEESEqeZU1qbkXC67V203ufZw0VJrYIBT+48b2ZChcgZNtJi3n1eiW5c2udX+XqzWjlUgQ/3LKODXvNh7xVttJIqXTVh5mjbDFYwabaFl5C6Ylm91TY/kQl8sG74liYblUBHOjd5NGyDSp7WKc+dU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rzvWCxoo; 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="rzvWCxoo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 45F201F000FF; Fri, 25 Sep 2026 10:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1790332509; bh=6CMJbtsLF+CyqfIN5VoZs/1Qz9oBV5ZkF7MSuG57Gdg=; h=From:To:Cc:Subject:Date:Reply-To; b=rzvWCxooQarAHoYdwpURVCEi0l33SelliJkGxkLV2HtWJIxSFXRfSgcek578/Bq3i Gg52td5NU8xdfPS7vHbQjdvW3W7MoIttLln0Z/EStODOpn+yVZGkm5N3UrYEaM3Z+n N7tDk6SBfWidb0P6x8yRouQamauY6V7uAs+V21js= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98062: bpf: Mark signal tracepoint siginfo arguments as scalar Date: Fri, 25 Sep 2026 12:26:04 +0200 Message-ID: <2026092534-CVE-2026-98062-d9fd@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=2889; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jmiKCdOpttQN1FgydDLSHfj3Z3IlZA8T5KqyBPteWdE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFnbvLO0/zgxufWy7eeONHl172WW6WLuvGmLdAVvyK75m hd6tsC3I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayPZhhflHagnMzSko8y8IP FeVNPGbxXW6yDcN8h/0J2kZeO2+nFe1qOxb06MSrSgNWAA== 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 signal tracepoint siginfo arguments as scalar The signal_generate and signal_deliver tracepoints declare their info argument as a struct kernel_siginfo pointer. btf_ctx_access() therefore treats it as a trusted pointer for tp_btf programs. Signal delivery also uses SEND_SIG_NOINFO and SEND_SIG_PRIV as special values for this argument. Those values are zero and one respectively, and are not pointers. A tp_btf program can currently dereference either value and fault the kernel. In particular, signal_generate can run from timer interrupt context, turning the fault into a kernel panic. Record both tracepoints in raw_tp_null_args[] and mark argument one as a non-pointer. This preserves scalar access to the cookie while rejecting direct and helper-mediated pointer use. Merely marking it nullable would not suffice because SEND_SIG_PRIV is nonzero. The Linux kernel CVE team has assigned CVE-2026-98062 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 838a10bd2ebfe11a60dd67687533a7cfc220cc86 and fixed in 6.18.53 with commit 0e78cb242a57e481061fcb542fed4d51afba25c4 Issue introduced in 6.13 with commit 838a10bd2ebfe11a60dd67687533a7cfc220cc86 and fixed in 7.2.7 with commit d2eaea3599bcce659ce91862254dc91bcbdb6351 Issue introduced in 6.13 with commit 838a10bd2ebfe11a60dd67687533a7cfc220cc86 and fixed in 7.3-rc2 with commit 77515ab12e4983e6416f8c35039a3f0c0822ac70 Issue introduced in 6.12.6 with commit b2fc4b17fc13810ef440fb323fad3981cd174985 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-98062 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/btf.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/0e78cb242a57e481061fcb542fed4d51afba25c4 https://git.kernel.org/stable/c/d2eaea3599bcce659ce91862254dc91bcbdb6351 https://git.kernel.org/stable/c/77515ab12e4983e6416f8c35039a3f0c0822ac70