---
id: CVE-2026-98518
title: 'drm/nouveau/dmem: pin VRAM for the whole registered range'
summary: |-
  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 …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= c3228747107705d47c7e9a03598a434a0380cb73 <
    06c69c64686a31783c8bec6495dc22822d38c4ce
  - >-
    Linux >= c3228747107705d47c7e9a03598a434a0380cb73 <
    64ca4cdd1031206424e6455f0ae4fb0560d8f46a
  - Linux 6.19
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T15:17:36.371Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98518'
references:
  - url: 'https://git.kernel.org/stable/c/06c69c64686a31783c8bec6495dc22822d38c4ce'
  - url: 'https://git.kernel.org/stable/c/64ca4cdd1031206424e6455f0ae4fb0560d8f46a'
tags:
  - cve.org
ingestedAt: '2026-10-18T15:45:12.283Z'
---

## Overview

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.

## Affected

- `Linux >= c3228747107705d47c7e9a03598a434a0380cb73 < 06c69c64686a31783c8bec6495dc22822d38c4ce`
- `Linux >= c3228747107705d47c7e9a03598a434a0380cb73 < 64ca4cdd1031206424e6455f0ae4fb0560d8f46a`
- `Linux 6.19`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
