# CVE-2026-98511: drm/nouveau: don't bump pin count on failed re-pin in nouveau\_bo\_pin\_locked()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-18T15:17:25.033Z
- **Modified:** 2026-10-30T13:21:15.540Z

## Who should check

- Anyone running Linux \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 6d6e9291413fda06588846cbbf09b789a0e948fa; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< a6e755acf85793a7b4d29ba27b5421af1087263f; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 9924c1d64405be8d10b906368dfb1cfe0d0c6bf0; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 19f5a5839b308697824ff46e6213a2b4cb677771; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 189ffc7b6cad6390c0695031cb6c7c63472981e8; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 6a6870d3077faa501ca97760057ddca22b68418d
- Anyone running Linux 3.19

## Description

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

drm/nouveau: don't bump pin count on failed re-pin in nouveau\_bo\_pin\_locked()

nouveau\_bo\_pin\_locked() checks whether an already pinned BO is in a
memory domain compatible with a new pin request. When the domains are
incompatible, it sets -EBUSY but still calls ttm\_bo\_pin() before
returning.

Callers treat a failed nouveau\_bo\_pin() as not having acquired a new pin,
so the extra pin count is never decreased by a matching unpin.
This triggers the warning in ttm\_bo\_release():

	WARN\_ON\_ONCE(bo-\>pin\_count);

Found when fuzzing the nouveau driver with a modified Syzkaller:

	WARNING: drivers/gpu/drm/ttm/ttm\_bo.c:256 at ttm\_bo\_release+0x827/0x9e0 drivers/gpu/drm/ttm/ttm\_bo.c:256, CPU\#1: syz.3.24/2212
	Modules linked in:
	CPU: 1 UID: 0 PID: 2212 Comm: syz.3.24 Not tainted 7.2.0 \#24 PREEMPT(lazy)
	nouveau 0000:01:00.0: gsp:msg fn:103 len:0x40/0x20 res:0x19 resp:0x19
	Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
	RIP: 0010:ttm\_bo\_release+0x827/0x9e0 drivers/gpu/drm/ttm/ttm\_bo.c:256
	Code: 02 00 0f 85 51 01 00 00 48 8b 7b 08 e8 d2 20 01 00 e9 80 fd ff ff e8 d8 15 c0 fe 90 0f 0b 90 e9 e1 f8 ff ff e8 ca 15 c0 fe 90 \<0f\> 0b 90 e9 a4 f8 ff ff e8 bc 15 c0 fe be 03 00 00 00 4c 89 e7 e8
	msg: 00000000: 05 00 d0 c1 04 00 f0 f1 01 30 00 00 2d 90 00 00  .........0..-...
	RSP: 0018:ffffc9000f5cf710 EFLAGS: 00010293
	RAX: 0000000000000000 RBX: ffff888018e5d2a8 RCX: ffffffff82bb1b36
	RDX: ffff888017b68000 RSI: 0000000000000004 RDI: ffff888018e5d2a8
	msg: 00000010: 19 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
	RBP: ffff88801261c720 R08: 0000000000000001 R09: ffffed10031cba55
	R10: ffff888018e5d2ab R11: 00000000000000f3 R12: ffff888018e5d290
	R13: ffff888018e5d2d4 R14: ffff88801b219c18 R15: dffffc0000000000
	FS:  0000000000000000(0000) GS:ffff8880e0f6f000(0000) knlGS:0000000000000000
	CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
	CR2: 0000001b31223ffc CR3: 0000000028e00005 CR4: 0000000000770ef0
	PKRU: 80000000
	Call Trace:
	\<TASK\>
	kref\_put include/linux/kref.h:65 \[inline\]
	ttm\_bo\_put drivers/gpu/drm/ttm/ttm\_bo.c:325 \[inline\]
	ttm\_bo\_fini+0x55/0x80 drivers/gpu/drm/ttm/ttm\_bo.c:330
	nouveau\_gem\_object\_del+0xb2/0x1b0 drivers/gpu/drm/nouveau/nouveau\_gem.c:90
	drm\_gem\_object\_free+0x5f/0x90 drivers/gpu/drm/drm\_gem.c:1165
	kref\_put include/linux/kref.h:65 \[inline\]
	\_\_drm\_gem\_object\_put include/drm/drm\_gem.h:562 \[inline\]
	drm\_gem\_object\_put include/drm/drm\_gem.h:575 \[inline\]
	nouveau\_abi16\_chan\_fini.constprop.0+0x44f/0x5a0 drivers/gpu/drm/nouveau/nouveau\_abi16.c:195
	nouveau 0000:01:00.0: syz.2.23\[2209\]: Unknown handle 0x00000000
	nouveau\_abi16\_fini+0x1d0/0x340 drivers/gpu/drm/nouveau/nouveau\_abi16.c:225
	nouveau\_drm\_postclose+0x18b/0x3e0 drivers/gpu/drm/nouveau/nouveau\_drm.c:1284
	nouveau 0000:01:00.0: syz.2.23\[2209\]: validate\_init
	drm\_file\_free.part.0+0x6d6/0xb60 drivers/gpu/drm/drm\_file.c:267
	drm\_file\_free drivers/gpu/drm/drm\_file.c:237 \[inline\]
	drm\_close\_helper.isra.0+0x11a/0x160 drivers/gpu/drm/drm\_file.c:290
	drm\_release+0x1ab/0x330 drivers/gpu/drm/drm\_file.c:438
	\_\_fput+0x39c/0xa60 fs/file\_table.c:512
	nouveau 0000:01:00.0: syz.2.23\[2209\]: validate: -2
	task\_work\_run+0x15a/0x230 kernel/task\_work.c:233
	exit\_task\_work include/linux/task\_work.h:40 \[inline\]
	do\_exit+0x82b/0x25a0 kernel/exit.c:1009
	do\_group\_exit+0xc2/0x280 kernel/exit.c:1152
	get\_signal+0x1d6e/0x1f30 kernel/signal.c:3046
	arch\_do\_signal\_or\_restart+0x7d/0x6e0 arch/x86/kernel/signal.c:337
	\_\_exit\_to\_user\_mode\_loop kernel/entry/common.c:66 \[inline\]
	exit\_to\_user\_mode\_loop+0xdf/0x440 kernel/entry/common.c:101
	\_\_exit\_to\_user\_mode\_prepare include/linux/irq-entry-common.h:207 \[inline\]
	syscall\_exit\_to\_user\_mode\_prepare include/linux/irq-entry-common.h:230 \[inline\]
	syscall\_exit\_to\_user\_mode include/linux/entry-common.h:318 \[inline\]
	do\_syscall\_64+0x4f8/0x690 arch/x86/entry/syscall\_64.c:100
	entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
	RI
---truncated---

## Affected and fixed versions

- Linux: \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 6d6e9291413fda06588846cbbf09b789a0e948fa; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< a6e755acf85793a7b4d29ba27b5421af1087263f; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 9924c1d64405be8d10b906368dfb1cfe0d0c6bf0; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 19f5a5839b308697824ff46e6213a2b4cb677771; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 189ffc7b6cad6390c0695031cb6c7c63472981e8; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 6a6870d3077faa501ca97760057ddca22b68418d (cvelist)
- Linux: 3.19 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98511.md
Affected: Linux >= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, < 6d6e9291413fda06588846cbbf09b789a0e948fa; >= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, < a6e755acf85793a7b4d29ba27b5421af1087263f; >= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, < 5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8; >= ad76b3f7c7a0836e74ac0e3…
Fixed in: Linux 6d6e9291413fda06588846cbbf09b789a0e948fa, Linux 5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8, Linux 9924c1d64405be8d10b906368dfb1cfe0d0c6bf0, Linux 73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee, Linux 19f5a5839b308697824ff46e6213a2b4cb677771, Linux 189ffc7b6cad6390c0695031cb6c7c63472981e8, Linux 6a687…

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 6d6e9291413fda06588846cbbf09b789a0e948fa; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< a6e755acf85793a7b4d29ba27b5421af1087263f; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 9924c1d64405be8d10b906368dfb1cfe0d0c6bf0; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 19f5a5839b308697824ff46e6213a2b4cb677771; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 189ffc7b6cad6390c0695031cb6c7c63472981e8; \>= ad76b3f7c7a0836e74ac0e316e03988ef3c43564, \< 6a6870d3077faa501ca97760057ddca22b68418d; Linux 3.19.

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

Yes. Fixed in Linux 6d6e9291413fda06588846cbbf09b789a0e948fa, Linux 5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8, Linux 9924c1d64405be8d10b906368dfb1cfe0d0c6bf0, Linux 73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee, Linux 19f5a5839b308697824ff46e6213a2b4cb677771, Linux 189ffc7b6cad6390c0695031cb6c7c63472981e8, Linux 6a6870d3077faa501ca97760057ddca22b68418d. Upgrade Linux to 6a6870d3077faa501ca97760057ddca22b68418d or later.

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

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/6d6e9291413fda06588846cbbf09b789a0e948fa>
- other: <https://git.kernel.org/stable/c/a6e755acf85793a7b4d29ba27b5421af1087263f>
- other: <https://git.kernel.org/stable/c/5cb7109f0f5f1b47b172e2d5b868d4ce3ae687f8>
- other: <https://git.kernel.org/stable/c/9924c1d64405be8d10b906368dfb1cfe0d0c6bf0>
- other: <https://git.kernel.org/stable/c/73c7093e6cc1e6b181a79e16eccc4b8d4f34d8ee>
- other: <https://git.kernel.org/stable/c/19f5a5839b308697824ff46e6213a2b4cb677771>
- other: <https://git.kernel.org/stable/c/189ffc7b6cad6390c0695031cb6c7c63472981e8>
- other: <https://git.kernel.org/stable/c/6a6870d3077faa501ca97760057ddca22b68418d>

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

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