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 B10D110A1E for ; Tue, 9 Dec 2025 00:03:25 +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=1765238605; cv=none; b=VT8UWASmBjAmT3SfZBn4eO14ajpxG2PPUQKTHHT0g+7F3TchT2FnAtYSUw4115gIGiPEqhiOckbdPyOaF1sWkRyzkjPoWf1/xCcvMZoh2LU62indmc/UMdbbtMtZ4SnByqUK9Z8R7hblvZZrT/3mYViN4MVLVJcmvo7UacsNf94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765238605; c=relaxed/simple; bh=dROF6Pijhr12q+KFt4NkN5GtpQYh88mtf6HzByAJFEg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A1Ulmf7nRu8hiI32VtmjyDwb4Adf7kGUh+jVKf9mzs1pc9OOaVSWk2epTEQ31zvXhsFRudKpi8fFKfMxeSAD17AeuE4wu62CZ1IcstWWJRrG+ahzDWZPhNyxXd5u2Jv9HS1NjvDdoTFAB3MFWR9tNtat5hnz2dsbYFZIGhlyjH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OOqT43QB; 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="OOqT43QB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C662C4CEF1; Tue, 9 Dec 2025 00:03:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765238605; bh=dROF6Pijhr12q+KFt4NkN5GtpQYh88mtf6HzByAJFEg=; h=From:To:Cc:Subject:Date:Reply-To:From; b=OOqT43QB4N7velTXG+/DgX1EAND2KpRUa8Gs+6/YrwwTwW0b0zasdCkD4YXrJcmQ9 sJUQKxp4a6eI7x9HEfwapE27P3qDVkMjupXNow4F8M3isyg/VA10uataYCUp7Poo+L 7vSB7zwX0kfxoN2YRki9ws0MhbokewBsCnpwcQys= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53787: regulator: da9063: fix null pointer deref with partial DT config Date: Tue, 9 Dec 2025 09:02:08 +0900 Message-ID: <2025120940-CVE-2023-53787-2074@gregkh> X-Mailer: git-send-email 2.52.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=2058; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=B9aetDg/fj1w9+OAUtVIkflJsVflVgSeWG3kBJwBF0s=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnmaU+ehzIfurPk4EHZT3zX7OaferDDtfP/M//+Gk8mg ekf/h8Q7YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJTAtgmO/9/s/XzJ7gB0XL J07wv9vJmvYldwXDgn1GOk+X5ZrGGpgXrkntMG5Z1lazHAA= 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: regulator: da9063: fix null pointer deref with partial DT config When some of the da9063 regulators do not have corresponding DT nodes a null pointer dereference occurs on boot because such regulators have no init_data causing the pointers calculated in da9063_check_xvp_constraints() to be invalid. Do not dereference them in this case. The Linux kernel CVE team has assigned CVE-2023-53787 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit b8717a80e6ee6500ae396d21aac2a00947bba993 and fixed in 6.4.7 with commit 04a025b17d83d07924e5e32508c72536ab8f42d9 Issue introduced in 6.4 with commit b8717a80e6ee6500ae396d21aac2a00947bba993 and fixed in 6.5 with commit 98e2dd5f7a8be5cb2501a897e96910393a49f0ff 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-2023-53787 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/regulator/da9063-regulator.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/04a025b17d83d07924e5e32508c72536ab8f42d9 https://git.kernel.org/stable/c/98e2dd5f7a8be5cb2501a897e96910393a49f0ff