power: supply: max17040: propagate register read errors (Linux Linux)

CVE-2026-89462
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: power: supply: max17040: propagate register read errors max17040_get_vcell() and max17040_get_soc() ignore errors returned by regmap_read(). When an I2C transfer fails, the uninitialized register value is converted and reported to userspace as a valid voltage or state of charge. The polling worker can also replace the cached state of charge with the bogus value and emit a spurious change event. Propagate read errors through the power supply get_property callback and keep the last valid cached state of charge when polling fails.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected c6f4a42de60b981dd210de01cd3e575835e3158e < abf348c40cd409db72758377f1eb6ed400c981c6 ; affected c6f4a42de60b981dd210de01cd3e575835e3158e < bcdcbef9c5e69a1e79c6b9f6a3434da2f68724ed ; affected c6f4a42de60b981dd210de01cd3e575835e3158e < 2943a0edd4865ed744702ada647921c3981207f6 ; affected c6f4a42de60b981dd210de01cd3e575835e3158e < 13fb0477da9b400071b9d518b24d6434c4965263 ; affected c6f4a42de60b981dd210de01cd3e575835e3158e < c7aa4c3708cc0d8487336f8281665eaea87130f6 ; affected c6f4a42de60b981dd210de01cd3e575835e3158e < 659cc3d8d5ef246263873fce72c8cadeeed073cc
Linux · Linuxaffected 2.6.31 ; unaffected 0 < 2.6.31 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.109 ≤ 6.12.* ; unaffected 6.18.50 ≤ 6.18.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD