From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796046817; b=5rJyZI1LplCq+mSYRDEe60YxwDKx3vgSq9K66UiQIt0VL6UuS5bWupUR4kUB/ltndvax pGYr8AWjwYmowbRP+LI1aEOIs3/J2jcFGxioqiZHkXJ/zXrSIh5lOt8+no2HQiWQE4Aj/ 2qsa3Nb/grX0F1zBuQTXtiCg0P3DFsK3khWbtFaVKdLxYmSVq3rPggC+pkovTFyZIeBb9 H+G7Iu/rtpTA1yZbtVbDS0357SIYtkYtfOqiFNS5AoWhrY+44NsntoBYWg8Ktu0jBKE4z I56TjmR3BwNfksX4nMYq0OqdbzSHQITfnTiTs7l5vmMA5QXBv+zqARguWBaZ9lOPLpA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796046817; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=TMDFVTmbkrDY2ZSV1aCkQSSK504XH9ilf4Ag5f/gq1o=; b=fVQqGzfA2Trf8VogCwYV0H9FiYZLiNZvxxdZUxpOGMR4MF4LWtCfJ/y/qvuesK2OOPtS bHrt/876pdgVi3hSaV3rvVIV1bjw4BszQr/nIjK/FiFqwaxyDN5u2Qj/z01oft/NY1Zgn 8ZuAvUcrQocHw+GI2OIcdsn1TTEB2bsDR3h47YUElsxl6dOHM7UqA2uV33V+wUaNF/0g/ DUfoI46NgMR7MSbkD0zvZNZAlsQVuJ0Tfdmy9BA5JA4AElzXNi3XXEkQLhb2d8rH44FSf IuziieKm6VrD+ve/A6CQNEA7A5AmMAPqu/S9g11sJJzS7QCC4kPUBaraVGhDl8Zl9tA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=AAjdOzFB; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 669B0606A320 for ; Mon, 30 Nov 2026 13:53:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=AAjdOzFB Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F4931F00898; Mon, 30 Nov 2026 13:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1796046817; bh=TMDFVTmbkrDY2ZSV1aCkQSSK504XH9ilf4Ag5f/gq1o=; h=From:To:Cc:Subject:Date:Reply-To; b=AAjdOzFBL1WPp9fwhFsoI1HxA262joq8pPQJbRSSDdwtQcV0t/zIUdChOt5Sh4O5U V7HVn0/OTCo4wewtzDS8dSp7ObacvIk0eiQtUFGVWy1rPfcSFQXcIxliwg/xNS/ulC kjgHtwUe6H9WZRQwxGYJaRiIkqSGD+Apov/Qdigo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-139073: drm/nouveau: don't dereference outp before checking it in nouveau_dp_irq Date: Mon, 30 Nov 2026 14:29:38 +0100 Message-ID: <2026113007-CVE-2026-139073-e69a@gregkh> X-Mailer: git-send-email 2.56.1 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3441; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=98xhjfyRKgMNMnZHLxmXqSuG5PJTu/cSK4uBHjBkFQQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDNm8lfmGt0Q+NSSZpqR2trLnlG/wy79vV/jf+aFTb8C+s IU7ndd2xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETKtjEsOO/qOOPld83lf1Td LLQUPks+rCjNYpjDXfvbSpdd95S0WiRbaLzh1lIJjUsA 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/nouveau: don't dereference outp before checking it in nouveau_dp_irq nouveau_dp_irq() looks the encoder up and dereferences it in the same breath, five lines before testing it: struct nouveau_encoder *outp = find_encoder(connector, DCB_OUTPUT_DP); struct nouveau_drm *drm = nouveau_drm(outp->base.base.dev); ... if (!outp) return; find_encoder() walks the connector's possible encoders and returns NULL when none of them matches the requested type, so the NULL test is not decoration: it is the author saying this can happen. The initialiser above it dereferences the same pointer regardless. The NULL test predates the dereference. commit 773eb04d14a1 ("drm/nouveau/disp: expose conn event class") turned nouveau_dp_irq() into a work callback, and since the drm pointer was no longer passed in as an argument it was recovered from the encoder in the declaration block, which put the dereference above the existing test. Move the drm lookup below the test. No functional change when outp is non-NULL. The Linux kernel CVE team has assigned CVE-2026-139073 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 773eb04d14a11552b2c3953097ed09cde2ab4831 and fixed in 6.6.163 with commit 1a36ca42836cfd956c2c72f70188028bd39d40ca Issue introduced in 6.2 with commit 773eb04d14a11552b2c3953097ed09cde2ab4831 and fixed in 6.12.117 with commit 2a457374b6d7669f888d8b6baff73e8b963a95ea Issue introduced in 6.2 with commit 773eb04d14a11552b2c3953097ed09cde2ab4831 and fixed in 6.18.63 with commit ddae760f399709fdfbf295a06f8eea557302ad9a Issue introduced in 6.2 with commit 773eb04d14a11552b2c3953097ed09cde2ab4831 and fixed in 7.3.4 with commit 998378828857cc20856049b0d1fe6f5b32131659 Issue introduced in 6.2 with commit 773eb04d14a11552b2c3953097ed09cde2ab4831 and fixed in 7.4-rc1 with commit 843bc34db94bff0612c8294861b156489958897b 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-139073 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/nouveau/nouveau_dp.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/1a36ca42836cfd956c2c72f70188028bd39d40ca https://git.kernel.org/stable/c/2a457374b6d7669f888d8b6baff73e8b963a95ea https://git.kernel.org/stable/c/ddae760f399709fdfbf295a06f8eea557302ad9a https://git.kernel.org/stable/c/998378828857cc20856049b0d1fe6f5b32131659 https://git.kernel.org/stable/c/843bc34db94bff0612c8294861b156489958897b