{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139077","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.912Z","datePublished":"2026-11-30T13:27:41.179Z","dateUpdated":"2026-12-01T05:41:03.135Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-12-01T05:41:03.135Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau: reject zero-size notifier object allocation\n\nnouveau_abi16_ioctl_notifierobj_alloc() passes the userspace-controlled\ninfo->size to nvkm_mm_head() as both size_max and size_min without a lower\nbound.  A zero size satisfies the allocator's \"e - s < size_min\" gate\n(size_min == 0 makes the unsigned comparison inert) and yields a\nzero-length node, after which\n\n\targs.limit = ntfy->node->offset + ntfy->node->length - 1;\n\nunderflows (offset 0, length 0 -> 0xffffffff) into an oversized ~4 GiB DMA\nwindow.  The dma object constructor only rejects start > limit, so the\nvalidly ordered [base, base + 0xffffffff] range passes and is programmed\ninto the GPU DMA context.  The ioctl is DRM_RENDER_ALLOW, so any render\nnode client can trigger this on pre-Fermi hardware.\n\nReject a zero-size request before allocating anything."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The zero size enters through the DRM_IOCTL_NOUVEAU_NOTIFIEROBJ_ALLOC ioctl (nouveau_abi16_ioctl_notifierobj_alloc) on a local /dev/dri node; drm_nouveau_notifierobj_alloc.size comes only from the calling process, not from any remote input.\nAC:L - The attacker allocates its own channel with NOUVEAU_CHANNEL_ALLOC, so chan->heap's first free block is at offset 0, then passes size=0. nvkm_mm_head returns a zero-length node, args.limit = 0+0-1 = 0xffffffff every time, and nvkm_dmaobj_ctor only rejects start > limit. No race and no outside state is involved.\nPR:L - NOTIFIEROBJ_ALLOC is DRM_RENDER_ALLOW without DRM_AUTH, and nouveau sets DRIVER_RENDER for every chipset, so any local user who can open renderD* (0666 under the default systemd udev rule) reaches it. No capability check exists along the path.\nUI:N - None. The attacker's own process opens the render node, creates the channel, allocates the zero-size notifier, and submits the GPU commands that use it.\nS:U - The oversized ctxdma lets the attacker's GPU channel reach host memory that the nouveau driver is meant to keep it away from. The vulnerable driver and the impacted kernel memory sit under the same kernel authority, so this is an ordinary local privilege escalation.\nC:H - On nv04_mmu chips (NV04-NV36/NV40/NV45/NV4A), nv04_dmaobj_new turns the VM target into a cloned linear PCI ctxdma. Its base is the notifier page's DMA address and its length is 0xffffffff, so using the handle as M2MF (0x0039) DMA_BUFFER_IN copies arbitrary physical memory into the user's BO. Since v5.14 users cannot build NV_DMA_* objects themselves.\nI:H - Using the same handle as M2MF DMA_BUFFER_OUT writes attacker data to physical addresses up to 4 GiB past the notifier page (kernel page tables, creds, slab) on IOMMU-less legacy hosts: arbitrary kernel write leading to code execution. A valid size kept the ctxdma within one 4 KiB page. On the AGP-bridge path the linear window runs past the aperture.\nA:H - Arbitrary GPU DMA writes through the 4 GiB window can corrupt any kernel structure in that range and panic or hang the host. Unlike a leak, this denial is immediate and can be repeated from any new channel."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/nouveau/nouveau_abi16.c"],"versions":[{"version":"ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69","lessThan":"41bb34210b2a34c212a6a5b2b0ca7b7f7223bcce","status":"affected","versionType":"git"},{"version":"ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69","lessThan":"7876ae4041729b3e86a502ff56c8b64bbec38a1e","status":"affected","versionType":"git"},{"version":"ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69","lessThan":"b9be3f6da8c4d0811bb487cb30ded625b7413e0b","status":"affected","versionType":"git"},{"version":"ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69","lessThan":"37d015a5a2a569b30a21dcb080bb63b20173a6f9","status":"affected","versionType":"git"},{"version":"ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69","lessThan":"8d125070102467286ebe3b97661161446fe69ca8","status":"affected","versionType":"git"},{"version":"ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69","lessThan":"c518337e597df7204244b5a174277286eb6e14fa","status":"affected","versionType":"git"},{"version":"ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69","lessThan":"f1ef16495b494249ece0ae037121a6ed04015c8e","status":"affected","versionType":"git"},{"version":"ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69","lessThan":"38125d38d850bd2fdd5d7840c3bd52d9d208995b","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/nouveau/nouveau_abi16.c"],"versions":[{"version":"3.7","status":"affected"},{"version":"0","lessThan":"3.7","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.7","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/41bb34210b2a34c212a6a5b2b0ca7b7f7223bcce"},{"url":"https://git.kernel.org/stable/c/7876ae4041729b3e86a502ff56c8b64bbec38a1e"},{"url":"https://git.kernel.org/stable/c/b9be3f6da8c4d0811bb487cb30ded625b7413e0b"},{"url":"https://git.kernel.org/stable/c/37d015a5a2a569b30a21dcb080bb63b20173a6f9"},{"url":"https://git.kernel.org/stable/c/8d125070102467286ebe3b97661161446fe69ca8"},{"url":"https://git.kernel.org/stable/c/c518337e597df7204244b5a174277286eb6e14fa"},{"url":"https://git.kernel.org/stable/c/f1ef16495b494249ece0ae037121a6ed04015c8e"},{"url":"https://git.kernel.org/stable/c/38125d38d850bd2fdd5d7840c3bd52d9d208995b"}],"title":"drm/nouveau: reject zero-size notifier object allocation","x_generator":{"engine":"bippy-1.2.0"}}}}