CVE-2026-139077
published high CVSS 3.1 · 7.8drm/nouveau: reject zero-size notifier object allocation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 41bb34210b2a34c212a6a5b2b0ca7b7f7223bcce · ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 7876ae4041729b3e86a502ff56c8b64bbec38a1e · ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < b9be3f6da8c4d0811bb487cb30ded625b7413e0b · ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 37d015a5a2a569b30a21dcb080bb63b20173a6f9 · ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 8d125070102467286ebe3b97661161446fe69ca8 · ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < c518337e597df7204244b5a174277286eb6e14fa · ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < f1ef16495b494249ece0ae037121a6ed04015c8e · ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 38125d38d850bd2fdd5d7840c3bd52d9d208995b · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.7 (affected) · 0 to < 3.7 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: 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. AC: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. PR: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. UI: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. S: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. C: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. I: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. A: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.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 41bb34210b2a34c212a6a5b2b0ca7b7f7223bcce (affected · git)ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 7876ae4041729b3e86a502ff56c8b64bbec38a1e (affected · git)ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < b9be3f6da8c4d0811bb487cb30ded625b7413e0b (affected · git)ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 37d015a5a2a569b30a21dcb080bb63b20173a6f9 (affected · git)ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 8d125070102467286ebe3b97661161446fe69ca8 (affected · git)ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < c518337e597df7204244b5a174277286eb6e14fa (affected · git)ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < f1ef16495b494249ece0ae037121a6ed04015c8e (affected · git)ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 to < 38125d38d850bd2fdd5d7840c3bd52d9d208995b (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.7 (affected)0 to < 3.7 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/37d015a5a2a569b30a21dcb080bb63b20173a6f9
- https://git.kernel.org/stable/c/38125d38d850bd2fdd5d7840c3bd52d9d208995b
- https://git.kernel.org/stable/c/41bb34210b2a34c212a6a5b2b0ca7b7f7223bcce
- https://git.kernel.org/stable/c/7876ae4041729b3e86a502ff56c8b64bbec38a1e
- https://git.kernel.org/stable/c/8d125070102467286ebe3b97661161446fe69ca8
- https://git.kernel.org/stable/c/b9be3f6da8c4d0811bb487cb30ded625b7413e0b
- https://git.kernel.org/stable/c/c518337e597df7204244b5a174277286eb6e14fa
- https://git.kernel.org/stable/c/f1ef16495b494249ece0ae037121a6ed04015c8e
Provider assertions
1Linux · cna
drm/nouveau: reject zero-size notifier object allocation
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 48531eab5c58b3cafd7bd52e05b1131d4ec4120a3368a9fde1736dde94293ed5
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record