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 864FC27147D for ; Wed, 1 Oct 2025 11:52:22 +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=1759319542; cv=none; b=Yg9YhQdj2DRAl8/vwvdu1Qn8AVojfN+YqIrybU36SjmgUevHvxcN9zrp4rcFUBGNpCwsrOF7MvUKp8IPDLbDD638KYQnISi7JYLZjhbZ8WXj2qN4tJAJK4lD6KMSkPjzHCPnS1R9pEeurtZ1spRWtzfxWNDbEBNC58qQ/CroMI4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319542; c=relaxed/simple; bh=P0NgX0H4Zgy1FJX2LH1EFcs7gHLPpjRkxPi+YTRqRwU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QEkfmQQClDTdjnWLYsNloDaQwxC4yGz6GyQGtE9g1v1KvyUaSm7gomBMxXhm4/RshqBl8wMrGfvjhOnZ99PiQ9NLSjGCGlM7I+Lmu2S86wzcDx1jOZ5/qL2+qJ9XidhYma8IwLry7xlsDqAZhn3qvOjZ8RwcxiSC0ubf00iuwlA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=u8F7s3mD; 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="u8F7s3mD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4E23C4CEF4; Wed, 1 Oct 2025 11:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319542; bh=P0NgX0H4Zgy1FJX2LH1EFcs7gHLPpjRkxPi+YTRqRwU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=u8F7s3mDo5GdtCZULgMtL/gq3g2YRDYeHAe63EBDtaiULzHulddbou8UWZ/zZlUKL ks4mkSvJgtkC6o/kP38jML4f1t1hikqaP5+P8CCTPKqJtlsp6yrUxapH5iB/n69i3S lxBsGkkSghEZymqsDWzIkoVrtq43ARYMmtQRA7kE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53449: s390/dasd: Fix potential memleak in dasd_eckd_init() Date: Wed, 1 Oct 2025 13:42:19 +0200 Message-ID: <2025100103-CVE-2023-53449-b49f@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=2835; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iNTbFqvo8ZRMmeKQGavcBnEegStRKuh+Mijo8612mpE=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hbsdm9jmva0NWae68Z+AypFXM84oCNpUcgYfW3MhM GSm3YaVHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR834M8wPWy5ovvaPjW3v0 9nFpFu5TdgumajPMT159/HrW90SPEJPwtt2CGz7ceC3pBQA= 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/dasd: Fix potential memleak in dasd_eckd_init() `dasd_reserve_req` is allocated before `dasd_vol_info_req`, and it also needs to be freed before the error returns, just like the other cases in this function. The Linux kernel CVE team has assigned CVE-2023-53449 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit 9e12e54c7a8f616190beffb0f7ce778a86aec175 and fixed in 5.4.235 with commit ee986d80acdef710a886be404308188ea11000c8 Issue introduced in 5.3 with commit 9e12e54c7a8f616190beffb0f7ce778a86aec175 and fixed in 5.10.173 with commit a50e28d433acf22258f9f34831057387f04ef074 Issue introduced in 5.3 with commit 9e12e54c7a8f616190beffb0f7ce778a86aec175 and fixed in 5.15.99 with commit 544a552be0869231799784279d52704c4d314d33 Issue introduced in 5.3 with commit 9e12e54c7a8f616190beffb0f7ce778a86aec175 and fixed in 6.1.16 with commit ef3a7ffc0a6f833578bc8d1dcb79d0633c7e4ec3 Issue introduced in 5.3 with commit 9e12e54c7a8f616190beffb0f7ce778a86aec175 and fixed in 6.2.3 with commit aede5230d154b6b237985ec9df7ebbd1dce96810 Issue introduced in 5.3 with commit 9e12e54c7a8f616190beffb0f7ce778a86aec175 and fixed in 6.3 with commit 460e9bed82e49db1b823dcb4e421783854d86c40 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-53449 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/block/dasd_eckd.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/ee986d80acdef710a886be404308188ea11000c8 https://git.kernel.org/stable/c/a50e28d433acf22258f9f34831057387f04ef074 https://git.kernel.org/stable/c/544a552be0869231799784279d52704c4d314d33 https://git.kernel.org/stable/c/ef3a7ffc0a6f833578bc8d1dcb79d0633c7e4ec3 https://git.kernel.org/stable/c/aede5230d154b6b237985ec9df7ebbd1dce96810 https://git.kernel.org/stable/c/460e9bed82e49db1b823dcb4e421783854d86c40