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 0581F37F30C for ; Sun, 18 Oct 2026 15:33: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=1792337616; cv=none; b=InWsSW+EAoP8JbCOgeUNDyxsVuRBjkhWfnWVcs/5ZE1P/FTw7l92kb+UtQ+qqCVdkR+jrNxwdBHnn6XTt37kt5xZF3uPOtuvsKa9ZWXQ+QuUZzX770JGhABSjxVUoUhcmMGrFub1HiWU4BXhNE9Su1nvjwarkL/5LEAc521LnOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337616; c=relaxed/simple; bh=iiS00v2DOn6isK3knMcsu9XjpMztCFrQHsplcLMrtA0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E6udCnF5g6T94YD5YruOfvaDW3rxLvk51Zj1Knj27WJF0JxMFqCnaNjMvxVh/ek4s/bRd7kw1oz38eChG+VCeD34pSLTaN0YSFLf7zdKUfVpJfTvSnTPfqzJFs69lL0fdeQo6N/KgCespmfAeB63n2GgSnlUMAzsIPmixx8XJbk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ogoQal4v; 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="ogoQal4v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 04B071F000C4; Sun, 18 Oct 2026 15:33:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337614; bh=+vLMU5rbkNSmYYLD7akZU+/mB25exmNE5Ifz1kIuFoM=; h=From:To:Cc:Subject:Date:Reply-To; b=ogoQal4vx89Icg8ZJWPgPmIC6PmOCUq/HwcxNI1uy7aj39MfkcLUr1ahmZKdO1PWv tGKmlm7r2Rdpo3OPF7We5vwNx/usAY96aovSjF2+N0SmVCfLtv2FX9uxSII5yThjBF 1GJD8TBz7oRWFQ59xvrnBQMnPiZCzZHRxPYbBRxs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98611: bpf: Check params size before reading reserved fields Date: Sun, 18 Oct 2026 17:17:55 +0200 Message-ID: <2026101840-CVE-2026-98611-950f@gregkh> X-Mailer: git-send-email 2.56.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=2735; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Tz8Krkedkfgjy7DSVISCsnTvSPlXlydnQnytLBAojqg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHs0xaNzD+WMvq0aP3cE16Zt/bpm7L+i+TOrPOt0WS 6cEB57/HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR0giG+dFNeltZQ/743ciz CA7Ln3QlU9gqg2HBzu9SCbxz202mrdSLn93+y+ao6Y5cAA== 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: Check params size before reading reserved fields bpf_crypto_ctx_create() is a kfunc whose second argument is declared with the __sz annotation, so the verifier only guarantees that params__sz bytes of params are valid. The function nevertheless reads params->reserved[0] and params->reserved[1] (offsets 14 and 15) before comparing params__sz against the size of struct bpf_crypto_params, so a BPF program can pass a shorter buffer and have the kernel read past the region that was validated for it. Move the size check in front of the reserved field reads. The Linux kernel CVE team has assigned CVE-2026-98611 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 3e1c6f35409f9e447bf37f64840f5b65576bfb78 and fixed in 6.12.112 with commit e03253f5d65ebcd2a6d479f140c3bd9c7e4fb84a Issue introduced in 6.10 with commit 3e1c6f35409f9e447bf37f64840f5b65576bfb78 and fixed in 6.18.55 with commit cd12d3e08620257fbcaa262785d7f4b9473afc7a Issue introduced in 6.10 with commit 3e1c6f35409f9e447bf37f64840f5b65576bfb78 and fixed in 7.2.9 with commit 86a0e945fb645ea90233fde239cd2de79f01974c Issue introduced in 6.10 with commit 3e1c6f35409f9e447bf37f64840f5b65576bfb78 and fixed in 7.3-rc5 with commit a11212910cf09b2fe8db9afa41ef60c4f81879c5 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-98611 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/crypto.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/e03253f5d65ebcd2a6d479f140c3bd9c7e4fb84a https://git.kernel.org/stable/c/cd12d3e08620257fbcaa262785d7f4b9473afc7a https://git.kernel.org/stable/c/86a0e945fb645ea90233fde239cd2de79f01974c https://git.kernel.org/stable/c/a11212910cf09b2fe8db9afa41ef60c4f81879c5