CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's implementation of the mt6358_read_imp() function in the mt6359 ADC driver, where an unchecked return value from regmap_read() can lead to the use of an uninitialized variable. This oversight may result in unpredictable measurement results and potential leakage of sensitive stack data. Organizations using affected Linux kernel versions, particularly those relying on the mt6359 ADC driver, should prioritize applying the fix to mitigate risks associated with data integrity and confidentiality.
Original NVD 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.