{"id":"CVE-2026-93233","aliases":["CVE-2026-93233"],"related":[],"kind":"vulnerability","state":"published","title":"drm/nouveau/dmem: fix callocated underflow on large folio split","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/dmem: fix callocated underflow on large folio split\n\nnouveau_dmem_folio_free() drops chunk->callocated once per freed folio,\nwhile a large (compound) device-private folio is only counted once when\nit is allocated.  When such a folio is split, the mm core invokes\n->folio_split() (nouveau_dmem_folio_split()) once for each new\nsub-folio, but the hook only fixes up the sub-folio metadata and leaves\nchunk->callocated unchanged.\n\nEach resulting sub-folio is later freed separately, so after a split\nthe single allocation (+1) is met by N frees (-N), leaving\nchunk->callocated short by N-1.  On the first split/free cycle it\nunderflows: WARN_ON(!chunk->callocated) fires, the unsigned counter\nwraps and never returns to zero, so the chunk can no longer be\nreclaimed (nouveau_dmem_fini() also warns on the leaked count).\n\nAccount for the new sub-folio in the split hook, under the same lock as\nnouveau_dmem_folio_free(), so the count stays balanced.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/dmem: fix callocated underflow on large folio split\n\nnouveau_dmem_folio_free() drops chunk->callocated once per freed folio,\nwhile a large (compound) device-private folio is only counted once when\nit is allocated.  When such a folio is split, the mm core invokes\n->folio_split() (nouveau_dmem_folio_split()) once for each new\nsub-folio, but the hook only fixes up the sub-folio metadata and leaves\nchunk->callocated unchanged.\n\nEach resulting sub-folio is later freed separately, so after a split\nthe single allocation (+1) is met by N frees (-N), leaving\nchunk->callocated short by N-1.  On the first split/free cycle it\nunderflows: WARN_ON(!chunk->callocated) fires, the unsigned counter\nwraps and never returns to zero, so the chunk can no longer be\nreclaimed (nouveau_dmem_fini() also warns on the leaked count).\n\nAccount for the new sub-folio in the split hook, under the same lock as\nnouveau_dmem_folio_free(), so the count stays balanced.","source":"cvelist"}],"published":"2026-09-24T15:32:51.743Z","modified":"2026-10-19T10:17:14.360Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c3228747107705d47c7e9a03598a434a0380cb73","fixed":"0163b92946d0a7c816f619c57a4d9867954dd106","status":"affected"},{"type":"git","introduced":"c3228747107705d47c7e9a03598a434a0380cb73","fixed":"c2256c044a1df39c8aad4dd2d6f709b2533e2d7a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0163b92946d0a7c816f619c57a4d9867954dd106","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2256c044a1df39c8aad4dd2d6f709b2533e2d7a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93233","url":"https://www.cve.org/CVERecord?id=CVE-2026-93233","licence":"CVE Terms of Use","modified":"2026-10-19T09:07:44.949Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93233","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93233","licence":"Public domain","modified":"2026-10-19T10:17:14.360Z"}],"updatedAt":"2026-11-25T22:59:40.788Z","epss":{"score":0.00155,"percentile":0.04935,"date":"2026-12-01T12:00:22.000Z"}}