drm/nouveau/dmem: pin VRAM for the whole registered range
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 7.2.9
- CVEs
- CVE-2026-98518
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:04 UTC · Revision 1
Source evidence
drm/nouveau/dmem: pin VRAM for the whole registered range
core-osv · Original sourcePublished 18 Oct 2026, 15:17 UTC
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.
osv:CVE-2026-98518
Kernel
Fixed versions: 7.2.9
Complete source record
{
"id": "aef9456e75186e397833ebfc6421a2c51eee08a79c530a1e4b501204a227e830",
"url": "https://osv.dev/vulnerability/CVE-2026-98518",
"method": "structured",
"payload": {
"kind": "advisory",
"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 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.",
"evidence": "osv:CVE-2026-98518",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.2.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-98518",
"aliases": [
"CVE-2026-98518"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c3228747107705d47c7e9a03598a434a0380cb73"
},
{
"fixed": "06c69c64686a31783c8bec6495dc22822d38c4ce"
},
{
"fixed": "64ca4cdd1031206424e6455f0ae4fb0560d8f46a"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98518.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98518.json"
}
}
],
"modified": "2026-10-28T02:30:26.978803227Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/06c69c64686a31783c8bec6495dc22822d38c4ce",
"https://git.kernel.org/stable/c/64ca4cdd1031206424e6455f0ae4fb0560d8f46a",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98518.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-98518",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98518.json"
}
},
"related_cves": [
{
"value": "CVE-2026-98518",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493583,
"published_at": "2026-10-18T15:17:36.371+00:00"
}