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 9977F182BD for ; Tue, 2 Apr 2024 06:23:04 +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=1712038984; cv=none; b=rQxrt3zQ81Ag5702pY/S2vjTNapwSw+WflBK1qOoPs8W1Zp+E3sHuOwX/aKRTn3yWasM+JRCg8xSEpsqTwgJTT4X1DXJJWlwEYZWhGyQeF2itMXEp+U/zaKFbIsfFjBCmlZXPT9VYz40OINE5vpYI+y3WQb3isByPDeBF9skYWE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712038984; c=relaxed/simple; bh=jLxKqK2Fs5wlOxN31vQlmgdpUj1smTDhqSV6wqeK3bg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pmRHuD+oEQKSavGxNNYTC2phmXy1iBZaGnpdQB+lRsJwFQwV5nKdkYZBA2OwA6ZwDEdOlhe6LM9kycxs+60FF3ivbGUQ2YTUQb7b6jw6sGvnS5zXbSzMezVaWuZccWMSw3buDzuQJIPtBh44Mf2Wewuery9/K82Va46O+atCMaM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FrJYgUSE; 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="FrJYgUSE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9E85C433F1; Tue, 2 Apr 2024 06:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712038984; bh=jLxKqK2Fs5wlOxN31vQlmgdpUj1smTDhqSV6wqeK3bg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FrJYgUSECK/owfV9PWrbGjJUUzhQTOXmU41f7ZgS2OAPFwJhpUc/NcrqapCZmFknP Eq3q2vDgWpIm/haqc2X1oQj82ca6mbkEYGPbCqZkYpSeed3i8X/5Y/32EjKuF94uK+ z4W4Eg6Y36kOTgL61ED11+mu3pjmIAgpXlKLQbxI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26664: hwmon: (coretemp) Fix out-of-bounds memory access Date: Tue, 2 Apr 2024 08:22:28 +0200 Message-ID: <2024040223-CVE-2024-26664-03db@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=2840; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jLxKqK2Fs5wlOxN31vQlmgdpUj1smTDhqSV6wqeK3bg=; b=owGbwMvMwCRo6H6F97bub03G02pJDGncSxReCWrK8cr3/mBZZcBQ+7zyd8nmXzNbvq4X0Zq6v M724bOpHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRRy8ZFqz0TN9lfChvZ8W+ ilz7vTvKNnb/f8cwz/ROIWsf+wbJ5V+0dZZlcnw0v1o3GwA= 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: hwmon: (coretemp) Fix out-of-bounds memory access Fix a bug that pdata->cpu_map[] is set before out-of-bounds check. The problem might be triggered on systems with more than 128 cores per package. The Linux kernel CVE team has assigned CVE-2024-26664 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19.264 with commit 4f9dcadc55c2 and fixed in 4.19.307 with commit 93f0f4e846fc Issue introduced in 5.4.221 with commit c00cdfc9bd76 and fixed in 5.4.269 with commit 1eb74c00c9c3 Issue introduced in 5.10.152 with commit d9f0159da05d and fixed in 5.10.210 with commit f0da068c75c2 Issue introduced in 5.15.76 with commit 30cf0dee372b and fixed in 5.15.149 with commit a16afec8e83c Issue introduced in 6.1 with commit 7108b80a542b and fixed in 6.1.78 with commit 9bce69419271 Issue introduced in 6.1 with commit 7108b80a542b and fixed in 6.6.17 with commit 853a6503c586 Issue introduced in 6.1 with commit 7108b80a542b and fixed in 6.7.5 with commit 3a7753bda559 Issue introduced in 6.1 with commit 7108b80a542b and fixed in 6.8 with commit 4e440abc8945 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-26664 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: drivers/hwmon/coretemp.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/93f0f4e846fcb682c3ec436e3b2e30e5a3a8ee6a https://git.kernel.org/stable/c/1eb74c00c9c3b13cb65e508c5d5a2f11afb96b8b https://git.kernel.org/stable/c/f0da068c75c20ffc5ba28243ff577531dc2af1fd https://git.kernel.org/stable/c/a16afec8e83c56b14a4a73d2e3fb8eec3a8a057e https://git.kernel.org/stable/c/9bce69419271eb8b2b3ab467387cb59c99d80deb https://git.kernel.org/stable/c/853a6503c586a71abf27e60a7f8c4fb28092976d https://git.kernel.org/stable/c/3a7753bda55985dc26fae17795cb10d825453ad1 https://git.kernel.org/stable/c/4e440abc894585a34c2904a32cd54af1742311b3