CVE-2026-98518

drm/nouveau/dmem: pin VRAM for the whole registered range

Published Oct 18, 2026 CVSS 3.1 · 7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The flaw is located in the Linux kernel’s Nouveau DRM driver. A commit that expanded the device‑private region size was made without correspondingly enlarging the backing VRAM buffer object. As a result, the helper routine nouveau_dmem_page_addr() returns an offset that points beyond the allocated buffer once pages enter the second or subsequent chunks. This mismatch enables out‑of‑bounds memory accesses, allowing a local kernel attacker to corrupt kernel memory or read data that should be protected.

Affected Systems

All Linux kernels that expose the affected Nouveau code path are vulnerable. The issue persists in kernel releases that include the commit and precede the downstream patch that corrects the buffer‑object sizing. Systems that have the Nouveau driver enabled and have not yet upgraded to the fixed kernel are at risk.

Risk and Exploitability

The CVSS score of 7 categorises this as a high‑severity kernel vulnerability, and the EPSS score of less than 1 % indicates a very low probability of exploitation in the wild. The vulnerability is not listed in the CISA KEV catalogue, suggesting that no active exploitation has been observed. Based on the description, it is inferred that exploitation would most likely require local privileged access—such as root or a compromised kernel module—since the memory corruption occurs within the kernel context and depends on the Nouveau driver being loaded. The likely attack vector is local execution, an inference drawn from the kernel memory corruption described.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the official patch correcting the VRAM buffer‑object size and the associated memory‑address calculation.
  • If an updated kernel is not available, disable the Nouveau driver or switch to an alternative GPU driver (e.g., proprietary NVIDIA drivers) to eliminate the vulnerable code path.
  • Enable kernel hardening features such as KASLR and page‑table isolation to add protection against any residual out‑of‑bounds accesses, and restrict direct access to the DRM device nodes.

Generated by OpenCVE AI on October 24, 2026 at 15:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-119
Type Values Removed Values Added
Description 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.
Title drm/nouveau/dmem: pin VRAM for the whole registered range
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 24, 2026, 2:09 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 24, 2026, 2:16 PM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM