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 98F2728D831 for ; Thu, 3 Jul 2025 08:14:18 +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=1751530458; cv=none; b=mP6sxPP24aSSIbs26FpAYV+Lyv9ccsyJ8OAeyfIpQWraIK6QFtoMRCf3uMaIAmAZN6to2DDXV5QQnwxc4YxmsrL1RBWpiSx7z1b1/PTg38r7GBfvMZ/cOrecWldt2PpZU3boQ5bWgWjvpryPUXjwsRP4gstIfoFAfyV9MiK3Hsk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751530458; c=relaxed/simple; bh=/+LMgVhgVZSO1QzJLzUG6J3Vj1ZrNYxgwz81XPH51tk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=c7PswLqzEcQRh+isUm/SKgPs0BT6wQwF5LQ5wybv3SHdvjRP7tfI1tA3Y914Y1bDCzYR0uoLb2cYu2O6yQPUf0g1OPhKn+XeEOmLu42VOC2Ia54kIAXjP+TNVXDklfPzs6BhKcPgiuo0sNcAbmRvqI0Z1eQSirPBDh+iVwcmXNU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1q4/0Leu; 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="1q4/0Leu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D188C4CEE3; Thu, 3 Jul 2025 08:14:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751530458; bh=/+LMgVhgVZSO1QzJLzUG6J3Vj1ZrNYxgwz81XPH51tk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1q4/0LeuizIy4SY+neqN3v//3tynkS1nh6YzYMHDDTw6LYvorVE1cbL2tQDdTSFxw Cbv7NEuTj31iIAxzClyFYrMa59MHM/TiR7Wbx9sC2aeFWnTlMi/ELWN3bfrV4TcqRG PJb3HvTrxBhi2JywHDXHgMfrpe5A1Lv9PcfCnTvY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38098: drm/amd/display: Don't treat wb connector as physical in create_validate_stream_for_sink Date: Thu, 3 Jul 2025 10:14:06 +0200 Message-ID: <2025070305-CVE-2025-38098-2802@gregkh> X-Mailer: git-send-email 2.50.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=2102; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=b/hbvgGq3KZOEVO9M+qU7NVpar4Mor5y8Jh3WOmS4SQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlp1meFpeavzRe6aHFSg4O3RPiklIq04mxD6ZhHl/48Y 7ldfUWkI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACby/R/DgiPRL1rd1zs8urL0 /+yU++y3I9OX7mGYnxy8ZNaVJ4JT/jGfeXCe5b3k3EUXGAA= 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/amd/display: Don't treat wb connector as physical in create_validate_stream_for_sink Don't try to operate on a drm_wb_connector as an amdgpu_dm_connector. While dereferencing aconnector->base will "work" it's wrong and might lead to unknown bad things. Just... don't. The Linux kernel CVE team has assigned CVE-2025-38098 to this issue. Affected and fixed versions =========================== Fixed in 6.12.31 with commit b14e726d57f61085485f107a6203c50a09695abd Fixed in 6.14.9 with commit 18ca68f7c657721583a75cab01f0d0d2ec63a6c9 Fixed in 6.15 with commit cbf4890c6f28fb1ad733e14613fbd33c2004bced 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-2025-38098 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/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.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/b14e726d57f61085485f107a6203c50a09695abd https://git.kernel.org/stable/c/18ca68f7c657721583a75cab01f0d0d2ec63a6c9 https://git.kernel.org/stable/c/cbf4890c6f28fb1ad733e14613fbd33c2004bced