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.
Published: 2026-03-25
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Memory corruption via out‑of‑bounds sensor registration and incorrect float writes
Action: Immediate Patch
AI Analysis

Impact

The macsmc‑hwmon driver for Apple Silicon introduced a regression in the sensor population logic and in floating‑point conversion to the System Management Controller (SMC). The voltage sensor loop used an incorrect prefix and incorrectly stored voltage sensors in the temperature sensor array, causing out‑of‑bounds memory accesses when both sensor types were present. The float conversion routine also omitted mantissa masking for large exponent values, allowing incorrect data to be written into the SMC. These bugs can corrupt kernel memory or produce invalid fan‑control values, potentially destabilizing the system or enabling privilege escalation if exploited.

Affected Systems

The flaw is limited to Linux kernel releases that compile the macsmc-hwmon driver for Apple Silicon. Kernel versions that incorporate the commit references listed in the advisory (including the current mainline and the recent 7.x release candidates) are impacted. Systems that run non‑Apple Silicon hardware or kernels without the macsmc module are not affected.

Risk and Exploitability

The CVSS score of 7.8 indicates a moderate to high severity vulnerability, while the EPSS score is reported as less than 1 % and the issue is not listed in CISA’s KEV catalog, suggesting a low but not negligible likelihood of exploitation. Based on the description, it is inferred that the attacker would need the ability to trigger the flawed sensor population or write logic, which likely requires local user access to the hwmon interface or a privileged application that can manipulate sensor readings. Successful exploitation could lead to kernel memory corruption and potential privilege escalation, but would require the attacker to obtain kernel or local access to the hardware monitoring subsystem.

Generated by OpenCVE AI on April 29, 2026 at 00:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that contains the macsmc‑hwmon regression fix or backport the patch from the provided commit references.
  • If a kernel update is not immediately possible, rebuild the kernel with the patch applied or use a vendor‑supplied kernel binary that incorporates the fix.
  • When the macsmc‑hwmon functionality is not required, unload or disable the module and monitor system logs for abnormal sensor readings or hwmon‑related errors to detect possible abuse.

Generated by OpenCVE AI on April 29, 2026 at 00:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Apr 2026 21:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:o:linux:linux_kernel:6.19:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 26 Mar 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Thu, 26 Mar 2026 00:15:00 +0000


Wed, 25 Mar 2026 22:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119

Wed, 25 Mar 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title hwmon: (macsmc) Fix regressions in Apple Silicon SMC hwmon driver
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-11T22:04:38.583Z

Reserved: 2026-01-13T15:37:45.996Z

Link: CVE-2026-23323

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-03-25T11:16:29.250

Modified: 2026-04-23T21:05:18.993

Link: CVE-2026-23323

cve-icon Redhat

Severity :

Publid Date: 2026-03-25T00:00:00Z

Links: CVE-2026-23323 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T00:45:26Z

Weaknesses