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 C90D33AC0E3 for ; Wed, 25 Mar 2026 10:29:10 +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=1774434550; cv=none; b=EZJR55SkPogV1X2UuSS85y9+gKNfVfTKF48fN5v8Zct/hotPBRkoOJWzifKjlm9q1oqoVMhbFF31fXKhT++5v7W8+4veBoMXlCwJWh92uUQNWchS/0ZQZjQqCts3NmBgg2ftXGI9sOYpNmASCd7w+FIg03FRykzzVEnTVb2WNsw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434550; c=relaxed/simple; bh=HMD1GV0+/F7ZNxcvKOfjR5vP0ZXaGyGdonwDFUNtAbI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=F2hi1oRGAyKsLdKPa9E4edzjNo1CuS6FRZHeem91JyHoIssIK8PN3TomunrM47PbxvPxvT6pZzogk1/4uyUuwGF0XugaQxWWvnk6snE62zuQOSamc3x6kg4gckizfWoiuPx4nKBRNaLlwfkMda7KTTYAHhXl3RMxkNlrg3jyjCY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=F0HTM5C1; 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="F0HTM5C1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 047F6C4CEF7; Wed, 25 Mar 2026 10:29:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434550; bh=HMD1GV0+/F7ZNxcvKOfjR5vP0ZXaGyGdonwDFUNtAbI=; h=From:To:Cc:Subject:Date:Reply-To:From; b=F0HTM5C1u5QB/6i6kazx+75HVYJyNQ7J0tXpRWgAfLlc12iGKoeo+HGd3tlELIpIW aRllAoaGw5tNz4oUkdwYy1ANcKHEJ62akezm8Ziw+ZedESE0Bn3RRYsruoWkLaq9iY yVgSzvRw+4+23lMkKCputgNSnstO6mJQ2+F/d4Zc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23323: hwmon: (macsmc) Fix regressions in Apple Silicon SMC hwmon driver Date: Wed, 25 Mar 2026 11:27:07 +0100 Message-ID: <2026032531-CVE-2026-23323-53db@gregkh> X-Mailer: git-send-email 2.53.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=2739; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=X7GnIRoegb6WGDDNK2tVdpcX7TrJkepfen8dpbP258w=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd4TvnVTvc3BZ3YtZpxg+eybbyC4O+pjzMvDxerWdP Ypd0Xo3O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiz1UYFnR1Tmr27T3Yo3LV PcJbYIleKVvURYb5nqUNr1qu5Jatl+Ky7hV2KW9S8k8BAA== 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: hwmon: (macsmc) Fix regressions in Apple Silicon SMC hwmon driver The recently added macsmc-hwmon driver contained several critical bugs in its sensor population logic and float conversion routines. Specifically: - The voltage sensor population loop used the wrong prefix ("volt-" instead of "voltage-") and incorrectly assigned sensors to the temperature sensor array (hwmon->temp.sensors) instead of the voltage sensor array (hwmon->volt.sensors). This would lead to out-of-bounds memory access or data corruption when both temperature and voltage sensors were present. - The float conversion in macsmc_hwmon_write_f32() had flawed exponent logic for values >= 2^24 and lacked masking for the mantissa, which could lead to incorrect values being written to the SMC. Fix these issues to ensure correct sensor registration and reliable manual fan control. Confirm that the reported overflow in FIELD_PREP is fixed by declaring macsmc_hwmon_write_f32() as __always_inline for a compile test. The Linux kernel CVE team has assigned CVE-2026-23323 to this issue. Affected and fixed versions =========================== Issue introduced in 6.19 with commit 785205fd81399bd8e49065aee3362a99d5702321 and fixed in 6.19.7 with commit 625ef35b70d3883fb9a41cd5a988e64dd3e447d6 Issue introduced in 6.19 with commit 785205fd81399bd8e49065aee3362a99d5702321 and fixed in 7.0-rc3 with commit 5dd69b864911ae3847365e8bafe7854e79fbeecb 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-23323 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/macsmc-hwmon.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/625ef35b70d3883fb9a41cd5a988e64dd3e447d6 https://git.kernel.org/stable/c/5dd69b864911ae3847365e8bafe7854e79fbeecb