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 24160264F81 for ; Tue, 16 Sep 2025 08:11: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=1758010315; cv=none; b=GEd+9uWsQ7pXhg+XbpJQmikaFdkUYnAeySBZWmZbDuRbSSl3yuQUlctCsGlb+oeXkbnnEMKiFDZtCEoS+6BQtFR4FT7OO+qDIT6Nuzk0V5XZHnfYjQpwA3oXXmmP1uc6NMY4AnsqTpa2SvvNUC9fbvOosr31zMKv9dU2K3hALcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758010315; c=relaxed/simple; bh=u0wXo06SRH8tw8m/6DQG/T9yneQY1GgtQ2ie07FnDuI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N5XpQlMam8NnDvFf1AQ/t4juAvvYA6hv6XmMcH8gimppGlDVGOWJteEFwLYLweWmJo8CaGPLa7V9OkrvPF738iikoFrrqFSZg0n70D84Qt6bgaFPTjYvVDjIS0CG/+TPkG3nJKQ2TqwbAfZfuc6YyWzxRH9dkUlKr2wJw1HFrxo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HyVoj8oU; 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="HyVoj8oU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97986C4CEEB; Tue, 16 Sep 2025 08:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758010315; bh=u0wXo06SRH8tw8m/6DQG/T9yneQY1GgtQ2ie07FnDuI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=HyVoj8oUbEKQlnPxqsO6OoSfREKQ/rKQdxKnH9V1twrI1pk33w11+BFODuyYVQREc xidpLTJCS/S6mHACY9HaIRRSjOtWhO0Q6h15WNOItMeQeLop3+wyDx9kd09hd63/61 OXpV+wMxS+10hq2HWVb/ycdNjWeugPrYXLouvUdo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53267: driver: soc: xilinx: fix memory leak in xlnx_add_cb_for_notify_event() Date: Tue, 16 Sep 2025 10:07:05 +0200 Message-ID: <2025091603-CVE-2023-53267-d25c@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=2195; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HWYY6ny/zL30t86oWZpUJfrztYqQoLPpg3GQGEcOmwY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBknpZbrRbxI/HS5o6Nf4PrFpO1sm06lvltxVmzn3KWL2 naK3fZb1RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATMbjDsGDmzwUbDLoavT82 /tQ38Qn92KZf/p1hwdKrPROXc9i89gvi1D5mfXld2/xjjAA= 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: driver: soc: xilinx: fix memory leak in xlnx_add_cb_for_notify_event() The kfree() should be called when memory fails to be allocated for cb_data in xlnx_add_cb_for_notify_event(), otherwise there will be a memory leak, so add kfree() to fix it. The Linux kernel CVE team has assigned CVE-2023-53267 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 and fixed in 6.1.18 with commit d35290addcbac94b076babe0a798a8c043421812 Issue introduced in 5.19 with commit 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 and fixed in 6.2.5 with commit 9dfb6c784e385f6e61994bb4e16ce12f3e4940be Issue introduced in 5.19 with commit 05e5ba40ea7ab6a99bb8d6117c899d0e13ca8700 and fixed in 6.3 with commit 1bea534991b9b35c41848a397666ada436456beb 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-53267 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/soc/xilinx/xlnx_event_manager.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/d35290addcbac94b076babe0a798a8c043421812 https://git.kernel.org/stable/c/9dfb6c784e385f6e61994bb4e16ce12f3e4940be https://git.kernel.org/stable/c/1bea534991b9b35c41848a397666ada436456beb