CVE-2026-93233: drm/nouveau/dmem: fix callocated underflow on large folio split

Published Sep 24, 2026
·
Updated

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

drm/nouveau/dmem: fix callocated underflow on large folio split

nouveaudmemfoliofree() drops chunk->callocated once per freed folio, while a large (compound) device-private folio is only counted once when it is allocated. When such a folio is split, the mm core invokes ->foliosplit() (nouveaudmemfoliosplit()) once for each new sub-folio, but the hook only fixes up the sub-folio metadata and leaves chunk->callocated unchanged.

Each resulting sub-folio is later freed separately, so after a split the single allocation (+1) is met by N frees (-N), leaving chunk->callocated short by N-1. On the first split/free cycle it underflows: WARNON(!chunk->callocated) fires, the unsigned counter wraps and never returns to zero, so the chunk can no longer be reclaimed (nouveaudmemfini() also warns on the leaked count).

Account for the new sub-folio in the split hook, under the same lock as nouveaudmemfoliofree(), so the count stays balanced.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update the nouveau device-memory folio split handling so the split hook accounts for each new sub-folio by invoking nouveau_dmem_folio_split() once per sub-folio under the same lock, keeping chunk->callocated balanced with the subsequent per-sub-folio frees.

Event History

Sep 24, 2026
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the accounting error?

A large compound device-private folio must be split, causing the memory-management core to invoke nouveau_dmem_folio_split() for each resulting sub-folio. Those sub-folios must later be freed separately for the allocation counter to underflow.

2

What is the operational impact once the counter underflows?

The WARN_ON(!chunk->callocated) check fires and the unsigned counter wraps. The affected chunk can no longer be reclaimed, and nouveau_dmem_fini() also warns about the leaked count.

3

How can an affected system be identified?

Look for WARN_ON(!chunk->callocated) during device-private folio frees, or warnings from nouveau_dmem_fini() reporting a leaked count. The issue is associated with a large device-private folio split followed by separate frees of its sub-folios.

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