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 F22D4264F81 for ; Tue, 16 Sep 2025 08:11:58 +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=1758010319; cv=none; b=HQf3xZEVOmpXPMWp7TbFDGcs4QYK1Wi7Zcz242FhHzRY0cNH2/t6xGSbKXSZo+atoCK4QY53dg3xyzDmefMOqOV+GyhFGUwq0MR5TJXHyBBJvWWpJ/ma+XVOks4L40p3b/UNRCjcLuWm4t2HA1bkSLlqTWPhsMSUS0D/cul5MJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758010319; c=relaxed/simple; bh=mYjMEXXwbklhM4R//cyVmDLX/xiPO76GbFMMYuaTJZI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UoP1jtutk7TnmwBccHmn6SssbS6YmxIZwR+IWNQE4l4La0gHg8rxOCAk/OlgiDiEEtkR5Bbp4m8TASJGH8HgTngrm4G3vfmlGdziwTJ6H4OxoWiM1GYvJFILs1nEYO7AMfYKIfRoxgUyl9OSoA1IXjSWrKu9hbV78ca52Omy+1E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZXSdEirw; 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="ZXSdEirw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C1D5C4CEEB; Tue, 16 Sep 2025 08:11:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758010318; bh=mYjMEXXwbklhM4R//cyVmDLX/xiPO76GbFMMYuaTJZI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZXSdEirweqMoOljevgCt136IBf3PpVfM3BEv+UiVd2iyjM5IG8AUc6JAiiaBL/APl BBvYwAl42/JgZwpNcQPEKanlRIsMyd07MCZLaLNaK4nfw75cC78dGwLQS0a9Q7sAx2 D/K7SJGbSTksbtxmFa4dP4Tpw5993tqoCZEkWPeo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53268: ASoC: fsl_mqs: move of_node_put() to the correct location Date: Tue, 16 Sep 2025 10:07:06 +0200 Message-ID: <2025091603-CVE-2023-53268-3820@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=2942; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=KQGyEIqI1vZ7o5+UYlA4kehi6ntmOK1l1bMQqG7kFrM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknpZbfbsqXM9Nncn0d+1P488nPmj3XlQp/S/ztZizov BVwY7FMRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykfz7DgnWnWYRUjvhEPGL/ 9DRhgkj7qy1stxnmKbcu28MqfE3UWMbOeOX86OLrWf2FAA== 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: ASoC: fsl_mqs: move of_node_put() to the correct location of_node_put() should have been done directly after mqs_priv->regmap = syscon_node_to_regmap(gpr_np); otherwise it creates a reference leak on the success path. To fix this, of_node_put() is moved to the correct location, and change all the gotos to direct returns. The Linux kernel CVE team has assigned CVE-2023-53268 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit a9d273671440c439c4f236123c59dd839c1a0eb7 and fixed in 5.10.180 with commit b5a6930fc6a432e32714c4ed3c597077d999cf6d Issue introduced in 5.5 with commit a9d273671440c439c4f236123c59dd839c1a0eb7 and fixed in 5.15.111 with commit 6a129c0e9935112ecf2ffb6de98f83b8fd090c86 Issue introduced in 5.5 with commit a9d273671440c439c4f236123c59dd839c1a0eb7 and fixed in 6.1.28 with commit 402299cca89273b62384b5f9645ea49cd5fc4a57 Issue introduced in 5.5 with commit a9d273671440c439c4f236123c59dd839c1a0eb7 and fixed in 6.2.15 with commit 9a2585088a7d6f98a5a910f5b4b74b6d24e63156 Issue introduced in 5.5 with commit a9d273671440c439c4f236123c59dd839c1a0eb7 and fixed in 6.3.2 with commit 1bdb4a5ccab2316935ce4ad4fd4df8d36f0ffc6e Issue introduced in 5.5 with commit a9d273671440c439c4f236123c59dd839c1a0eb7 and fixed in 6.4 with commit 1c34890273a020d61d6127ade3f68ed1cb21c16a 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-53268 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: sound/soc/fsl/fsl_mqs.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/b5a6930fc6a432e32714c4ed3c597077d999cf6d https://git.kernel.org/stable/c/6a129c0e9935112ecf2ffb6de98f83b8fd090c86 https://git.kernel.org/stable/c/402299cca89273b62384b5f9645ea49cd5fc4a57 https://git.kernel.org/stable/c/9a2585088a7d6f98a5a910f5b4b74b6d24e63156 https://git.kernel.org/stable/c/1bdb4a5ccab2316935ce4ad4fd4df8d36f0ffc6e https://git.kernel.org/stable/c/1c34890273a020d61d6127ade3f68ed1cb21c16a