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 7A84F3D1CA8 for ; Wed, 22 Apr 2026 13:56:41 +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=1776866201; cv=none; b=WA8w6oHEXpgcdtu9rMbjJZ/hLRa8f9GWkWF4wwv+5oSvw1ujWLrHBMWRUbdznYfcXBIAfrh53Qn6zgjSkrxsGMfnFvniGcjqQS0gIyfA2clyTrptyq1/CIpXvGyzZ3wGB+Ck7QxRq9BlsJQz8YGurAAp98MRAZBSBMkUejVAazI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776866201; c=relaxed/simple; bh=s7Um5fWbEMQ2MV9e9okBGBfjism8DAbl86Df+WEZMg4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=SkIy2WouGZiwOgueUXrIKMguRtzi5yMCEEjoGvH1G1B/omgpfHyzRCBly0Mx9+PdWsN0vC+rvdsfRrgORnhpxOxKqhgodHxnuuSXR/bT6ylWWCG5Odc8lPryN5v1WzUClSGWqecd3KLVs7pjbUtv/d9crnd3rdvCpZpEpL1LhKo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ONHuaOsS; 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="ONHuaOsS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5A9DC19425; Wed, 22 Apr 2026 13:56:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1776866201; bh=s7Um5fWbEMQ2MV9e9okBGBfjism8DAbl86Df+WEZMg4=; h=From:To:Cc:Subject:Date:Reply-To:From; b=ONHuaOsSSMk1iaKYWxVjbuFgeWCY/f4IZDEyohjbcGTcT+sSE5tbRuhFTq4S22F7f Z8DKAZPKo32VKE0UBafFSA8SvMRFb/k0YeFgAHNq6LOkDZxV1xr1VRDpol52rv1JEd 3k/HNaxnAyh7LQEFBFmFAY2rlVFsY+FciRwVqcKA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31461: drm/amd/display: Fix drm_edid leak in amdgpu_dm Date: Wed, 22 Apr 2026 15:54:07 +0200 Message-ID: <2026042251-CVE-2026-31461-2b9c@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2037; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=j/Q7Drd4JuhfMMxMfhUJZxXV+cnjKaRwyDCk6alHdgs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkvLr2fH75NTFI5UTg2at2Snfpq4Rz1DxwimhKmZwnm+ hbqXk/riGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImYTWGYp3rl387dm2d4zrgv caTx6e/dVo/vCDDMYk4MP5FYH/dY+/1Voyf901jN0qpeAQA= 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: Fix drm_edid leak in amdgpu_dm [WHAT] When a sink is connected, aconnector->drm_edid was overwritten without freeing the previous allocation, causing a memory leak on resume. [HOW] Free the previous drm_edid before updating it. (cherry picked from commit 52024a94e7111366141cfc5d888b2ef011f879e5) The Linux kernel CVE team has assigned CVE-2026-31461 to this issue. Affected and fixed versions =========================== Fixed in 6.18.21 with commit eb95595194e4755b62360aa821f40a79b0953105 Fixed in 6.19.11 with commit 52db857e94b9be4e6315586602b0257d1d2b165a Fixed in 7.0 with commit 37c2caa167b0b8aca4f74c32404c5288b876a2a3 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-2026-31461 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/eb95595194e4755b62360aa821f40a79b0953105 https://git.kernel.org/stable/c/52db857e94b9be4e6315586602b0257d1d2b165a https://git.kernel.org/stable/c/37c2caa167b0b8aca4f74c32404c5288b876a2a3