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 EAA1D254AF6 for ; Tue, 20 May 2025 16:03:02 +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=1747756983; cv=none; b=iF62tAdXW9W5DqjRiyo6Tex3dW1tBqqklS1Avfx12WCrM471pZREIcCDUx5LJok7S9OB5EzXr6rjfBA6KcHJGYQhqR3NpnTLfr8BHQJIbU7DzD5/web4wFumSMe6JFOpajnrX1NVhnsqQavcMgzP974QWLnlBKXXjuxupJsrZh4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747756983; c=relaxed/simple; bh=oppCpAMzuF1839VOZlEigtdQgpuYM7H/UM7+1PY8aAA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bnuc8H66OlXMGMY5ltjdVr9uPhDMWnT7inHXVh2ewHgJERddpcKcuSeV5hdkGxLUddoWMSP53UsifyAwGQ2d8Z8p7sNqBF+Zg/3GjgDjLNIseJOH2+UHAx7ZA8TnG/OGhE+pjdlnQSLn8Wdt/XY+/EVwtb1pyxkRwx1YO+JLTDs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PKg62cMN; 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="PKg62cMN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E998BC4CEE9; Tue, 20 May 2025 16:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1747756982; bh=oppCpAMzuF1839VOZlEigtdQgpuYM7H/UM7+1PY8aAA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=PKg62cMNBnk/KLAOIwr+5Wy3Y2ba/7HKWINMPtTAwPlaHJcKnSpXfQPNd1XlFNgy4 EyMLldJbd72dwjP3zM4e9ZAFUlkgVisT67am4F9mDJu6VzqNXADwRAtOCkIDcCRPDu pIpNRmQYUO7boBwwL3bAMUItvEFN46RQWHmwUch8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37963: arm64: bpf: Only mitigate cBPF programs loaded by unprivileged users Date: Tue, 20 May 2025 18:02:17 +0200 Message-ID: <2025052005-CVE-2025-37963-60f2@gregkh> X-Mailer: git-send-email 2.49.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=2378; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HTC30k7SOgIF8shykbGCjKSCZ6SlxqbXA2r/b6fEjyA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk6y2sfqUrt1+/523npo+xLJ4+Ob5PFFm/rjK8+FxCo0 RgeIfusI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbCXs4wv9qR+8ulrUFf3IMj vk7MsOB9dXLvXoYF23pusPZHrPiycV9AjqvK3Dzl8/eiAQ== 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: arm64: bpf: Only mitigate cBPF programs loaded by unprivileged users Support for eBPF programs loaded by unprivileged users is typically disabled. This means only cBPF programs need to be mitigated for BHB. In addition, only mitigate cBPF programs that were loaded by an unprivileged user. Privileged users can also load the same program via eBPF, making the mitigation pointless. The Linux kernel CVE team has assigned CVE-2025-37963 to this issue. Affected and fixed versions =========================== Fixed in 6.1.139 with commit 6e52d043f7dbf1839a24a3fab2b12b0d3839de7a Fixed in 6.6.91 with commit 80251f62028f1ab2e09be5ca3123f84e8b00389a Fixed in 6.12.29 with commit e5f5100f1c64ac6c72671b2cf6b46542fce93706 Fixed in 6.14.7 with commit 477481c4348268136227348984b6699d6370b685 Fixed in 6.15-rc7 with commit f300769ead032513a68e4a02e806393402e626f8 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-2025-37963 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: arch/arm64/net/bpf_jit_comp.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/6e52d043f7dbf1839a24a3fab2b12b0d3839de7a https://git.kernel.org/stable/c/80251f62028f1ab2e09be5ca3123f84e8b00389a https://git.kernel.org/stable/c/e5f5100f1c64ac6c72671b2cf6b46542fce93706 https://git.kernel.org/stable/c/477481c4348268136227348984b6699d6370b685 https://git.kernel.org/stable/c/f300769ead032513a68e4a02e806393402e626f8