# CVE-2026-98517: drm/nouveau/uvmm: fix UAF in nouveau\_uvmm\_sm when BO is in TTM\_PL\_SYSTEM

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-10-18T15:17:35.521Z
- **Modified:** 2026-10-24T14:16:45.630Z

## Who should check

- Anyone running Linux \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 34d9dffaf0ff43ac395a7955b3f7b5d9d6154bf3; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 1245b4b43da67596be61600dbd746539c79495ac; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 0d29bf51f8dddcf8556bf76710d3dd3024a1a717; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 5b2fffbba290ed74f381911b9986570bc10feaa4; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 3359a372efb6d585c97019ee1b7f1874442bcebe
- Anyone running Linux 6.6

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau/uvmm: fix UAF in nouveau\_uvmm\_sm when BO is in TTM\_PL\_SYSTEM

nouveau\_uvmm\_sm() calls op\_map(), which passes bo-\>resource through
nouveau\_mem() to nouveau\_uvma\_map(). nouveau\_uvmm\_vmm\_map() then reads
mem-\>mem.type.

But this is only valid when bo-\>resource is backed by struct nouveau\_mem,
as is the case for VRAM and TT resources. If the BO is left in
TTM\_PL\_SYSTEM, bo-\>resource is only a struct ttm\_resource. Treating it
as struct nouveau\_mem makes the mem-\>mem.type read past the end of the
resource, causing a KASAN: slab-use-after-free Read in nouveau\_uvmm\_sm
report:

BUG: KASAN: slab-use-after-free in nouveau\_uvmm\_vmm\_map drivers/gpu/drm/nouveau/nouveau\_uvmm.c:152 \[inline\]
BUG: KASAN: slab-use-after-free in nouveau\_uvma\_map drivers/gpu/drm/nouveau/nouveau\_uvmm.c:199 \[inline\]
BUG: KASAN: slab-use-after-free in op\_map drivers/gpu/drm/nouveau/nouveau\_uvmm.c:849 \[inline\]
BUG: KASAN: slab-use-after-free in nouveau\_uvmm\_sm.constprop.0+0x6ab/0x900 drivers/gpu/drm/nouveau/nouveau\_uvmm.c:903
Read of size 1 at addr ffff888127d3e3a0 by task kworker/0:1/11

CPU: 0 UID: 0 PID: 11 Comm: kworker/0:1 Not tainted 7.2.0 \#5 PREEMPT(lazy)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
Workqueue: nouveau\_sched\_wq\_2224 drm\_sched\_run\_job\_work
Call Trace:
 \<TASK\>
 \_\_dump\_stack lib/dump\_stack.c:94 \[inline\]
 dump\_stack\_lvl+0x95/0xe0 lib/dump\_stack.c:120
 print\_address\_description mm/kasan/report.c:378 \[inline\]
 print\_report+0xcb/0x5a0 mm/kasan/report.c:482
 kasan\_report+0xca/0x100 mm/kasan/report.c:595
 nouveau\_uvmm\_vmm\_map drivers/gpu/drm/nouveau/nouveau\_uvmm.c:152 \[inline\]
 nouveau\_uvma\_map drivers/gpu/drm/nouveau/nouveau\_uvmm.c:199 \[inline\]
 op\_map drivers/gpu/drm/nouveau/nouveau\_uvmm.c:849 \[inline\]
 nouveau\_uvmm\_sm.constprop.0+0x6ab/0x900 drivers/gpu/drm/nouveau/nouveau\_uvmm.c:903
 nouveau\_uvmm\_sm\_unmap drivers/gpu/drm/nouveau/nouveau\_uvmm.c:932 \[inline\]
 nouveau\_uvmm\_bind\_job\_run+0xd6/0x250 drivers/gpu/drm/nouveau/nouveau\_uvmm.c:1532
 nouveau\_job\_run drivers/gpu/drm/nouveau/nouveau\_sched.c:350 \[inline\]
 nouveau\_sched\_run\_job+0x62/0xd0 drivers/gpu/drm/nouveau/nouveau\_sched.c:364
 drm\_sched\_run\_job\_work+0x356/0xa10 drivers/gpu/drm/scheduler/sched\_main.c:1061
 process\_one\_work+0x8a5/0x1900 kernel/workqueue.c:3322
 process\_scheduled\_works kernel/workqueue.c:3405 \[inline\]
 worker\_thread+0x5dd/0xd80 kernel/workqueue.c:3486
 kthread+0x31d/0x420 kernel/kthread.c:436
 ret\_from\_fork+0x662/0x940 arch/x86/kernel/process.c:158
 ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:245
 \</TASK\>

Allocated by task 2224 on cpu 0 at 66.550027s:
 kasan\_save\_stack+0x24/0x50 mm/kasan/common.c:57
 kasan\_save\_track+0x17/0x60 mm/kasan/common.c:78
 poison\_kmalloc\_redzone mm/kasan/common.c:398 \[inline\]
 \_\_kasan\_kmalloc+0xaa/0xb0 mm/kasan/common.c:415
 kasan\_kmalloc include/linux/kasan.h:263 \[inline\]
 \_\_do\_kmalloc\_node mm/slub.c:5334 \[inline\]
 \_\_kmalloc\_noprof+0x304/0x7c0 mm/slub.c:5359
 \_kmalloc\_noprof include/linux/slab.h:992 \[inline\]
 dma\_resv\_list\_alloc+0x27/0x90 drivers/dma-buf/dma-resv.c:106
 dma\_resv\_reserve\_fences+0x60e/0xa30 drivers/dma-buf/dma-resv.c:205
 ttm\_bo\_alloc\_resource+0x12c/0xbd0 drivers/gpu/drm/ttm/ttm\_bo.c:721
 ttm\_bo\_validate+0x1bc/0x4a0 drivers/gpu/drm/ttm/ttm\_bo.c:856
 ttm\_bo\_init\_reserved+0x2c3/0x570 drivers/gpu/drm/ttm/ttm\_bo.c:970
 nouveau\_bo\_init+0x159/0x2c0 drivers/gpu/drm/nouveau/nouveau\_bo.c:359
 nouveau\_gem\_new+0x234/0x5f0 drivers/gpu/drm/nouveau/nouveau\_gem.c:272
 nouveau\_gem\_ioctl\_new+0x1eb/0x420 drivers/gpu/drm/nouveau/nouveau\_gem.c:352
 drm\_ioctl\_kernel+0x192/0x350 drivers/gpu/drm/drm\_ioctl.c:817
 drm\_ioctl+0x4f8/0xb40 drivers/gpu/drm/drm\_ioctl.c:914
 nouveau\_drm\_ioctl+0xea/0x2c0 drivers/gpu/drm/nouveau/nouveau\_drm.c:1338
 vfs\_ioctl fs/ioctl.c:51 \[inline\]
 \_\_do\_sys\_ioctl fs/ioctl.c:597 \[inline\]
 \_\_se\_sys\_ioctl fs/ioctl.c:583 \[inline\]
 \_\_x64\_sys\_ioctl+0x180/0x1d0 fs/ioctl.c:583
 do\_syscall\_x64 ar
---truncated---

## Affected and fixed versions

- Linux: \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 34d9dffaf0ff43ac395a7955b3f7b5d9d6154bf3; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 1245b4b43da67596be61600dbd746539c79495ac; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 0d29bf51f8dddcf8556bf76710d3dd3024a1a717; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 5b2fffbba290ed74f381911b9986570bc10feaa4; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 3359a372efb6d585c97019ee1b7f1874442bcebe (cvelist)
- Linux: 6.6 (cvelist)

## Mitigation

- Upgrade Linux to 3359a372efb6d585c97019ee1b7f1874442bcebe or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98517. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98517.md
Affected: Linux >= b88baab828713ce0b49b185444b2ee83bed373a8, < 34d9dffaf0ff43ac395a7955b3f7b5d9d6154bf3; >= b88baab828713ce0b49b185444b2ee83bed373a8, < 1245b4b43da67596be61600dbd746539c79495ac; >= b88baab828713ce0b49b185444b2ee83bed373a8, < 0d29bf51f8dddcf8556bf76710d3dd3024a1a717; >= b88baab828713ce0b49b185…
Fixed in: Linux 34d9dffaf0ff43ac395a7955b3f7b5d9d6154bf3, Linux 1245b4b43da67596be61600dbd746539c79495ac, Linux 0d29bf51f8dddcf8556bf76710d3dd3024a1a717, Linux 5b2fffbba290ed74f381911b9986570bc10feaa4, Linux 3359a372efb6d585c97019ee1b7f1874442bcebe

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98517 being exploited?

There is no confirmed exploitation: CVE-2026-98517 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98517?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98517?

Linux \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 34d9dffaf0ff43ac395a7955b3f7b5d9d6154bf3; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 1245b4b43da67596be61600dbd746539c79495ac; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 0d29bf51f8dddcf8556bf76710d3dd3024a1a717; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 5b2fffbba290ed74f381911b9986570bc10feaa4; \>= b88baab828713ce0b49b185444b2ee83bed373a8, \< 3359a372efb6d585c97019ee1b7f1874442bcebe; Linux 6.6.

### Is there a fix for CVE-2026-98517?

Yes. Fixed in Linux 34d9dffaf0ff43ac395a7955b3f7b5d9d6154bf3, Linux 1245b4b43da67596be61600dbd746539c79495ac, Linux 0d29bf51f8dddcf8556bf76710d3dd3024a1a717, Linux 5b2fffbba290ed74f381911b9986570bc10feaa4, Linux 3359a372efb6d585c97019ee1b7f1874442bcebe. Upgrade Linux to 3359a372efb6d585c97019ee1b7f1874442bcebe or later.

### How do I check if I'm affected by CVE-2026-98517?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/34d9dffaf0ff43ac395a7955b3f7b5d9d6154bf3>
- other: <https://git.kernel.org/stable/c/1245b4b43da67596be61600dbd746539c79495ac>
- other: <https://git.kernel.org/stable/c/0d29bf51f8dddcf8556bf76710d3dd3024a1a717>
- other: <https://git.kernel.org/stable/c/5b2fffbba290ed74f381911b9986570bc10feaa4>
- other: <https://git.kernel.org/stable/c/3359a372efb6d585c97019ee1b7f1874442bcebe>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98517>

HTML: <https://flawdb.com/CVE-2026-98517> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98517>
