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 5CB834EC65A for ; Wed, 16 Sep 2026 10:35:05 +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=1789554926; cv=none; b=JBa+mPcER2RR++jgXRsq8wuPdt89saqnA9yqFon5lpwltnXbXJ6q6aMmJ9vfDNE5kjhesWu7PjWxSEbawJURj0oqGhNwz22ML3/96YQ0KzErVmHc4qumh7mEOjzIKac5v9J/P4bAajSb3wjhKrINeltpzN5fWqwTfgYJJi/eJ2w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789554926; c=relaxed/simple; bh=mPUOZbM+HUJNOKfAxwf2rlR5Dja8DkZEP9OvV667WSU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bhGyzH2krlRQGmmnjpkrUnpi3qhmYJjRPPkk51Y4FO1zTXuJ13HvhgsC2YyNTtfF1trIElLCOWL7pUNHt/ddJtE9HTxiD7pRDuoN71/0n+MDY6QvxnfoMuOuuh6JLmuZUwzEwjFAPnqWXsAveSryxxkx4hmJn8JRHKXGlareTTg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ERvpFT9k; 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="ERvpFT9k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A6541F00893; Wed, 16 Sep 2026 10:35:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789554905; bh=eRiRFZi2SAZyasAnw4gjN1R50CyboJWHN+9hByGKch0=; h=From:To:Cc:Subject:Date:Reply-To; b=ERvpFT9keFUDFf1hZY/aHTY+Ef2f3yG7y9fAOCdSZLXX5hxEWKPFaiMEQjq6Wy8Ya 4fItEyBThle5PqERwiwgS4hVu9TlG05jzcfAox6gdcvYTkUPuBJqgmdPumPBez6X48 jrTf3OedBwrlKuBnFhRdecyk+I2am/WiLHqKknxg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89802: drm/nouveau/uvmm: fix NULL deref unwinding an OP_MAP_SPARSE op Date: Wed, 16 Sep 2026 11:28:52 +0100 Message-ID: <2026091651-CVE-2026-89802-7e38@gregkh> X-Mailer: git-send-email 2.55.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=2949; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N48YZ2ubyhRn4PcnnNFigtFNWPlctHAdepcVt+P2XPE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFmr8pMbE4w4vLiYRRptkux3NrUJ/M5hXinVy8bzuHCS9 yPRGY4dsSwMgkwMsmKKLF+28RzdX3FI0cvQ9jTMHFYmkCEMXJwCMJHVaxjmaSTtKrA6affyp9Gc MwVKwRHRvw1uMcyVjF7wy+Jp4ClJ/mnP7JZ0zTIsuPYbAA== 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/uvmm: fix NULL deref unwinding an OP_MAP_SPARSE op Each bind_job_op is zeroed by kzalloc_obj() in bind_job_op_from_uop(), and the OP_MAP_SPARSE case in nouveau_uvmm_bind_job_submit() only creates a region, so op->ops stays NULL for a successfully processed sparse map. If a later op in the same job fails, the reverse unwind loop revisits that op and calls drm_gpuva_ops_free(&uvmm->base, op->ops) unconditionally. drm_gpuva_ops_free() dereferences its argument right away (list_for_each_entry_safe on &ops->list), so a NULL op->ops oopses. The path is reachable by any render-node fd holder, since NOUVEAU_VM_BIND is DRM_RENDER_ALLOW. Guard the free with IS_ERR_OR_NULL(), as nouveau_uvmm_bind_job_cleanup() already does for the identical free. The Linux kernel CVE team has assigned CVE-2026-89802 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit b88baab828713ce0b49b185444b2ee83bed373a8 and fixed in 6.12.110 with commit 3bf493cf7ed0c2b3df728977a257e0d99b4db1c6 Issue introduced in 6.6 with commit b88baab828713ce0b49b185444b2ee83bed373a8 and fixed in 6.18.51 with commit b7dc03e09313d22a6d230b759de3b05d504c008f Issue introduced in 6.6 with commit b88baab828713ce0b49b185444b2ee83bed373a8 and fixed in 7.2.5 with commit 3857238de6bce6c1573e8cb86c37b067e5208f05 Issue introduced in 6.6 with commit b88baab828713ce0b49b185444b2ee83bed373a8 and fixed in 7.3-rc2 with commit 412a6ceb56d501ef2f8202e26ab4b5d4dfbca566 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-89802 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_uvmm.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/3bf493cf7ed0c2b3df728977a257e0d99b4db1c6 https://git.kernel.org/stable/c/b7dc03e09313d22a6d230b759de3b05d504c008f https://git.kernel.org/stable/c/3857238de6bce6c1573e8cb86c37b067e5208f05 https://git.kernel.org/stable/c/412a6ceb56d501ef2f8202e26ab4b5d4dfbca566