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 BCFE421A432 for ; Wed, 26 Feb 2025 02:24:42 +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=1740536682; cv=none; b=rZhpGOIUIwdh8mLUjvnknxNXuCF0CLTSktGB+E+0Uxj/R0tbPuV0zOi3So/TgRpFy4FbDSK09iBSOOgf3qlajS6kHZr7YXaO4PWMYimxJ60iCljbXtuz0wck/1lVw1/akxroGyUjjb7PwdsSptgTeHOITO3STLd92bWuRQZRdzs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536682; c=relaxed/simple; bh=VsRFhml3K8IngA5i+F2KSuwqXm7uFEAmxGzV2TWY+hA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LWVBGXXDj9pVt9ndkD3tT0YGwSTMbVQmvTEGOE2kwS1PeO+VhS5oA++BVC38rVfUylXl0WkC+FdsD/EHEhhuLZk5zPSuyqs8pBDRd1nRWCuolw1idHLnezbJ+vu+FNKc3U+wdvCQT2LNJuwdvY5e4y2XavN6DU8spmupQdvgx7s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YsHjrsoF; 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="YsHjrsoF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 947A6C4CEDD; Wed, 26 Feb 2025 02:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536682; bh=VsRFhml3K8IngA5i+F2KSuwqXm7uFEAmxGzV2TWY+hA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YsHjrsoFXgnSREIGhcbwqPrfm97tO9+ivMcqf3q480PmYSQZ720ZQ9pEPekzrCW/s xdZrn7eQiY7ukhndCSjIGFlgJu2AaWYPpBPflBQdGj6AQgoxnTiCGutaOqzJUoSlX5 ImQijZlOb9lLIykOH8PubuA+sK16VxPla7xUsm9g= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49644: drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector() Date: Wed, 26 Feb 2025 03:23:27 +0100 Message-ID: <2025022619-CVE-2022-49644-e3b0@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=2730; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VsRFhml3K8IngA5i+F2KSuwqXm7uFEAmxGzV2TWY+hA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qm7nz5ORYbiZE9N6dvLHTJstFb8NpTe9339Ipr5+g 61F7hT/jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIvjaG+QUz9fhn23d+89qS LvZoyvZFv+YdW8kwz3KzzrQvu15kCLAUK3/LPyAzf18HBwA= 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/i915: fix a possible refcount leak in intel_dp_add_mst_connector() If drm_connector_init fails, intel_connector_free will be called to take care of proper free. So it is necessary to drop the refcount of port before intel_connector_free. (cherry picked from commit cea9ed611e85d36a05db52b6457bf584b7d969e2) The Linux kernel CVE team has assigned CVE-2022-49644 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.4.207 with commit 72f231b9a88abcfac9f5ddaa1a0aacb3f9f87ba5 Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.10.132 with commit 592f3bad00b7e2a95a6fb7a4f9e742c061c9c3c1 Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.15.56 with commit 505114dda5bbfd07f4ce9a2df5b7d8ef5f2a1218 Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.18.13 with commit a91522b4279bebb098106a19b91f82b9c3213be9 Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.19 with commit 85144df9ff4652816448369de76897c57cbb1b93 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-49644 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/i915/display/intel_dp_mst.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/72f231b9a88abcfac9f5ddaa1a0aacb3f9f87ba5 https://git.kernel.org/stable/c/592f3bad00b7e2a95a6fb7a4f9e742c061c9c3c1 https://git.kernel.org/stable/c/505114dda5bbfd07f4ce9a2df5b7d8ef5f2a1218 https://git.kernel.org/stable/c/a91522b4279bebb098106a19b91f82b9c3213be9 https://git.kernel.org/stable/c/85144df9ff4652816448369de76897c57cbb1b93