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 9BD3F26F44C for ; Sat, 4 Oct 2025 15:19:09 +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=1759591149; cv=none; b=f7EOmEu2hdnhM20iBdjIk+s+syygq84ZAb8+V6WIaowPovmzDb/CZXX0rMT6UIKnmb+VXgs6Oy66rfDQ7x8GFUwLlvpND+POnwXJ0I9s5TkC6rc5UiOYti0HTkpz08bnDs2IhaeK6XiTEXm5zPfnehadb1z36egW5khn03nptQs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759591149; c=relaxed/simple; bh=vsUDuGHGfW9U8PUhldQLbK9HrPQvDQTfTT9Wxn3Wlw0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Hf/XPfmnII1/91ecThovIWL6CuZNU9nchQWkWA84uYAfZzDPq1CNGMgnl0Uh6DOU4v/pkeJVuU7f7LMcK+ImgyB7Fg9lT2KnqMDnUEd311ac0d5V3eudaTlgIlJz/47mF3WO3dgb32Ux/XCCOyvfH+r0LiQ5wfqRA2FoiMeEs/w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TuqWmvJu; 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="TuqWmvJu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C8A24C4CEF1; Sat, 4 Oct 2025 15:19:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759591149; bh=vsUDuGHGfW9U8PUhldQLbK9HrPQvDQTfTT9Wxn3Wlw0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TuqWmvJurHRQmXYMISqc+NP9R0heM4QI/vGQQHKGyAdsEd5ehe6R5B66PRgLkkSCW AjWmJ6/nChh+m4scPJFXpyMW7ka39pIIw1DQlPFFCepScmzy6ldmP4unt1U+9rXdoc Hmu/RI5cYwhsMAglOjvFlygQGd9ymhREk2lLUukk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53568: s390/zcrypt: don't leak memory if dev_set_name() fails Date: Sat, 4 Oct 2025 17:17:22 +0200 Message-ID: <2025100452-CVE-2023-53568-0020@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=2777; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vlZ3APslG4tCnMLjJHU6gwFcxKY+NvloE1thhLjJd00=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkPrVLOKJnzvtXbcPfSmk/G8hFtBRbSiwNm8xYLd0/O9 K3+PL+rI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaiO5Fhrox7pbEmo6pDg4Tc NM5rZwR2zfCYzjA/deoG/tgDHkeXl2uf29AoOLnreL8/AA== 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: s390/zcrypt: don't leak memory if dev_set_name() fails When dev_set_name() fails, zcdn_create() doesn't free the newly allocated resources. Do it. The Linux kernel CVE team has assigned CVE-2023-53568 to this issue. Affected and fixed versions =========================== Issue introduced in 4.20 with commit 00fab2350e6b91e57b3cdcd5d9f01056775a921d and fixed in 5.4.257 with commit 6b0cb9c055843777b374309503d89eabeb769355 Issue introduced in 4.20 with commit 00fab2350e6b91e57b3cdcd5d9f01056775a921d and fixed in 5.10.195 with commit 0878052579cb2773caee64812a811edcab6b5a55 Issue introduced in 4.20 with commit 00fab2350e6b91e57b3cdcd5d9f01056775a921d and fixed in 5.15.132 with commit 131cd74a8e38d75239f2c81dfee53d6554eb8bf8 Issue introduced in 4.20 with commit 00fab2350e6b91e57b3cdcd5d9f01056775a921d and fixed in 6.1.54 with commit 147d8da33a2c2195ec63acd56cd7d80a3458c253 Issue introduced in 4.20 with commit 00fab2350e6b91e57b3cdcd5d9f01056775a921d and fixed in 6.5.4 with commit 174f11ef1615ec3ab1e2189685864433c0d855a2 Issue introduced in 4.20 with commit 00fab2350e6b91e57b3cdcd5d9f01056775a921d and fixed in 6.6 with commit 6252f47b78031979ad919f971dc8468b893488bd 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-53568 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/s390/crypto/zcrypt_api.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/6b0cb9c055843777b374309503d89eabeb769355 https://git.kernel.org/stable/c/0878052579cb2773caee64812a811edcab6b5a55 https://git.kernel.org/stable/c/131cd74a8e38d75239f2c81dfee53d6554eb8bf8 https://git.kernel.org/stable/c/147d8da33a2c2195ec63acd56cd7d80a3458c253 https://git.kernel.org/stable/c/174f11ef1615ec3ab1e2189685864433c0d855a2 https://git.kernel.org/stable/c/6252f47b78031979ad919f971dc8468b893488bd