KernelScan.io

HIGH Introduced in 6.19

nouveau VRAM Overflow

CVE-2026-98518

CVSS 7.0 / 10.0 NVD

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.8HIGH

01

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau/dmem: pin VRAM for the whole registered range Commit c32287471077 ("gpu/drm/nouveau: enable THP support for GPU memory migration") grew the device-private region that nouveau_dmem_chunk_alloc() registers from DMEM_CHUNK_SIZE to DMEM_CHUNK_SIZE * NR_CHUNKS, but left the VRAM buffer object backing that region at DMEM_CHUNK_SIZE. nouveau_dmem_page_addr() returns chunk->bo->offset plus the page's offset within the registered region, so every page past the first chunk resolves to VRAM outside the buffer object. Size the buffer object to the region it backs.

02

Engine v0.9.0

Risk summary

Local users with access to an NVIDIA GPU via the Nouveau driver can trigger out-of-bounds VRAM accesses, potentially leading to GPU memory corruption, information disclosure, privilege escalation, or denial of service. The vulnerability affects systems running kernel 6.19 through 7.2.8 and 7.3-rc1 through 7.3-rc4 with the Nouveau driver loaded.

Affecteddrivers/gpu/drm/nouveau/nouveau_dmem.c (nouveau DRM driver)

Vulnerability analysis

A previous commit expanded the device-private memory region registered by the Nouveau driver to support transparent huge pages, increasing it from a single chunk to multiple chunks. However, the VRAM buffer object backing this region was not resized accordingly, remaining at the original single-chunk size. When the driver calculates page addresses for chunks beyond the first, the addresses fall outside the allocated buffer object, causing the GPU to read or write arbitrary VRAM. The fix resizes the buffer object to match the full registered region. Any local user with access to the GPU device node — typically members of the video or render group, including container workloads with GPU passthrough — can trigger this vulnerability through normal GPU memory operations.

03

BranchIntroducedFixed inPatch commit
7.26.197.2.906c69c64686a
mainline6.197.364ca4cdd1031