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

Published Aug 10, 2026
·
Updated

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

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

nouveauuvmmvmbinducopy() and nouveauexecucopy() place their error cleanup labels in allocation order rather than reverse allocation order. On a umemcpya() failure for insync.s, the goto to errfreeops (or errfreepushs) frees the first allocation and then falls through to errfreeins, which calls ufree() on args->insync.s.

Since args->insync.s still holds the ERRPTR returned by the failed umemcpya(), and ERRPTR values are not caught by ZEROORNULLPTR(), kvfree() proceeds to dereference it, which can result in a kernel oops. A failure for outsync.s instead jumps to errfreeins 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 Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade drm/nouveau to a version that resolves this vulnerability.

    Patch fix reversed error cleanup order in ucopy functions

Event History

Aug 10, 2026
CVE Published
via MITRE·12:01 PM
Data Sourced
via MITRE·12:01 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68271?

The severity of CVE-2026-68271 is classified as risk 34.

2

How does CVE-2026-68271 affect the Linux kernel?

CVE-2026-68271 affects the Linux kernel by having a reversed error cleanup order in the ucopy functions.

3

How do I fix CVE-2026-68271?

To fix CVE-2026-68271, you should update to the latest version of the Linux kernel where this vulnerability has been resolved.

4

What are the specific functions impacted by CVE-2026-68271?

The functions impacted by CVE-2026-68271 are nouveau_uvmm_vm_bind_ucopy() and nouveau_exec_ucopy().

5

When was CVE-2026-68271 published?

CVE-2026-68271 was published on August 10, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203