Skip to contentSkip to conversation

CVE-2026-46007: hwmon: (powerz) Avoid cacheline sharing for DMA buffer

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

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: (powerz) Avoid cacheline sharing for DMA buffer

Depending on the architecture the transfer buffer may share a cacheline with the following mutex. As the buffer may be used for DMA, that is problematic.

Use the high-level DMA helpers to make sure that cacheline sharing can not happen.

Also drop the comment, as the helpers are documentation enough.

https://sashiko.dev/#/message/20260408175814.934BFC19421%40smtp.kernel.org

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

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

	Issue introduced in 6.7 with commit 4381a36abdf1c5c0323c1c51f869dc000115eb20 and fixed in 6.12.88 with commit 270e5c576a6e30f6b337fa91d35b44c241297533
	Issue introduced in 6.7 with commit 4381a36abdf1c5c0323c1c51f869dc000115eb20 and fixed in 6.18.30 with commit 1869da3efe703b016b23d4885f3fe6c1751959c6
	Issue introduced in 6.7 with commit 4381a36abdf1c5c0323c1c51f869dc000115eb20 and fixed in 7.0.4 with commit 2fa2273016a0483217404cfe330967c4ac6832a9
	Issue introduced in 6.7 with commit 4381a36abdf1c5c0323c1c51f869dc000115eb20 and fixed in 7.1-rc1 with commit 3023c050af3600bf451153335dea5e073c9a3088

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

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/powerz.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/270e5c576a6e30f6b337fa91d35b44c241297533
	https://git.kernel.org/stable/c/1869da3efe703b016b23d4885f3fe6c1751959c6
	https://git.kernel.org/stable/c/2fa2273016a0483217404cfe330967c4ac6832a9
	https://git.kernel.org/stable/c/3023c050af3600bf451153335dea5e073c9a3088