Skip to contentSkip to conversation

CVE-2026-72397: hwmon: (pmbus/core) honor vrm_version in pmbus_data2reg_vid()

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

hwmon: (pmbus/core) honor vrm_version in pmbus_data2reg_vid()

pmbus_data2reg_vid() hardcoded the VR11 encoding regardless of the vrm_version configured by the driver, while pmbus_reg2data_vid() already switched on it. Any driver that selects a non-VR11 VID mode and exposes a regulator (or hwmon vout setter) sent dangerously wrong codes to PMBUS_VOUT_COMMAND -- e.g. an nvidia195mv part asked for 200 mV got the VR11 clamp to 500 mV encoded as 0xB2, which the chip interprets as 1080 mV.

Mirror pmbus_reg2data_vid() so writes round-trip with reads.

The Linux kernel CVE team has assigned CVE-2026-72397 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.3 with commit 068c227056b9223fea1a759e08db2558d5cbb5ad and fixed in 7.1.5 with commit 5bd0d47640395f8a8c34446b62d1781b88869dfa
	Issue introduced in 4.3 with commit 068c227056b9223fea1a759e08db2558d5cbb5ad and fixed in 7.2-rc2 with commit 828cd614e2af053ca5e1d6da767bbd8a1b5cabfb

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-72397

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/pmbus/pmbus_core.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/5bd0d47640395f8a8c34446b62d1781b88869dfa
	https://git.kernel.org/stable/c/828cd614e2af053ca5e1d6da767bbd8a1b5cabfb