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 6D2281F541E for ; Mon, 15 Sep 2025 14:46:36 +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=1757947596; cv=none; b=qRhdEUjWfk5do/9BeP5AnB5UOZh7bRqrlQY3NBI5VyclgV8Mj7JBBurskn1h4D6jhte2hUWRLnxiobB8lgWN2Z/oXNilCwq3yXb665HTocD+z7lMn/5oTXdViAY4rv/pNSbTgM2yGgcuCdRlqrJTtFEf45+VT8TdtMPMcSkm5sY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757947596; c=relaxed/simple; bh=pDTBXJ56oRCHU4XhFqDuJL5fMNxeL8+P1i1NGAc5Yz4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PayQ+QnJEdWSdqgNWTU7LdW9K05inmjvZgDGnYIAPLE7ayGQUmU19wAKFDAC4HxAphf5D/yg8+uMNoBtnyWS0MsS0nQC6DKOAzAbJWApz+ldEBgca0Hri+/t/uZ9fEaVnimXyCXIkl4h2Z+/yrVGn2dIwGOrUBTm/PJWaBZzMss= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XjDVLdeq; 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="XjDVLdeq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 365B5C4CEF1; Mon, 15 Sep 2025 14:46:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757947595; bh=pDTBXJ56oRCHU4XhFqDuJL5fMNxeL8+P1i1NGAc5Yz4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XjDVLdeqbuplahPQk6CGIX5IA3ZDwCtUrsDqOhk/wp4GUUwJOdKAECSyuju6Nw2BP YEwbUhrBEV+nejzo2LAlcliyX2UsyMcmCYaxIXSYBQcCehZKOjnE7oirtUXW2585nd G1KB8wwuyQSPbt9oLt8xtfZUGvtyRxdWA0Bzwk5c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50292: drm/msm/dp: fix bridge lifetime Date: Mon, 15 Sep 2025 16:45:54 +0200 Message-ID: <2025091556-CVE-2022-50292-cb74@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=2473; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=w0oo/yzK0YlNSfdWCzfji23S4+0vTx47gU9h+p7f2BQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn1Jb4ZO6rvH7fLNfyrDtryeITnVvcT6QcvHRjy0ruI NMfV40EO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiBVsZ5rtOfP27bhuP/iHW 3KJz1U0uv7wf32eYw/FywQbfpz7rVK5H9aUbv1kT7bfzGQA= 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: drm/msm/dp: fix bridge lifetime Device-managed resources allocated post component bind must be tied to the lifetime of the aggregate DRM device or they will not necessarily be released when binding of the aggregate device is deferred. This can lead resource leaks or failure to bind the aggregate device when binding is later retried and a second attempt to allocate the resources is made. For the DP bridges, previously allocated bridges will leak on probe deferral. Fix this by amending the DP parser interface and tying the lifetime of the bridge device to the DRM device rather than DP platform device. Patchwork: https://patchwork.freedesktop.org/patch/502667/ The Linux kernel CVE team has assigned CVE-2022-50292 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit c3bf8e21b38a89418f2e22173b229aaad2306815 and fixed in 6.0.7 with commit 7eda6977e8058dd45607a5bbc6517a0f42ccd6c9 Issue introduced in 5.19 with commit c3bf8e21b38a89418f2e22173b229aaad2306815 and fixed in 6.1 with commit 16194958f888d63839042d1190f7001e5ddec47b 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-50292 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/msm/dp/dp_display.c drivers/gpu/drm/msm/dp/dp_parser.c drivers/gpu/drm/msm/dp/dp_parser.h 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/7eda6977e8058dd45607a5bbc6517a0f42ccd6c9 https://git.kernel.org/stable/c/16194958f888d63839042d1190f7001e5ddec47b