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 040323375AA for ; Mon, 15 Sep 2025 14:48:49 +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=1757947729; cv=none; b=W8ArXssypauRDm6pTDtBa+whEaeKcYpACBlydimxrHE3U6YhtryvKeVvvq2vwxzemFC9GdhSgh6YoRkVlA6Lc2CLee4YNnc2dBNGyXJEt3430RTNnO1Xr73eQgFZaIlWEQBTW6VQ2Vs6mfRvSdCPTl6sjdw9EPs9v45B/ZgZ7Ns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757947729; c=relaxed/simple; bh=K+pFwuWl0H7p5UEebl8JeukBYJb/1IADZe5B6Wx9zaA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AvMiw8zsKWxCwF6Fmw9NjS73IDJ/8Pxd6GvMBYDIebB5bLKDZl66Ao9S+5tx6YaJtwg5nQ0Cnr6bXn6d36pO0L0+UDlBBiMuGpWidFWzay0hMiIDjjXDBPziWWrLQHi8bTJ3B2LE7lETOu+gO9TxUjA0F4XnhkhIglFnpRwSw8s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xRMKY1ZV; 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="xRMKY1ZV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69B0FC4CEF1; Mon, 15 Sep 2025 14:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757947728; bh=K+pFwuWl0H7p5UEebl8JeukBYJb/1IADZe5B6Wx9zaA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xRMKY1ZVG2l5EBThkRy6FezvzJp0H32YfLKcfZq6BQEqPO+GuzobLyDtjT6BrPtod YqrsygL4UG8dQZWa9Y5ZWQkAvlWVYMnehaucYvEuSZwLYIJkDt6eyqdEo6zaaWjTjC /woEDAdhZmMC1LFl6DDl0ZnmzUeSQnD2Rq4L8wjs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53255: firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool() Date: Mon, 15 Sep 2025 16:46:30 +0200 Message-ID: <2025091503-CVE-2023-53255-ba5b@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=2960; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aGd20gDybCk0DgWjWhM/Qxmmo2AqEQaTDjwYDeNN9jY=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn1FYH/uut/8f4uvdP6a4y+4JnfFP2+7pPMdf8nnRD9 StDVnplRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkNpNhDvftCQl/gpKdTpXW My55VurEeex9HsMcvpCOnffiLSWFV9hJzfOd2tDxfVcZAA== 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: firmware: stratix10-svc: Fix a potential resource leak in svc_create_memory_pool() svc_create_memory_pool() is only called from stratix10_svc_drv_probe(). Most of resources in the probe are managed, but not this memremap() call. There is also no memunmap() call in the file. So switch to devm_memremap() to avoid a resource leak. The Linux kernel CVE team has assigned CVE-2023-53255 to this issue. Affected and fixed versions =========================== Issue introduced in 5.0 with commit 7ca5ce896524f5292e610b27d168269e5ab74951 and fixed in 5.4.251 with commit e3373e6b6c79aff698442b00d20c9f285d296e46 Issue introduced in 5.0 with commit 7ca5ce896524f5292e610b27d168269e5ab74951 and fixed in 5.10.188 with commit c04ed61ebf01968d7699b121663982493ed577fb Issue introduced in 5.0 with commit 7ca5ce896524f5292e610b27d168269e5ab74951 and fixed in 5.15.121 with commit 974ac045a05ad12a0b4578fb303f00dcc22f3aba Issue introduced in 5.0 with commit 7ca5ce896524f5292e610b27d168269e5ab74951 and fixed in 6.1.40 with commit cb8a31a56df8492fb0d900959238e1a3ff8b8981 Issue introduced in 5.0 with commit 7ca5ce896524f5292e610b27d168269e5ab74951 and fixed in 6.4.5 with commit 7363de081c793e47866cb54ce7cb8a480cffc259 Issue introduced in 5.0 with commit 7ca5ce896524f5292e610b27d168269e5ab74951 and fixed in 6.5 with commit 1995f15590ca222f91193ed11461862b450abfd6 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-53255 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/firmware/stratix10-svc.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/e3373e6b6c79aff698442b00d20c9f285d296e46 https://git.kernel.org/stable/c/c04ed61ebf01968d7699b121663982493ed577fb https://git.kernel.org/stable/c/974ac045a05ad12a0b4578fb303f00dcc22f3aba https://git.kernel.org/stable/c/cb8a31a56df8492fb0d900959238e1a3ff8b8981 https://git.kernel.org/stable/c/7363de081c793e47866cb54ce7cb8a480cffc259 https://git.kernel.org/stable/c/1995f15590ca222f91193ed11461862b450abfd6