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 E21B3333A80 for ; Wed, 17 Sep 2025 14:58:59 +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=1758121140; cv=none; b=jUBhMbmhN4zhgItaoICxeqXljbI4WkZUe4VVAfwRqMXRT5CJ3RszRihs+WZ98dKVYxdknUxZG7Op7w6CpbBvVJ4JVu3PHOQSeO0pyRm3+NkvTtvSgrhbsahD0G8cZ98sf0nmURfxLvlkjl1AOBp4Z3T7ylz6lILhyyntP0vQTwA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758121140; c=relaxed/simple; bh=aeLtITdI2qXKDaeGUwY/mbtjcgz0R7emdKoBXX1r5jI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hO6lb/fcdfwVdq0UmJMwJTF3IL9UMdNIAQXTsyWAXDQD5I/wQWKbta3knupqzfZqrBE4YfdEQNGOoyhuBrJ+di/p/7r983mTAYo1BPQ9RaPcBvHX1L7LrKv5khe1/522iI+JtEdVwi2PlRrql53b176ElqqXYUttBia9LXw0SC0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=chw5coGz; 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="chw5coGz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EF7EC4CEE7; Wed, 17 Sep 2025 14:58:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758121139; bh=aeLtITdI2qXKDaeGUwY/mbtjcgz0R7emdKoBXX1r5jI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=chw5coGz2kTxRYMuiweDlZFt0O7TDzchp/i1/7x0FWzN4kI8jS5zaSOXDsqGFnGT1 3EAfTR54JGpoxXQBQ4hNScVAdLjsaGqc+Bmq2kulFSTCzWNgFi0hlgIFtucpu5OJuS 2wE+SL6ol3MUbB0HySkjICJLbqN0tKOA/iidehqg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53364: regulator: da9063: better fix null deref with partial DT Date: Wed, 17 Sep 2025 16:57:03 +0200 Message-ID: <2025091722-CVE-2023-53364-8e1b@gregkh> X-Mailer: git-send-email 2.51.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=1953; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dhCnTqTW6V/Zk5rV1wphXAUMSOxQChQIj+gwx5m52b0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmnzogpr2zR8drLsnW568vXz3/veZsldXfGm77U9V73W Fg++myf2RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATsS5hmMNtIRyxgW9m7555 C3JX7Cq77Zv25TLDgg3zmDWVLPYlfH/YGWuh9eHYVvYfkwE= 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: better fix null deref with partial DT Two versions of the original patch were sent but V1 was merged instead of V2 due to a mistake. So update to V2. The advantage of V2 is that it completely avoids dereferencing the pointer, even just to take the address, which may fix problems with some compilers. Both versions work on my gcc 9.4 but use the safer one. The Linux kernel CVE team has assigned CVE-2023-53364 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4.7 with commit 04a025b17d83d07924e5e32508c72536ab8f42d9 and fixed in 6.4.12 with commit aa402a3b553bd4829f4504058d53b0351c66c9d4 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-53364 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/aa402a3b553bd4829f4504058d53b0351c66c9d4 https://git.kernel.org/stable/c/30c694fd4a99fbbc4115d180156ca01b60953371