{"id":"CVE-2026-89802","state":"PUBLISHED","title":"drm/nouveau/uvmm: fix NULL deref unwinding an OP_MAP_SPARSE op","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/uvmm: fix NULL deref unwinding an OP_MAP_SPARSE op\n\nEach bind_job_op is zeroed by kzalloc_obj() in bind_job_op_from_uop(),\nand the OP_MAP_SPARSE case in nouveau_uvmm_bind_job_submit() only creates\na region, so op->ops stays NULL for a successfully processed sparse map.\n\nIf a later op in the same job fails, the reverse unwind loop revisits that\nop and calls drm_gpuva_ops_free(&uvmm->base, op->ops) unconditionally.\ndrm_gpuva_ops_free() dereferences its argument right away\n(list_for_each_entry_safe on &ops->list), so a NULL op->ops oopses. The\npath is reachable by any render-node fd holder, since NOUVEAU_VM_BIND is\nDRM_RENDER_ALLOW.\n\nGuard the free with IS_ERR_OR_NULL(), as nouveau_uvmm_bind_job_cleanup()\nalready does for the identical free.","publishedAt":"2026-09-16T10:30:35.738Z","updatedAt":"2026-10-21T12:48:45.811Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"d8ec34618e71018fd7a3f73c57c6b92d71a6c7c3","versionType":"git"},{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"3bf493cf7ed0c2b3df728977a257e0d99b4db1c6","versionType":"git"},{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"b7dc03e09313d22a6d230b759de3b05d504c008f","versionType":"git"},{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"3857238de6bce6c1573e8cb86c37b067e5208f05","versionType":"git"},{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"412a6ceb56d501ef2f8202e26ab4b5d4dfbca566","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/nouveau/nouveau_uvmm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.51","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/nouveau/nouveau_uvmm.c"]}],"references":["https://git.kernel.org/stable/c/d8ec34618e71018fd7a3f73c57c6b92d71a6c7c3","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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89802.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89802","state":"PUBLISHED","datePublished":"2026-09-16T10:30:35.738Z","dateUpdated":"2026-10-21T12:48:45.811Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.767Z"},"containers":{"cna":{"title":"drm/nouveau/uvmm: fix NULL deref unwinding an OP_MAP_SPARSE op","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/uvmm: fix NULL deref unwinding an OP_MAP_SPARSE op\n\nEach bind_job_op is zeroed by kzalloc_obj() in bind_job_op_from_uop(),\nand the OP_MAP_SPARSE case in nouveau_uvmm_bind_job_submit() only creates\na region, so op->ops stays NULL for a successfully processed sparse map.\n\nIf a later op in the same job fails, the reverse unwind loop revisits that\nop and calls drm_gpuva_ops_free(&uvmm->base, op->ops) unconditionally.\ndrm_gpuva_ops_free() dereferences its argument right away\n(list_for_each_entry_safe on &ops->list), so a NULL op->ops oopses. The\npath is reachable by any render-node fd holder, since NOUVEAU_VM_BIND is\nDRM_RENDER_ALLOW.\n\nGuard the free with IS_ERR_OR_NULL(), as nouveau_uvmm_bind_job_cleanup()\nalready does for the identical free."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"d8ec34618e71018fd7a3f73c57c6b92d71a6c7c3","versionType":"git"},{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"3bf493cf7ed0c2b3df728977a257e0d99b4db1c6","versionType":"git"},{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"b7dc03e09313d22a6d230b759de3b05d504c008f","versionType":"git"},{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"3857238de6bce6c1573e8cb86c37b067e5208f05","versionType":"git"},{"version":"b88baab828713ce0b49b185444b2ee83bed373a8","status":"affected","lessThan":"412a6ceb56d501ef2f8202e26ab4b5d4dfbca566","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/nouveau/nouveau_uvmm.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.51","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/nouveau/nouveau_uvmm.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d8ec34618e71018fd7a3f73c57c6b92d71a6c7c3"},{"url":"https://git.kernel.org/stable/c/3bf493cf7ed0c2b3df728977a257e0d99b4db1c6"},{"url":"https://git.kernel.org/stable/c/b7dc03e09313d22a6d230b759de3b05d504c008f"},{"url":"https://git.kernel.org/stable/c/3857238de6bce6c1573e8cb86c37b067e5208f05"},{"url":"https://git.kernel.org/stable/c/412a6ceb56d501ef2f8202e26ab4b5d4dfbca566"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:48:45.811Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.18.51"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.2.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}