From mboxrd@z Thu Jan 1 00:00:00 1970 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 01DFF7F9 for ; Sat, 11 Jan 2025 14:31:33 +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=1736605894; cv=none; b=YD3MmCL+ZqTxX1XzrIM5lCHfRylFi7jySRzCeE8sqq6Ev5Aewc57WWwy+jiAyvLKtMKmnvPAh0D1evclb57wcGbDnli6z3HZOrVrF/vVTtJjjJ8lJbV3KZmjgnNwUU5QWqlQRpeYm9AVL41OfwJ0uKoqbhsByKugqXLAIe8uKOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736605894; c=relaxed/simple; bh=270I9zPJ6ApVt8LGM14JCjg420rQqdxf1ai2jYMJuao=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=L/xPnx0KBkB393jlVgKl0oQHkMZo0P8dukJnR+4VEknjhUc8MNa8X+7v9Epfr0F3MSlWoR28fNfhlIveIfUR8CUUqsx0nL5nGKz9u0KFVg6q3UQYK9Bm2KXwRJY1OrroMNbXTNb+a+MsxUwg9LhhRHmyUqYHU1JiMHZXpenkaIU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=pyyoCJY9; 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="pyyoCJY9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51D9BC4CED2; Sat, 11 Jan 2025 14:31:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736605893; bh=270I9zPJ6ApVt8LGM14JCjg420rQqdxf1ai2jYMJuao=; h=From:To:Cc:Subject:Date:Reply-to:From; b=pyyoCJY9YC+5b0ULYNcD8c8M22KfhG/73xTVpBC64RLjEc91h8HttXBjD0kRpft19 dN13l/3sYXLrv8KuxZm1s7ZzUMjsU9qm0kc8zD/MfNplxQUaFowNJvWPwdgavNt8kT /BYMXFZl8s47mJJ6OtZgAPgKaLfPkirkXFN1M+MY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57872: scsi: ufs: pltfrm: Dellocate HBA during ufshcd_pltfrm_remove() Date: Sat, 11 Jan 2025 15:31:06 +0100 Message-ID: <2025011104-CVE-2024-57872-28ee@gregkh> X-Mailer: git-send-email 2.48.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=1912; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=270I9zPJ6ApVt8LGM14JCjg420rQqdxf1ai2jYMJuao=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlNDSsUHy7azZ205fQv74USJ9IlRf6FpdX+0ew/x1PLO 4+97OO9jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIUgmGBYue1d949MOj29mh /W23la7nv4/JcgwLjnId/3zIbDbHXy0V90nv3ar3p9Y0AwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: pltfrm: Dellocate HBA during ufshcd_pltfrm_remove() This will ensure that the scsi host is cleaned up properly using scsi_host_dev_release(). Otherwise, it may lead to memory leaks. The Linux kernel CVE team has assigned CVE-2024-57872 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit 03b1781aa978aab345b5a85d8596f8615281ba89 and fixed in 6.12.5 with commit cd188519d2467ab4c2141587b0551ba030abff0e Issue introduced in 3.10 with commit 03b1781aa978aab345b5a85d8596f8615281ba89 and fixed in 6.13-rc2 with commit 897df60c16d54ad515a3d0887edab5c63da06d1f 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-2024-57872 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/ufs/host/ufshcd-pltfrm.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/cd188519d2467ab4c2141587b0551ba030abff0e https://git.kernel.org/stable/c/897df60c16d54ad515a3d0887edab5c63da06d1f