CVE-2026-80711 power: supply: max17040: handle missing status supplier
설명
In the Linux kernel, the following vulnerability has been resolved: power: supply: max17040: handle missing status supplier MAX17040 does not report charger state itself, so the driver forwards POWER_SUPPLY_PROP_STATUS to a supplier power supply. If no supplier is registered, power_supply_get_property_from_supplier() returns -ENODEV and leaves the output value untouched. max17040_get_property() currently ignores that error and returns success, so userspace can read an uninitialized status value from the battery power supply. This happens on systems that use the fuel gauge without a charger supplier relationship in firmware. Return POWER_SUPPLY_STATUS_UNKNOWN when no supplier provides STATUS, and propagate other supplier lookup errors.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.7
해결 버전
- 6.7 미만
- 6.12.103 이상
- 6.18.44 이상
- 7.1.8 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/725668c6b6aa3971fe850659102c250d0d676e18 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/91ac995a6f4ddf4f92b231b080544abf23a9b871 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b039f13e095d28a64ca6b21d0ee5440d8b048f37 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ee2ea0c452edc0930e7395b080dccd5a1cb965e1 (새 창)