{"api_version":"1","generated_at":"2026-10-27T04:22:48+00:00","cve":"CVE-2026-98518","urls":{"html":"https://cve.report/CVE-2026-98518","api":"https://cve.report/api/cve/CVE-2026-98518.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98518","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98518"},"summary":{"title":"drm/nouveau/dmem: pin VRAM for the whole registered range","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/dmem: pin VRAM for the whole registered range\n\nCommit c32287471077 (\"gpu/drm/nouveau: enable THP support for GPU memory\nmigration\") grew the device-private region that\nnouveau_dmem_chunk_alloc() registers from DMEM_CHUNK_SIZE to\nDMEM_CHUNK_SIZE * NR_CHUNKS, but left the VRAM buffer object backing that\nregion at DMEM_CHUNK_SIZE.\n\nnouveau_dmem_page_addr() returns chunk->bo->offset plus the page's offset\nwithin the registered region, so every page past the first chunk resolves\nto VRAM outside the buffer object.\n\nSize the buffer object to the region it backs.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:03","updated_at":"2026-10-24 14:16:45"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/64ca4cdd1031206424e6455f0ae4fb0560d8f46a","name":"https://git.kernel.org/stable/c/64ca4cdd1031206424e6455f0ae4fb0560d8f46a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/06c69c64686a31783c8bec6495dc22822d38c4ce","name":"https://git.kernel.org/stable/c/06c69c64686a31783c8bec6495dc22822d38c4ce","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98518","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98518","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c3228747107705d47c7e9a03598a434a0380cb73 06c69c64686a31783c8bec6495dc22822d38c4ce git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c3228747107705d47c7e9a03598a434a0380cb73 64ca4cdd1031206424e6455f0ae4fb0560d8f46a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.9 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/nouveau/nouveau_dmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"06c69c64686a31783c8bec6495dc22822d38c4ce","status":"affected","version":"c3228747107705d47c7e9a03598a434a0380cb73","versionType":"git"},{"lessThan":"64ca4cdd1031206424e6455f0ae4fb0560d8f46a","status":"affected","version":"c3228747107705d47c7e9a03598a434a0380cb73","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/nouveau/nouveau_dmem.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.19"},{"lessThan":"6.19","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.9","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.9","versionStartIncluding":"6.19","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"6.19","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/dmem: pin VRAM for the whole registered range\n\nCommit c32287471077 (\"gpu/drm/nouveau: enable THP support for GPU memory\nmigration\") grew the device-private region that\nnouveau_dmem_chunk_alloc() registers from DMEM_CHUNK_SIZE to\nDMEM_CHUNK_SIZE * NR_CHUNKS, but left the VRAM buffer object backing that\nregion at DMEM_CHUNK_SIZE.\n\nnouveau_dmem_page_addr() returns chunk->bo->offset plus the page's offset\nwithin the registered region, so every page past the first chunk resolves\nto VRAM outside the buffer object.\n\nSize the buffer object to the region it backs."}],"metrics":[{"cvssV3_1":{"baseScore":7,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - ioctl(DRM_IOCTL_NOUVEAU_SVM_BIND) reaches nouveau_svmm_bind(), nouveau_dmem_migrate_vma(), nouveau_dmem_migrate_chunk(), nouveau_dmem_migrate_copy_one(), nouveau_dmem_page_alloc_locked(), then patched nouveau_dmem_chunk_alloc(); the triggering VMA and request come from a local process.\nAC:H - The path needs CONFIG_DRM_NOUVEAU_SVM, an EXPERIMENTAL default-n option depending on STAGING; nouveau_svm_init() also rejects GPUs newer than Pascal while nouveau_dmem_init() rejects older ones. The attacker cannot create these host build and hardware conditions.\nPR:L - NOUVEAU_SVM_INIT and NOUVEAU_SVM_BIND are registered with DRM_RENDER_ALLOW and neither DRM_ROOT_ONLY nor DRM_AUTH; an ordinary user able to open the Nouveau render node can initialize SVM and migrate their own VMA without capabilities.\nUI:N - The attacking process itself issues SVM_INIT and SVM_BIND and accesses its migrated VMA to trigger migration or readback; no victim must mount, open, or approve anything.\nS:U - nouveau_dmem_page_addr() supplies an invalid LOCAL_FB VRAM address to the same host's Nouveau copy engine and VMM; the code demonstrates a VRAM BO boundary violation, not a VM escape or IOMMU/DMA boundary bypass.\nC:H - nouveau_pfns_map() installs the out-of-BO VRAM PFN in the caller's SVM VMM, and a CPU fault invokes nouveau_dmem_migrate_to_ram() and nouveau_dmem_copy_folio() to copy from that physical VRAM address into a user page, permitting disclosure from overlapping VRAM allocations.\nI:H - nouveau_dmem_migrate_copy_one() passes the out-of-BO paddr to nvc0b5_migrate_copy() as a physical LOCAL_FB destination and sets a writable PFN for writable VMAs, enabling attacker-controlled writes into other VRAM allocations.\nA:H - The unchecked nvc0b5_migrate_copy() physical destination can overwrite active VRAM BOs or fall beyond installed VRAM, faulting or hanging the GPU and denying graphics and compute service to all clients."}]}],"providerMetadata":{"dateUpdated":"2026-10-24T14:09:15.821Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/06c69c64686a31783c8bec6495dc22822d38c4ce"},{"url":"https://git.kernel.org/stable/c/64ca4cdd1031206424e6455f0ae4fb0560d8f46a"}],"title":"drm/nouveau/dmem: pin VRAM for the whole registered range","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98518","datePublished":"2026-10-18T15:17:36.371Z","dateReserved":"2026-09-25T10:25:14.354Z","dateUpdated":"2026-10-24T14:09:15.821Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:03","lastModifiedDate":"2026-10-24 14:16:45","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98518","Ordinal":"1","Title":"drm/nouveau/dmem: pin VRAM for the whole registered range","CVE":"CVE-2026-98518","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98518","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/nouveau/dmem: pin VRAM for the whole registered range\n\nCommit c32287471077 (\"gpu/drm/nouveau: enable THP support for GPU memory\nmigration\") grew the device-private region that\nnouveau_dmem_chunk_alloc() registers from DMEM_CHUNK_SIZE to\nDMEM_CHUNK_SIZE * NR_CHUNKS, but left the VRAM buffer object backing that\nregion at DMEM_CHUNK_SIZE.\n\nnouveau_dmem_page_addr() returns chunk->bo->offset plus the page's offset\nwithin the registered region, so every page past the first chunk resolves\nto VRAM outside the buffer object.\n\nSize the buffer object to the region it backs.","Type":"Description","Title":"drm/nouveau/dmem: pin VRAM for the whole registered range"}]}}}