CVE-2026-63936
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3587914bf61df7924933530353d840378cdc4973 before 6258bfec51e894ea97b8e69f3cde7af269b37de9, from 3587914bf61df7924933530353d840378cdc4973 before 944082fdb0284a31c0b37a88c8a1d4404da3a6d9, from 3587914bf61df7924933530353d840378cdc4973 before a72f8e51d6ee66c255a8a93a4421b8a538d112a8, from 3587914bf61df7924933530353d840378cdc4973 before f9bbd943c34a9ad60e593a4b99ce2394e4e2381b, 6.11
Not affected: before 6.11, from 6.12.93 up to 6.12.*, from 6.18.35 up to 6.18.*, from 7.0.12 up to 7.0.*, from 7.1 up to *
CVE List
linux linux_kernelfrom 6.11 before 6.12.93, from 6.13 before 6.18.35, from 6.19 before 7.0.12, 7.1NVD

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-63936 changed 2026-07-19CVE Terms of Use
NVDCVE-2026-63936 changed 2026-10-30Public domain