Skip to contentSkip to conversation

CVE-2026-63936: iio: adc: mt6359: fix unchecked return value in mt6358_read_imp

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jul 19

lore
Share & tools
lore
#0 lore raw

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

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

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

iio: adc: mt6359: fix unchecked return value in mt6358_read_imp

In mt6358_read_imp(), the variable val_v is passed to regmap_read() but the return value is not checked. If the read fails, val_v remains uninitialized and its random stack content is subsequently reported as a measurement result.

Initialize val_v to zero to ensure a predictable value is reported in case of bus failure and to prevent potential stack data leakage. This also satisfies static analyzers that might otherwise flag the variable as used uninitialized.

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

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

	Issue introduced in 6.11 with commit 3587914bf61df7924933530353d840378cdc4973 and fixed in 6.12.93 with commit 6258bfec51e894ea97b8e69f3cde7af269b37de9
	Issue introduced in 6.11 with commit 3587914bf61df7924933530353d840378cdc4973 and fixed in 6.18.35 with commit 944082fdb0284a31c0b37a88c8a1d4404da3a6d9
	Issue introduced in 6.11 with commit 3587914bf61df7924933530353d840378cdc4973 and fixed in 7.0.12 with commit a72f8e51d6ee66c255a8a93a4421b8a538d112a8
	Issue introduced in 6.11 with commit 3587914bf61df7924933530353d840378cdc4973 and fixed in 7.1 with commit f9bbd943c34a9ad60e593a4b99ce2394e4e2381b

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

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/iio/adc/mt6359-auxadc.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/6258bfec51e894ea97b8e69f3cde7af269b37de9
	https://git.kernel.org/stable/c/944082fdb0284a31c0b37a88c8a1d4404da3a6d9
	https://git.kernel.org/stable/c/a72f8e51d6ee66c255a8a93a4421b8a538d112a8
	https://git.kernel.org/stable/c/f9bbd943c34a9ad60e593a4b99ce2394e4e2381b