# CVE-2026-68271: drm/nouveau: fix reversed error cleanup order in ucopy functions

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-08-10T12:01:46.534Z
- **Modified:** 2026-08-17T05:18:29.633Z

## Who should check

- Anyone running Linux \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 2473ac314387a5def7244eb6d6a345934ed140bf; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< e15c25c7972d38a9f6bf8c3f7f29179a67263eba; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 4e109faa9ea2b6c04cc5a99e76db3126575a59d1; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< ebbaf64d2635d1e78196c067fa8fa582a7dc17f7; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< ab99ead646b1b833ecd57fe577a2816f2e848167
- Anyone running Linux 6.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: fix reversed error cleanup order in ucopy functions

nouveau\_uvmm\_vm\_bind\_ucopy() and nouveau\_exec\_ucopy() place their error
cleanup labels in allocation order rather than reverse allocation order.
On a u\_memcpya() failure for in\_sync.s, the goto to err\_free\_ops (or
err\_free\_pushs) frees the first allocation and then falls through to
err\_free\_ins, which calls u\_free() on args-\>in\_sync.s.

Since args-\>in\_sync.s still holds the ERR\_PTR returned by the failed
u\_memcpya(), and ERR\_PTR values are not caught by ZERO\_OR\_NULL\_PTR(),
kvfree() proceeds to dereference it, which can result in a kernel oops.
A failure for out\_sync.s instead jumps to err\_free\_ins and skips freeing
the first allocation, leading to a memory leak.

Fix by swapping the cleanup label order so resources are freed in the
correct reverse allocation sequence.

## Affected and fixed versions

- Linux: \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 2473ac314387a5def7244eb6d6a345934ed140bf; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< e15c25c7972d38a9f6bf8c3f7f29179a67263eba; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 4e109faa9ea2b6c04cc5a99e76db3126575a59d1; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< ebbaf64d2635d1e78196c067fa8fa582a7dc17f7; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< ab99ead646b1b833ecd57fe577a2816f2e848167 (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68271. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68271.md
Affected: Linux >= b88baab828713ce0b49b185444b2ee83bed373a8, < 2473ac314387a5def7244eb6d6a345934ed140bf; >= b88baab828713ce0b49b185444b2ee83bed373a8, < e15c25c7972d38a9f6bf8c3f7f29179a67263eba; >= b88baab828713ce0b49b185444b2ee83bed373a8, < 4e109faa9ea2b6c04cc5a99e76db3126575a59d1; >= b88baab828713ce0b49b185…
Fixed in: Linux 2473ac314387a5def7244eb6d6a345934ed140bf, Linux 4e109faa9ea2b6c04cc5a99e76db3126575a59d1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68271 being exploited?

There is no confirmed exploitation: CVE-2026-68271 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68271?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-68271?

Linux \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 2473ac314387a5def7244eb6d6a345934ed140bf; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< e15c25c7972d38a9f6bf8c3f7f29179a67263eba; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 4e109faa9ea2b6c04cc5a99e76db3126575a59d1; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< ebbaf64d2635d1e78196c067fa8fa582a7dc17f7; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< ab99ead646b1b833ecd57fe577a2816f2e848167; Linux 6.6.

### Is there a fix for CVE-2026-68271?

Yes. Fixed in Linux 2473ac314387a5def7244eb6d6a345934ed140bf, Linux 4e109faa9ea2b6c04cc5a99e76db3126575a59d1. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-68271?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2473ac314387a5def7244eb6d6a345934ed140bf>
- other: <https://git.kernel.org/stable/c/e15c25c7972d38a9f6bf8c3f7f29179a67263eba>
- other: <https://git.kernel.org/stable/c/4e109faa9ea2b6c04cc5a99e76db3126575a59d1>
- other: <https://git.kernel.org/stable/c/ebbaf64d2635d1e78196c067fa8fa582a7dc17f7>
- other: <https://git.kernel.org/stable/c/ab99ead646b1b833ecd57fe577a2816f2e848167>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68271>

HTML: <https://flawdb.com/CVE-2026-68271> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68271>
