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 51366273D6F for ; Wed, 1 Oct 2025 07:47:37 +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=1759304858; cv=none; b=MjVWyvA5e31VsZqAtlmRmwFbFZ/sxamvQ6HM2ARUqcGRK1pEfquMIvts0IcxgiBaOAu3rTGfF0z/G1Mjpzx4jaQKaLSbuIWjBmPXCTmcbRWuXey8MWFbOptZcDH/RcR/buAhRkmtxtLdiRMS0ImNGFzhPGA8CVdBXbdD2we73H0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759304858; c=relaxed/simple; bh=kRzUbuzVsvFaZB83K/VEex9VAlTVJZ6N2mAC4qnsn98=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kc5FkfhK8ragXHzlFBD6JVFbma9b//B5PJdfOkgWKfnKGihULbbbgvjyFecGGFE1YbKWwNmQkgTKn1bxn6KZkzvmA11vqDuyiGpBJcPFTHfBqKcptoAxQg5Ecv+7mEfc/j7qIgnUAg3u7iMZL3ABPQOpPgogNh9ktls3kHlSDs8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=tLfwdSzd; 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="tLfwdSzd" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 57CBAC19421; Wed, 1 Oct 2025 07:47:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759304857; bh=kRzUbuzVsvFaZB83K/VEex9VAlTVJZ6N2mAC4qnsn98=; h=From:To:Cc:Subject:Date:Reply-to:From; b=tLfwdSzdgMw2hVbbIbikSZF6QRhEKq3BKASLM7Y+qkKTg49ApbTWEM70pfTTec+YR yaGYEefqloVHCgxsrgghNg+4MPlfoR1sW1XEtPU6Zlu5MPdeMog2GGbT9QYej+Z83w 2tbPlADga7erLD5v6QZcO9qqOd5GQfThonQSqLu8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39906: drm/amd/display: remove oem i2c adapter on finish Date: Wed, 1 Oct 2025 09:47:11 +0200 Message-ID: <2025100108-CVE-2025-39906-5913@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=2029; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uBYlr0/dgTvTOWptRNly3lIuMZeu0qsCawnDsuD8F4w=; b=kA0DAAIRMUfUDdst+ykByyZiAGjc3H3ILW8fUtHLATGcfmso/TZny5dypUKZo/GSJqk1PKTws ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmjc3H0ACgkQMUfUDdst+ykSmgCeLiYh J6+wAVNdWx6ax2pax44rrYEAoJfrLJMj9Vz/blEJQ7IsRMT4Kf1M 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: remove oem i2c adapter on finish Fixes a bug where unbinding of the GPU would leave the oem i2c adapter registered resulting in a null pointer dereference when applications try to access the invalid device. (cherry picked from commit 89923fb7ead4fdd37b78dd49962d9bb5892403e6) The Linux kernel CVE team has assigned CVE-2025-39906 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 3d5470c973149f479572dcf4eea064775041ea6c and fixed in 6.16.8 with commit c686124bcf06253620790857ff462f00f3f7a4ab Issue introduced in 6.15 with commit 3d5470c973149f479572dcf4eea064775041ea6c and fixed in 6.17 with commit 1dfd2864a1c4909147663e5a27c055f50f7c2796 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-39906 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 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/c686124bcf06253620790857ff462f00f3f7a4ab https://git.kernel.org/stable/c/1dfd2864a1c4909147663e5a27c055f50f7c2796