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 7C90234A777 for ; Wed, 24 Dec 2025 13:11:04 +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=1766581864; cv=none; b=u3jBHR+IuzfueFcvnHV/IJN8+hCwWCbdaZILmO1S29+7I7oihUhYLpoQYHBgCPJ2UUgV4p6xR+cgdiRI6h1vUFpwP1S7a7OtqCYjM6aMBWOI3/g6nwymlSUC3kItNGib23DpD37B0iM4sNA71M+4fK7lbqxEQdwP9OvX1wTmKbE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581864; c=relaxed/simple; bh=aGkx7iaRGha8bgpJJGHQjKu0rJm0AiRvpBbK/0xjCuk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bya2rMJe+z30iZGfRo6tMUYwd8CdzdR/SOTqMo8kb/p2p6dxidLM6lnzLcSLV699jdL3WujJjfij3695t365cBV4ooLaqKIfMwE0TMxdZs+ydHOhOb4AbLTP26EDiWHQy+iCHB8Pd3C3IrVDSBJalgQGIZx3UF5mx097fGaqwUs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XbnRaLGQ; 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="XbnRaLGQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 090ADC4CEFB; Wed, 24 Dec 2025 13:11:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581864; bh=aGkx7iaRGha8bgpJJGHQjKu0rJm0AiRvpBbK/0xjCuk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=XbnRaLGQrEtb69mawd52kh0i/944ZZCWZSZRP50FpCisqHjGhpgb+kTueGRgExYXd qLhUn0bitb5NhBMjEAISYuOFIKPCqYWhZ4ShqW0z6lAejVDicENxkD+WglM0htpZ0U QKM/i4/uIrKBA7sbw34dRF0KzAzTmy5ESvyyISnE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54101: driver: soc: xilinx: use _safe loop iterator to avoid a use after free Date: Wed, 24 Dec 2025 14:06:58 +0100 Message-ID: <2025122410-CVE-2023-54101-49f5@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=2450; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TJFcl7v7WC0kTBHJAG0q6xJDOqmCGc+dmZo88LGQhsA=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT504Ym43n9zB9O9HjadXjINwvq/EKVPG7o+6H+vqe C8+6XjUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPhcGKYX8Ac7KJ2xHHutjD1 aLclByYdn/B4LsNc2UkR/BOniDpMPjxrwfXf1f3VcdOFAA== 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: use _safe loop iterator to avoid a use after free The hash_for_each_possible() loop dereferences "eve_data" to get the next item on the list. However the loop frees eve_data so it leads to a use after free. Use hash_for_each_possible_safe() instead. The Linux kernel CVE team has assigned CVE-2023-54101 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit c7fdb2404f66131bc9c22e06f712717288826487 and fixed in 6.1.39 with commit 49fca83f6f3f0cafe5bf5b43e8ee81cf73c2d5e0 Issue introduced in 5.17 with commit c7fdb2404f66131bc9c22e06f712717288826487 and fixed in 6.3.13 with commit f16599e638073ef0b2828bb64f5e99138e9381b5 Issue introduced in 5.17 with commit c7fdb2404f66131bc9c22e06f712717288826487 and fixed in 6.4.4 with commit 256aace3a5d8c987183ba4832dffb36f48ea7d3b Issue introduced in 5.17 with commit c7fdb2404f66131bc9c22e06f712717288826487 and fixed in 6.5 with commit c58da0ba3e5c86e51e2c1557afaf6f71e00c4533 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-54101 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/49fca83f6f3f0cafe5bf5b43e8ee81cf73c2d5e0 https://git.kernel.org/stable/c/f16599e638073ef0b2828bb64f5e99138e9381b5 https://git.kernel.org/stable/c/256aace3a5d8c987183ba4832dffb36f48ea7d3b https://git.kernel.org/stable/c/c58da0ba3e5c86e51e2c1557afaf6f71e00c4533