Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A6F932D23A6 for ; Thu, 3 Jul 2025 08:39:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531969; cv=none; b=KUF9iAbNkqQikB6W098zk0DlfChZgTu+CgmzkkhFrJ0OdPTaljeJwvyQXmNCRjn95MxpVnYLJvyNaUSaz42miHFLxmngr/Hbvl5UsGqhxEfzajpXhfWBK2qCe8ntjjcwwDttaaZi8Fu6yDCkiidMZwJ1OOObfUvhpNgH1uv2pZE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531969; c=relaxed/simple; bh=mYZvB41KK1H0MMCfarWEin542dlxknnDTx1JealUrcA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qpzbbLi9VM1EYXPXishQ6JGvtcIoJZlvHgwsZb42h/oLBzsuisX3fpC5/7ePUDhGy9l0AxEqkmscUMsX2OWogLvlrIFnpTFM/Godt/L4xT2vNldncjeFtMkvv0RBdiB1K8ZqLo/bmxfoL8TV+YOiV70fso1QkOQtf7IgQWESeQo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=qZ40WVfY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="qZ40WVfY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15989C4CEE3; Thu, 3 Jul 2025 08:39:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751531969; bh=mYZvB41KK1H0MMCfarWEin542dlxknnDTx1JealUrcA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=qZ40WVfYlTboZv2WDZwd2td4NO2uhZEDMpe1WrF0Vy039loCd9byA/Sv509WaexjT dlHY2BLv7IAQi0hK2qlSH7lLYtSB0OIKmJtujIB+x//viI4jlZHG9kkDAPiy0um0Uq wpgpUzZoo8woxVcEqcr6qOAsyfvDQ/vECP2p1+Y0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38171: power: supply: max77705: Fix workqueue error handling in probe Date: Thu, 3 Jul 2025 10:36:27 +0200 Message-ID: <2025070342-CVE-2025-38171-a380@gregkh> X-Mailer: git-send-email 2.50.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1921; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C30GH9lU6HHwNPFMWbJ1gbeA9rePwGcx5fmfwIZrnbU=; b=kA0DAAIRMUfUDdst+ykByyZiAGhmQN7IEOita7et79vEN3+KNoh1+KoQmEbSHRmpam+EJm5C8 4hdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmhmQN4ACgkQMUfUDdst+ykA2gCdGgmk JECmf0kj4iTkDhuFPnBLWb8AoJSNnQ9SjXdYhe57Pg6CRRyBjNsd 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: max77705: Fix workqueue error handling in probe The create_singlethread_workqueue() doesn't return error pointers, it returns NULL. Also cleanup the workqueue on the error paths. The Linux kernel CVE team has assigned CVE-2025-38171 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit a6a494c8e3ce1fe84aac538b087a4cab868ed83f and fixed in 6.15.3 with commit 7f16be2b2927fdcfe40b596b7411c46d23a82034 Issue introduced in 6.15 with commit a6a494c8e3ce1fe84aac538b087a4cab868ed83f and fixed in 6.16-rc1 with commit 11741b8e382d34b13277497ab91123d8b0b5c2db 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-2025-38171 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/max77705_charger.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/7f16be2b2927fdcfe40b596b7411c46d23a82034 https://git.kernel.org/stable/c/11741b8e382d34b13277497ab91123d8b0b5c2db