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 55AFD3191B2 for ; Fri, 5 Sep 2025 17:23:33 +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=1757093013; cv=none; b=OIoR7keQUHbqR9qMF5q1sGS2DpjJ9Er4NrIrn/m2OudfjIlJyi4QRa23uiAnkvQSg3ss2uTTvw1MSfoj4GfZXMy5uBFxwUxibYSwdjijLAvdaFcNdmqWkjWmUO6JUziiHj1G3SiA9qKVZCFRRQdzrM1pmx5FI/SbzMe5w5pcg+U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757093013; c=relaxed/simple; bh=lcSiNpie30jmw1ms0Bc0STgL3qSPtM4xPTjBBOtBLig=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cs7CKSmK4dJuN4v3T4YYIsAWtF74CIW2QPUD1d61HV7VwdLn6KTGVOGcduo6hxn0UGZ8ZMVAD8FB8T//mEqP2rxv38L4BPS+il2MgKjApNMrPNZdaX3M2Rh/CdIY6VUTrKWZXhVqyd3YcIErfnKYCrXbBZ0EQ0k/7T2K4mootPU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=boHHCttW; 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="boHHCttW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB468C4CEF1; Fri, 5 Sep 2025 17:23:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757093013; bh=lcSiNpie30jmw1ms0Bc0STgL3qSPtM4xPTjBBOtBLig=; h=From:To:Cc:Subject:Date:Reply-to:From; b=boHHCttWe3+YHLYzk3TN3UDhahe15B7ghSn8XoZVyxHLwc5Lj9MI129sbW7s6nHCF 9fY11ZNifV0L4X9Qj5bTo6MA7PqpTZlvjhj2SNKz+qBhB3m7CIUcEh98fvlc1auYnu TqBIMSDKOF8yFy+eeD1KOIgvCZHLpn0SOqn91E7k= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39707: drm/amdgpu: check if hubbub is NULL in debugfs/amdgpu_dm_capabilities Date: Fri, 5 Sep 2025 19:21:20 +0200 Message-ID: <2025090549-CVE-2025-39707-c905@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=1956; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oFNpU1oeXm+wHviSMrlbTb3PR7+DiQJTZtfiOTSkCcI=; b=owGbwMvMwCRo6H6F97bub03G02pJDBm7pT/KmoR9bvRQv1r2r+Kf+JKramdf3lv83mnP9XuxU 1h+ps9e3hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATUa9nWDD/95O/v9nPdHzY N4ErU7pQvCtldzLDgiNfS8w3eKntE2Hmi5lacljJ1nl9OwA= 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/amdgpu: check if hubbub is NULL in debugfs/amdgpu_dm_capabilities HUBBUB structure is not initialized on DCE hardware, so check if it is NULL to avoid null dereference while accessing amdgpu_dm_capabilities file in debugfs. The Linux kernel CVE team has assigned CVE-2025-39707 to this issue. Affected and fixed versions =========================== Fixed in 6.12.44 with commit 83cfdc2b018cd9c0f927b781d4e07c0d4a911fac Fixed in 6.16.4 with commit 98e92fceb9507901e3e8b550e93b843306abd354 Fixed in 6.17-rc1 with commit b4a69f7f29c8a459ad6b4d8a8b72450f1d9fd288 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-39707 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_debugfs.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/83cfdc2b018cd9c0f927b781d4e07c0d4a911fac https://git.kernel.org/stable/c/98e92fceb9507901e3e8b550e93b843306abd354 https://git.kernel.org/stable/c/b4a69f7f29c8a459ad6b4d8a8b72450f1d9fd288