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 4602D14830F for ; Mon, 26 Aug 2024 10:23:55 +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=1724667835; cv=none; b=dQPkURMf8kGzyL1gG6vG6UKVq3XeTeNdbCY8SfG2o2x0OKzowUdCHN5b4SUfvw6IhCC/NaMb2FehMpLuFPxLVoJKbnaQcaGU9uAMEU26jlgy7G653SvYwh0ViCMEzduUzq1HhXuru4tAFLDxbJHOhnUNdGR/VOUQQ/gsBzyAYD0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724667835; c=relaxed/simple; bh=KA5LA/MrImyx8deolQOPmrWBxnepJT3e2IEz3316HQI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FrWAlFxRBBduzWJ54UwQ+3HJJX7cOMkfTSOCdzFIDtpBlzY7kMC0Vg0cpKFG9NdE8Pm2Fvl3gDFN0UwXi+yusLE24l1FID7VNS0BYgtxvruxwNRQqOGO66rfKQXmB1sHbbzThQc76qt3ocTszOGZqlEsKE6hfIXHmeL/0ff7jeU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RQfAcbqd; 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="RQfAcbqd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C33E9C5E8A0; Mon, 26 Aug 2024 10:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724667835; bh=KA5LA/MrImyx8deolQOPmrWBxnepJT3e2IEz3316HQI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=RQfAcbqdwrQl0j5zU8avnuEq9kjMCo+PoJ/3UjNFf/8cPxyLq5dUt5GSkxvpqoJsE RjILXq7yox0g4ymO1MBzLyM6FIKX3zrmjDO6JFUruj71wkNnxIIC5tLs1lAlhrzGYx 2CVNDN8qcXo8V9tpyGmtGWwn3QeQDZh4bNSRPNAI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-44936: power: supply: rt5033: Bring back i2c_set_clientdata Date: Mon, 26 Aug 2024 12:17:28 +0200 Message-ID: <2024082643-CVE-2024-44936-505c@gregkh> X-Mailer: git-send-email 2.46.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=2003; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KA5LA/MrImyx8deolQOPmrWBxnepJT3e2IEz3316HQI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlnwjzmtaewS6VO4yrViLgSf8DI5ux9wzeWgk/fPFkb3 tPB+ONORywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExEsZphnqVb5s6CrJpq97n/ t2SfUg/PLpZ5zLDg2tvpBhMPJ7gcUTjZ+Xrj3PT3+s27AQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: power: supply: rt5033: Bring back i2c_set_clientdata Commit 3a93da231c12 ("power: supply: rt5033: Use devm_power_supply_register() helper") reworked the driver to use devm. While at it, the i2c_set_clientdata was dropped along with the remove callback. Unfortunately other parts of the driver also rely on i2c clientdata so this causes kernel oops. Bring the call back to fix the driver. The Linux kernel CVE team has assigned CVE-2024-44936 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 3a93da231c12 and fixed in 6.10.5 with commit 3c5d0871b0af Issue introduced in 6.9 with commit 3a93da231c12 and fixed in 6.11-rc3 with commit d3911f1639e6 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-2024-44936 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/rt5033_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/3c5d0871b0af0184abc6f7f52f8705b39a6251ae https://git.kernel.org/stable/c/d3911f1639e67fc7b12aae0efa5a540976d7443b