From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 BF3816FC6 for ; Tue, 27 Feb 2024 06:54:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709016851; cv=none; b=DOC+CqTCmbXRBG2kcepvzRz7b6msh3muRkRWRkoglMyo/qcgQtIyjxttAUO6EH4D++sATcTwssrz92aCfu9na6kC++/DqZKCoa+Bi06zVK0XqQBHI0cENnfWCugqttX6tv1vHr+CowIWukaVGqUcP5UOefcXiLuzKQEgq6h7yfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709016851; c=relaxed/simple; bh=ArCMrMIBnk238LGeX/hrNxdFRxz0Vs07lB1LO6xMg1w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cuvnlaUtdNy8dzksBl+vhystcD3w3ytrSANLojFQPiK2Gb8E2Rh1rAzRd1pDRg2QGi/EVQgLyTEOLCWvyv3CKGhdLR/x8XlFvhUWl8BSVp0Vvrlj4hWis/EhsVsPVpe7lrapFJE1b2uJhW+ktXksS7mclHLPDer9NbC9ZqhZppU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RVbAfBKb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RVbAfBKb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2BC8C433C7; Tue, 27 Feb 2024 06:54:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1709016851; bh=ArCMrMIBnk238LGeX/hrNxdFRxz0Vs07lB1LO6xMg1w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=RVbAfBKb7/YBYQ7DqQVDNy3hvvwEbPS9dW1f9m5f5ou9c8q/dl5Iowkvi/z0XLgDM RIP92BUxz/5jGZwBdyhLIgktTvTrTkBqYE5Lojze535vowrdkN3R5wfzbBhWvBc8fD cfPvnueFjL5yUVsukxKQC2TGk+kGAfNRBRql+QBY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-46908: bpf: Use correct permission flag for mixed signed bounds arithmetic Date: Tue, 27 Feb 2024 07:54:06 +0100 Message-ID: <2024022706-CVE-2021-46908-5030@gregkh> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2001; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ArCMrMIBnk238LGeX/hrNxdFRxz0Vs07lB1LO6xMg1w=; b=owGbwMvMwCRo6H6F97bub03G02pJDKl32/m2FalrGU40v7B9CrPS8wf6UxxecEwuVnjJs8/eh fUQr2NARywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyEeSnD/NK83xMLnG1b5Cbb 38y5dYEj6NwaaYYF127wK3kfu/3mkuMBZVXTY8G3LrBxAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: bpf: Use correct permission flag for mixed signed bounds arithmetic We forbid adding unknown scalars with mixed signed bounds due to the spectre v1 masking mitigation. Hence this also needs bypass_spec_v1 flag instead of allow_ptr_leaks. The Linux kernel CVE team has assigned CVE-2021-46908 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 2c78ee898d8f and fixed in 5.10.32 with commit 4f3ff11204ea Issue introduced in 5.8 with commit 2c78ee898d8f and fixed in 5.11.16 with commit 4ccdc6c6cae3 Issue introduced in 5.8 with commit 2c78ee898d8f and fixed in 5.12 with commit 960114839252 Please see https://www.kernel.org or 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-2021-46908 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/4f3ff11204eac0ee23acf64deecb3bad7b0db0c6 https://git.kernel.org/stable/c/4ccdc6c6cae38b91c871293fb0ed8c6845a61b51 https://git.kernel.org/stable/c/9601148392520e2e134936e76788fc2a6371e7be