Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEEED3D669B for ; Fri, 28 Aug 2026 06:55:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900141; cv=none; b=VyYZqJvA292z5nfX0r1LDXaI0d7d1BttmGpFi8FOzxSck/MWngFT7EAsjPCLQlie1///nhLb6CcF8vSRgVdkcOrXjl+6oeP6Mniy78IBzsq+wdnX0IP8v/HGPtlCOsENtR0dSLqjELLyKJwOlK96J0c82+xGX7q4c3OX5JOJxlY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900141; c=relaxed/simple; bh=BMPpdvREotw23dGTeiaUfKSRhapVPrORRtjTb5rg57g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dUYyn1SUvAqNqye+ned6s0KbzsAUc4yEhb13NGoaRYu2IboKUrWEfXOEqwpN8kW9vqZ9KbgM3c2I0+PPy1ShAX5e0em9wCM39iuyTe2LiO1ViDPxIfClP/L40AEE5iP5lpJNgzpD50Y75c6gUKy4IiEkeFP/CL+G2vkxhkPv978= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n94UE/Ai; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="n94UE/Ai" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A4A31F000E9; Fri, 28 Aug 2026 06:55:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900139; bh=fRuvFPTr8seZ6YBrXmxnWlH+DBVMSOdyL3HuTQ5h01Q=; h=From:To:Cc:Subject:Date:Reply-To; b=n94UE/AiW4dHftyV6JOSev2zs4jc3BFQsuE1ZfRnuhsEIsswxkWdfh04Tac7PMYtm UTfJ2qIuHgF0tNwhOOqVuRY66a9A7zNIBhSk/oQAc37Av/6RR5KPPcQPomtsoMq9Wk vB9GuNfhZxQivx2E4mkdUQT2BMYn/+Pu/NXLTBds= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80711: power: supply: max17040: handle missing status supplier Date: Fri, 28 Aug 2026 08:53:34 +0200 Message-ID: <2026082808-CVE-2026-80711-67c8@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2864; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=y0o7dOtgd1VfOQ66Sz2A6Fmw5uUxUMGx7qJDnN0WM+Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDUJecaq+5K7uk1Rky9vjqH5KNWTxDof5nT0r6iffL QmcteVqRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkwlGGBU07OHbKbxPpCNib 932152pJRt9tNxnmZyTNmS1e8FrgTlO/w0Nmw3Xuzu1bAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== 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. The Linux kernel CVE team has assigned CVE-2026-80711 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e and fixed in 6.12.103 with commit 91ac995a6f4ddf4f92b231b080544abf23a9b871 Issue introduced in 6.7 with commit f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e and fixed in 6.18.44 with commit b039f13e095d28a64ca6b21d0ee5440d8b048f37 Issue introduced in 6.7 with commit f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e and fixed in 7.1.8 with commit ee2ea0c452edc0930e7395b080dccd5a1cb965e1 Issue introduced in 6.7 with commit f4b782af61ae7bbf93008d5809b0e3a8ac2bb88e and fixed in 7.2 with commit 725668c6b6aa3971fe850659102c250d0d676e18 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80711 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/power/supply/max17040_battery.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/91ac995a6f4ddf4f92b231b080544abf23a9b871 https://git.kernel.org/stable/c/b039f13e095d28a64ca6b21d0ee5440d8b048f37 https://git.kernel.org/stable/c/ee2ea0c452edc0930e7395b080dccd5a1cb965e1 https://git.kernel.org/stable/c/725668c6b6aa3971fe850659102c250d0d676e18