# CVE-2026-98515: drm/nouveau: fix double-free in nvif\_vmm\_dtor

> 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.18% (percentile 4, 2026-11-26)
- **Published:** 2026-10-18T15:17:31.953Z
- **Modified:** 2026-10-24T14:16:45.433Z

## Who should check

- Anyone running Linux \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 023e7a01f8fb27799f0987b5bcda325d73a2904c; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 375901ac0f286e81be00a4126e57d488cb401884; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< bf542ecd4f60d4689818d194e7ca74772fe0f8b5; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< f09f4a536935b15539f2de9fe775a2641202be90; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 279e5ac137370e274a09dd552547ae6bddd0d4d5; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 109a8d2d5b7d2719ebe09df3f9241023900b3846; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 872a5473c02a26c955be44d52b7ab2f8ea70a2cf; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 97077ac87afe9e91ec074ef0be64454e7ccbf344
- Anyone running Linux 4.11

## Description

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

drm/nouveau: fix double-free in nvif\_vmm\_dtor

On failure, nouveau\_cli\_init() calls nouveau\_cli\_fini() to tear
the client down. Then, nouveau\_drm\_open() also enters into its
cleanup path and calls nouveau\_cli\_fini() AGAIN. nouveau\_cli\_fini()
calls nouveau\_vmm\_fini():

	void
	nouveau\_vmm\_fini(struct nouveau\_vmm \*vmm)
	{
		nouveau\_svmm\_fini(&vmm-\>svmm);
		nvif\_vmm\_dtor(&vmm-\>vmm);
		vmm-\>cli = NULL;
	}

Inside nvif\_vmm\_dtor(), vmm-\>page is freed unconditionally:

	void
	nvif\_vmm\_dtor(struct nvif\_vmm \*vmm)
	{
		kfree(vmm-\>page);
		nvif\_object\_dtor(&vmm-\>object);
	}

vmm-\>page is never cleared after being freed, so the second call of
nvif\_vmm\_dtor() will cause a double-free.

Found by fuzzing the nouveau driver with a modified Syzkaller:

	BUG: KASAN: double-free in nvif\_vmm\_dtor+0x31/0x50 drivers/gpu/drm/nouveau/nvif/vmm.c:194
	Free of addr ffff888010fcdc30 by task syz.0.173/2567

	CPU: 1 UID: 0 PID: 2567 Comm: syz.0.173 Not tainted 7.2.0 \#24 PREEMPT(lazy)
	Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
	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\_invalid\_free+0xaa/0xd0 mm/kasan/report.c:557
	check\_slab\_allocation+0xe4/0x110 mm/kasan/common.c:235
	kasan\_slab\_pre\_free include/linux/kasan.h:199 \[inline\]
	slab\_free\_hook mm/slub.c:2622 \[inline\]
	slab\_free mm/slub.c:6377 \[inline\]
	kfree+0x192/0x590 mm/slub.c:6692
	nvif\_vmm\_dtor+0x31/0x50 drivers/gpu/drm/nouveau/nvif/vmm.c:194
	nouveau\_vmm\_fini+0x16/0x50 drivers/gpu/drm/nouveau/nouveau\_vmm.c:127
	nouveau\_cli\_fini+0x10e/0x210 drivers/gpu/drm/nouveau/nouveau\_drm.c:225
	nouveau\_drm\_open+0x24e/0x740 drivers/gpu/drm/nouveau/nouveau\_drm.c:1255
	drm\_file\_alloc+0x5f2/0xad0 drivers/gpu/drm/drm\_file.c:176
	drm\_open\_helper+0x1d7/0x4a0 drivers/gpu/drm/drm\_file.c:335
	drm\_open+0x190/0x3d0 drivers/gpu/drm/drm\_file.c:388
	drm\_stub\_open+0x1f2/0x460 drivers/gpu/drm/drm\_drv.c:1211
	chrdev\_open+0x21c/0x660 fs/char\_dev.c:411
	do\_dentry\_open+0x59d/0x12b0 fs/open.c:947
	vfs\_open+0x82/0x390 fs/open.c:1052
	do\_open fs/namei.c:4700 \[inline\]
	path\_openat+0x2345/0x3420 fs/namei.c:4863
	do\_file\_open+0x207/0x460 fs/namei.c:4892
	do\_sys\_openat2+0xd1/0x1d0 fs/open.c:1368
	do\_sys\_open fs/open.c:1374 \[inline\]
	\_\_do\_sys\_openat fs/open.c:1390 \[inline\]
	\_\_se\_sys\_openat fs/open.c:1385 \[inline\]
	\_\_x64\_sys\_openat+0x144/0x200 fs/open.c:1385
	do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
	do\_syscall\_64+0x115/0x690 arch/x86/entry/syscall\_64.c:94
	entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
	RIP: 0033:0x7fc6d687594d
	Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
	RSP: 002b:00007fc6d5295008 EFLAGS: 00000246 ORIG\_RAX: 0000000000000101
	RAX: ffffffffffffffda RBX: 00007fc6d6b06180 RCX: 00007fc6d687594d
	RDX: 0000000000022501 RSI: 0000200000000000 RDI: ffffffffffffff9c
	RBP: 00007fc6d691c303 R08: 0000000000000000 R09: 0000000000000000
	R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
	R13: 00007fc6d6b06218 R14: 00007fc6d6b06180 R15: 00007ffd9451d760
	\</TASK\>

	Allocated by task 2567 on cpu 1 at 163.593900s:
	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\]
	nvif\_vmm\_ctor+0x3c0/0x7e0 drivers/gpu/drm/nouveau/nvif/vmm.c:237
	nouveau\_vmm\_init+0x40/0x90 drivers/gpu/drm/nouveau/nouveau\_vmm.c:134
	nouveau\_cli\_init+0x7b9/0
---truncated---

## Affected and fixed versions

- Linux: \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 023e7a01f8fb27799f0987b5bcda325d73a2904c; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 375901ac0f286e81be00a4126e57d488cb401884; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< bf542ecd4f60d4689818d194e7ca74772fe0f8b5; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< f09f4a536935b15539f2de9fe775a2641202be90; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 279e5ac137370e274a09dd552547ae6bddd0d4d5; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 109a8d2d5b7d2719ebe09df3f9241023900b3846; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 872a5473c02a26c955be44d52b7ab2f8ea70a2cf; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 97077ac87afe9e91ec074ef0be64454e7ccbf344 (cvelist)
- Linux: 4.11 (cvelist)

## Mitigation

- Upgrade Linux to 97077ac87afe9e91ec074ef0be64454e7ccbf344 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-98515. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98515.md
Affected: Linux >= 20d8a88e557aae5264e793f4626c45cd644c7144, < 023e7a01f8fb27799f0987b5bcda325d73a2904c; >= 20d8a88e557aae5264e793f4626c45cd644c7144, < 375901ac0f286e81be00a4126e57d488cb401884; >= 20d8a88e557aae5264e793f4626c45cd644c7144, < bf542ecd4f60d4689818d194e7ca74772fe0f8b5; >= 20d8a88e557aae5264e793f…
Fixed in: Linux 023e7a01f8fb27799f0987b5bcda325d73a2904c, Linux 375901ac0f286e81be00a4126e57d488cb401884, Linux 279e5ac137370e274a09dd552547ae6bddd0d4d5, Linux 109a8d2d5b7d2719ebe09df3f9241023900b3846, Linux 872a5473c02a26c955be44d52b7ab2f8ea70a2cf, Linux 97077ac87afe9e91ec074ef0be64454e7ccbf344

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-98515 being exploited?

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

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

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

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

Linux \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 023e7a01f8fb27799f0987b5bcda325d73a2904c; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 375901ac0f286e81be00a4126e57d488cb401884; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< bf542ecd4f60d4689818d194e7ca74772fe0f8b5; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< f09f4a536935b15539f2de9fe775a2641202be90; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 279e5ac137370e274a09dd552547ae6bddd0d4d5; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 109a8d2d5b7d2719ebe09df3f9241023900b3846; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 872a5473c02a26c955be44d52b7ab2f8ea70a2cf; \>= 20d8a88e557aae5264e793f4626c45cd644c7144, \< 97077ac87afe9e91ec074ef0be64454e7ccbf344; Linux 4.11.

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

Yes. Fixed in Linux 023e7a01f8fb27799f0987b5bcda325d73a2904c, Linux 375901ac0f286e81be00a4126e57d488cb401884, Linux 279e5ac137370e274a09dd552547ae6bddd0d4d5, Linux 109a8d2d5b7d2719ebe09df3f9241023900b3846, Linux 872a5473c02a26c955be44d52b7ab2f8ea70a2cf, Linux 97077ac87afe9e91ec074ef0be64454e7ccbf344. Upgrade Linux to 97077ac87afe9e91ec074ef0be64454e7ccbf344 or later.

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

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/023e7a01f8fb27799f0987b5bcda325d73a2904c>
- other: <https://git.kernel.org/stable/c/375901ac0f286e81be00a4126e57d488cb401884>
- other: <https://git.kernel.org/stable/c/bf542ecd4f60d4689818d194e7ca74772fe0f8b5>
- other: <https://git.kernel.org/stable/c/f09f4a536935b15539f2de9fe775a2641202be90>
- other: <https://git.kernel.org/stable/c/279e5ac137370e274a09dd552547ae6bddd0d4d5>
- other: <https://git.kernel.org/stable/c/109a8d2d5b7d2719ebe09df3f9241023900b3846>
- other: <https://git.kernel.org/stable/c/872a5473c02a26c955be44d52b7ab2f8ea70a2cf>
- other: <https://git.kernel.org/stable/c/97077ac87afe9e91ec074ef0be64454e7ccbf344>

## 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-98515>

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