CVE-2026-63936

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

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Jul 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3587914bf61df7924933530353d840378cdc4973 to before 6258bfec51e894ea97b8e69f3cde7af269b37de9Affected
  • 3587914bf61df7924933530353d840378cdc4973 to before 944082fdb0284a31c0b37a88c8a1d4404da3a6d9Affected
  • 3587914bf61df7924933530353d840378cdc4973 to before a72f8e51d6ee66c255a8a93a4421b8a538d112a8Affected
  • 3587914bf61df7924933530353d840378cdc4973 to before f9bbd943c34a9ad60e593a4b99ce2394e4e2381bAffected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.93 through 6.12.*Not affected
  • 6.18.35 through 6.18.*Not affected
  • 7.0.12 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.