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 7577314EC73 for ; Wed, 26 Feb 2025 01:59: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=1740535189; cv=none; b=atsjFV6xO64/+eEgUVnXS3S0xPErNPUW6Rkcc9Lm7IpuN9xZVtAyVqqhRmHcByr81ZyTxfarYy+FXeKhx9q3SwOCda5Ylpng3WTvaLvW1QHGmvO/NrkWpRcVry0Jrk4t+l/2v1qmVFVKEWAvpTQ79fa6OXHPJAA6mJq24XKnGMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535189; c=relaxed/simple; bh=loW867Vvq8cXclGPATxzb0MQ4DGza0ZmXpB0ccm+9R0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GKpz4S+IQXvNKp5+uVi7psCf3RIgffQGcDHu1u5ECnX/yc/7MvVnqiB+bLpC65hhyfFWvtvtwSMPEyR8n8DzKLwjieCDtbUzkjE0+n6iYjKIY3ELNbSJV1oXh+gmHUgE5kEvg7MV/dX5kwgqt5igo0C3QSAxTHwv+dgo9FjZWYw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1T7F21SQ; 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="1T7F21SQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BC75C4CEDD; Wed, 26 Feb 2025 01:59:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535189; bh=loW867Vvq8cXclGPATxzb0MQ4DGza0ZmXpB0ccm+9R0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1T7F21SQ6veJJTM6YdE3GvWsoXsi5IW27t9kdzgCW+7BN/A5btnacm3sFPCiQ6IPo Q/keMrIbVmCwsRm3AOKQCQB3bPWI77CzCMmQOoS+KWomb5KXCKmHqEysQTcilFjv41 JoXjnWotgpFCX+i40Ul6UeBlPte5P9ZwUJzmaZfI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49233: drm/amd/display: Call dc_stream_release for remove link enc assignment Date: Wed, 26 Feb 2025 02:57:18 +0100 Message-ID: <2025022623-CVE-2022-49233-43db@gregkh> X-Mailer: git-send-email 2.48.1 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=2044; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=loW867Vvq8cXclGPATxzb0MQ4DGza0ZmXpB0ccm+9R0=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SvxFn5teLZrVkrdQl80sbmcqX6vfupIF/A8Nl19bk tOy+M7xjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIrgvDgskeZp8kuaptvl75 K1dW+62mX9/lHcOC2YevPEmUVXApXCieF7c7sbVvWQETAA== 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: drm/amd/display: Call dc_stream_release for remove link enc assignment [Why] A porting error resulted in the stream assignment for the link being retained without being released - a memory leak. [How] Fix the porting error by adding back the dc_stream_release() intended as part of the original patch. The Linux kernel CVE team has assigned CVE-2022-49233 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 0bb24555858403671657f6dc025d2931e3e857bb and fixed in 5.17.2 with commit a28b7b6a0c827ce672edcdb5b2b5916b0beebe03 Issue introduced in 5.17 with commit 0bb24555858403671657f6dc025d2931e3e857bb and fixed in 5.18 with commit f2bde8349c35d01d7c50456ea06a5c7d5e0e5ed0 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-2022-49233 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/gpu/drm/amd/display/dc/core/dc_link_enc_cfg.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/a28b7b6a0c827ce672edcdb5b2b5916b0beebe03 https://git.kernel.org/stable/c/f2bde8349c35d01d7c50456ea06a5c7d5e0e5ed0