Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 68F2F3002A0 for ; Thu, 25 Jun 2026 08:43:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782376988; cv=none; b=WwBRIeMHoxCBqm8S2kWSN4g7oc3zmHKoqUIbygbyovS2LgdbGgvRKZ4BzKWh8H9QOLTHIWOLOabXzWt6RMKJtlcJOK4b5EIuBb5p9wF4HwY1toqLJZaVTq5Nbkw8kRaSvIZICrDay/nPQ5qPQAUQlPnCoS/8R7eu4INvJ/neGLQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782376988; c=relaxed/simple; bh=tugLjTL9iZJ9ri6CnkFR2vj3C8c+yErlDUg5xx9XqoQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ad3ESeRHeRcenxiI0S2V7YrDQZSf4yvuKOl2wh1oI53Uogkpekuf+UQI6F3UmeviSxa4ELBEf7w6ci0Ml0mQRL7QVifeUCS2w/G+28hPLAUr9Uoudjhs9X6016+2E8J6LwHLRP+jf+2xfKB4bGUJu5x6D7gNSaMO5zUutoRIxxM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=jU8Nz4Kj; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="jU8Nz4Kj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id ADAE61F000E9; Thu, 25 Jun 2026 08:43:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782376987; bh=lrbniMHdrqmUnn1DstMfbTFmf6UKV47Jw1Mvp7ISr+M=; h=From:To:Cc:Subject:Date:Reply-To; b=jU8Nz4KjfNoZaFrdhfKB/M1+B+PRrQLHXiB36ZX6vGPXP4sZPvm3r2J56QYgfWbVk aR4lMCmdC9s/3oNMJEq9bqvTdoN0HWOaljA/qTXekKoYYOCnvWmA5jR6hqYfaLCsCs nJ3mUqebTSxEaYC8JP4u+TF0baAEddkexAH57BSA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53135: drm/amd/display: Fix NULL deref and buffer over-read in SDP debugfs Date: Thu, 25 Jun 2026 09:39:43 +0100 Message-ID: <2026062542-CVE-2026-53135-2c56@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=3838; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=J0yUrMBUtHUl+AXs48yBWtmQoykNwNGdWj+EaNtIlKE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2L/2s1dYwG0h+Y+O+Hm05J77j8MIH9WoMXWqy7FZH3 u66tqavI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaSPIVhweWuHlaNR1daAvJs v5W3stWdeaJ+hWHBvAOLVZf+XDJJ3myWnv4u4bq1P/cnAQA= 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 NULL deref and buffer over-read in SDP debugfs [Why & How] dp_sdp_message_debugfs_write() dereferences connector->base.state->crtc without checking for NULL. A connector can be connected but not bound to any CRTC (e.g. after hot-plug before the next atomic commit), causing a kernel crash when writing to the sdp_message debugfs node. The function also ignores the user-provided size argument and always passes 36 bytes to copy_from_user(), reading past the user buffer when size < 36. Fix both issues by: - Returning -ENODEV when connector->base.state or state->crtc is NULL - Clamping write_size to min(size, sizeof(data)) (cherry picked from commit 6ab4c36a522842ff70474a1c0af2e40e50fc8300) The Linux kernel CVE team has assigned CVE-2026-53135 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit c7ba3653e9773256b2b08508a2ed2ca28ea7566b and fixed in 5.10.259 with commit ee9cfcf77a8e8af637396dc00966df5f701e661c Issue introduced in 5.2 with commit c7ba3653e9773256b2b08508a2ed2ca28ea7566b and fixed in 5.15.210 with commit b781f90a9528555c709e59789550893581ef0be4 Issue introduced in 5.2 with commit c7ba3653e9773256b2b08508a2ed2ca28ea7566b and fixed in 6.1.176 with commit a2de1d71891a038a9346b2c1a72b88c8350f2479 Issue introduced in 5.2 with commit c7ba3653e9773256b2b08508a2ed2ca28ea7566b and fixed in 6.6.143 with commit 7fc4fab4acc307ad2903312c195872b2953d32c3 Issue introduced in 5.2 with commit c7ba3653e9773256b2b08508a2ed2ca28ea7566b and fixed in 6.12.94 with commit 7ae95c0275c330b5dbae806f8e431720edad776f Issue introduced in 5.2 with commit c7ba3653e9773256b2b08508a2ed2ca28ea7566b and fixed in 6.18.36 with commit bb6f705b73b5f191f14ad004e2c8c4b615806187 Issue introduced in 5.2 with commit c7ba3653e9773256b2b08508a2ed2ca28ea7566b and fixed in 7.0.13 with commit c90954cdea4d6998ec345de0d840d030c145b89e Issue introduced in 5.2 with commit c7ba3653e9773256b2b08508a2ed2ca28ea7566b and fixed in 7.1 with commit adf67034b1f61f7119295208085bfd43f85f56af 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-53135 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/ee9cfcf77a8e8af637396dc00966df5f701e661c https://git.kernel.org/stable/c/b781f90a9528555c709e59789550893581ef0be4 https://git.kernel.org/stable/c/a2de1d71891a038a9346b2c1a72b88c8350f2479 https://git.kernel.org/stable/c/7fc4fab4acc307ad2903312c195872b2953d32c3 https://git.kernel.org/stable/c/7ae95c0275c330b5dbae806f8e431720edad776f https://git.kernel.org/stable/c/bb6f705b73b5f191f14ad004e2c8c4b615806187 https://git.kernel.org/stable/c/c90954cdea4d6998ec345de0d840d030c145b89e https://git.kernel.org/stable/c/adf67034b1f61f7119295208085bfd43f85f56af