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 EB4B44502C for ; Mon, 20 May 2024 09:48:33 +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=1716198514; cv=none; b=uDrarRn0OC9fLnHPRNyGAVGZsq5eR5Cefl/BVjM9oHDg7cfHN8uZtLahmlEOUT5QRG0vJMKycvIEtJ28jqBOqnAcuabUOUxkw7nFdq5dz3jAVzDtz9jgkla4LrpgvYLNIiTzS/0wkyD6AlBG985AsHaFq24XE7HIz0BzXYEtUX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716198514; c=relaxed/simple; bh=NoSXyDjVrwK7pcXq/85kArQvd6zuhssoXUhDo/eauw0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s3y88b7E2g9hvNmRX0/iW6cDlB2ljegSczqY53qYgfgPioSoZHyNpEIPEpadjFJ3I69mfGirP2peJO+aUCnu9plM79HvKFWzdu6wg+0Oy2xLIuiPQS3qGHCVLEM0S7JUfm5SndQIKNtQbPWNfniIsIFcJGcqtMqHRKdOgn0EB2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Gr3xnsB2; 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="Gr3xnsB2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 253EBC2BD10; Mon, 20 May 2024 09:48:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716198513; bh=NoSXyDjVrwK7pcXq/85kArQvd6zuhssoXUhDo/eauw0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Gr3xnsB2oKlOgARpeAYxdnDyw3FzFLtt6ISs0TMc1XFIhzS+/31tFZAyOp2DOj1+D RpjN3N+6kq5yYUpIKysoqqb0Qx4VrUdq+TKGB5+t3k8ASILVWVmxZCkT9XPQSwsaLt FzxJASOU7T8/7x3mtGnqIg3OHzJ0S8LpZS8jRNu4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35983: bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS Date: Mon, 20 May 2024 11:48:19 +0200 Message-ID: <2024052018-CVE-2024-35983-a607@gregkh> X-Mailer: git-send-email 2.45.1 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=2626; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NoSXyDjVrwK7pcXq/85kArQvd6zuhssoXUhDo/eauw0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGneMkmnejXOTc0O/fLDm2nmHU8nu5yL0QGZaks3bHDgn Dm9WJi/I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZyT51hnkHFnZn5M7zfCsi8 UJGb+NPpbadWMcP82NMqRWtyTponPAy4PaE8Qm5LroQXAA== 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: bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS bits_per() rounds up to the next power of two when passed a power of two. This causes crashes on some machines and configurations. The Linux kernel CVE team has assigned CVE-2024-35983 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4.274 with commit d6077e0d38b4 and fixed in 5.4.275 with commit d34a516f2635 Issue introduced in 5.10.215 with commit 83a2275f9d32 and fixed in 5.10.216 with commit 66297b2ceda8 Issue introduced in 5.15.154 with commit d2a7a81088c6 and fixed in 5.15.158 with commit 93ba36238db6 Issue introduced in 6.1.84 with commit 428ca0000f0a and fixed in 6.1.90 with commit 9b7c5004d7c5 Issue introduced in 6.6.24 with commit b46c822f8b55 and fixed in 6.6.30 with commit 15aa09d6d846 Issue introduced in 6.8.3 with commit cf778fff03be and fixed in 6.8.9 with commit ebfe41889b76 Issue introduced in 6.7.12 with commit b2e1b090a590 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-2024-35983 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/bounds.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/d34a516f2635090d36a306f84573e8de3d7374ce https://git.kernel.org/stable/c/66297b2ceda841f809637731d287bda3a93b49d8 https://git.kernel.org/stable/c/93ba36238db6a74a82feb3dc476e25ea424ad630 https://git.kernel.org/stable/c/9b7c5004d7c5ae062134052a85290869a015814c https://git.kernel.org/stable/c/15aa09d6d84629eb5296de30ac0aa19a33512f16 https://git.kernel.org/stable/c/ebfe41889b762f1933c6762f6624b9724a25bee0 https://git.kernel.org/stable/c/5af385f5f4cddf908f663974847a4083b2ff2c79