Bug 2586801 (CVE-2026-139077) - CVE-2026-139077 kernel: kernel: Unauthorized memory access via zero-size notifier allocation in Nouveau driver
Summary: CVE-2026-139077 kernel: kernel: Unauthorized memory access via zero-size noti...
Keywords:
Status: NEW
Alias: CVE-2026-139077
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:41 UTC by OSIDB Bzimport
Modified: 2026-12-01 03:41 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:41:17 UTC
In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: reject zero-size notifier object allocation

nouveau_abi16_ioctl_notifierobj_alloc() passes the userspace-controlled
info->size to nvkm_mm_head() as both size_max and size_min without a lower
bound.  A zero size satisfies the allocator's "e - s < size_min" gate
(size_min == 0 makes the unsigned comparison inert) and yields a
zero-length node, after which

	args.limit = ntfy->node->offset + ntfy->node->length - 1;

underflows (offset 0, length 0 -> 0xffffffff) into an oversized ~4 GiB DMA
window.  The dma object constructor only rejects start > limit, so the
validly ordered [base, base + 0xffffffff] range passes and is programmed
into the GPU DMA context.  The ioctl is DRM_RENDER_ALLOW, so any render
node client can trigger this on pre-Fermi hardware.

Reject a zero-size request before allocating anything.


Note You need to log in before you can comment on or make changes to this bug.