# CVE-2025-37765: drm/nouveau: prime: fix ttm\_bo\_delayed\_delete oops

> 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.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-05-01T13:07:06.498Z
- **Modified:** 2026-08-05T11:57:25.244Z

## Who should check

- Anyone running Linux \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 706868a1a1072cffd8bd63f7e161d79141099849; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 47761deabb69a5df0c2c4ec400d80bb3e072bd2e; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< ada78110b2d3ec88b398a49703bd336d4cee7a08; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 12b038d521c75e3521522503becf3bc162628469; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 31e94c7989572f96926673614a3b958915a13ca9; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 6e2c805996a49998d31ac522beb1534ca417e761; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 6b95947ee780f4e1fb26413a1437d05bcb99712b; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 8ec0fbb28d049273bfd4f1e7a5ae4c74884beed3
- Anyone running Linux 3.5

## Description

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

drm/nouveau: prime: fix ttm\_bo\_delayed\_delete oops

Fix an oops in ttm\_bo\_delayed\_delete which results from dererencing a
dangling pointer:

Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b7b: 0000 \[\#1\] PREEMPT SMP
CPU: 4 UID: 0 PID: 1082 Comm: kworker/u65:2 Not tainted 6.14.0-rc4-00267-g505460b44513-dirty \#216
Hardware name: LENOVO 82N6/LNVNB161216, BIOS GKCN65WW 01/16/2024
Workqueue: ttm ttm\_bo\_delayed\_delete \[ttm\]
RIP: 0010:dma\_resv\_iter\_first\_unlocked+0x55/0x290
Code: 31 f6 48 c7 c7 00 2b fa aa e8 97 bd 52 ff e8 a2 c1 53 00 5a 85 c0 74 48 e9 88 01 00 00 4c 89 63 20 4d 85 e4 0f 84 30 01 00 00 \<41\> 8b 44 24 10 c6 43 2c 01 48 89 df 89 43 28 e8 97 fd ff ff 4c 8b
RSP: 0018:ffffbf9383473d60 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffffbf9383473d88 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffbf9383473d78 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 6b6b6b6b6b6b6b6b
R13: ffffa003bbf78580 R14: ffffa003a6728040 R15: 00000000000383cc
FS:  0000000000000000(0000) GS:ffffa00991c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000758348024dd0 CR3: 000000012c259000 CR4: 0000000000f50ef0
PKRU: 55555554
Call Trace:
 \<TASK\>
 ? \_\_die\_body.cold+0x19/0x26
 ? die\_addr+0x3d/0x70
 ? exc\_general\_protection+0x159/0x460
 ? asm\_exc\_general\_protection+0x27/0x30
 ? dma\_resv\_iter\_first\_unlocked+0x55/0x290
 dma\_resv\_wait\_timeout+0x56/0x100
 ttm\_bo\_delayed\_delete+0x69/0xb0 \[ttm\]
 process\_one\_work+0x217/0x5c0
 worker\_thread+0x1c8/0x3d0
 ? apply\_wqattrs\_cleanup.part.0+0xc0/0xc0
 kthread+0x10b/0x240
 ? kthreads\_online\_cpu+0x140/0x140
 ret\_from\_fork+0x40/0x70
 ? kthreads\_online\_cpu+0x140/0x140
 ret\_from\_fork\_asm+0x11/0x20
 \</TASK\>

The cause of this is:

- drm\_prime\_gem\_destroy calls dma\_buf\_put(dma\_buf) which releases the
  reference to the shared dma\_buf. The reference count is 0, so the
  dma\_buf is destroyed, which in turn decrements the corresponding
  amdgpu\_bo reference count to 0, and the amdgpu\_bo is destroyed -
  calling drm\_gem\_object\_release then dma\_resv\_fini (which destroys the
  reservation object), then finally freeing the amdgpu\_bo.

- nouveau\_bo obj-\>bo.base.resv is now a dangling pointer to the memory
  formerly allocated to the amdgpu\_bo.

- nouveau\_gem\_object\_del calls ttm\_bo\_put(&nvbo-\>bo) which calls
  ttm\_bo\_release, which schedules ttm\_bo\_delayed\_delete.

- ttm\_bo\_delayed\_delete runs and dereferences the dangling resv pointer,
  resulting in a general protection fault.

Fix this by moving the drm\_prime\_gem\_destroy call from
nouveau\_gem\_object\_del to nouveau\_bo\_del\_ttm. This ensures that it will
be run after ttm\_bo\_delayed\_delete.

## Affected and fixed versions

- Linux: \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 706868a1a1072cffd8bd63f7e161d79141099849; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 47761deabb69a5df0c2c4ec400d80bb3e072bd2e; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< ada78110b2d3ec88b398a49703bd336d4cee7a08; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 12b038d521c75e3521522503becf3bc162628469; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 31e94c7989572f96926673614a3b958915a13ca9; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 6e2c805996a49998d31ac522beb1534ca417e761; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 6b95947ee780f4e1fb26413a1437d05bcb99712b; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 8ec0fbb28d049273bfd4f1e7a5ae4c74884beed3 (cvelist)
- Linux: 3.5 (cvelist)

## Mitigation

- Upgrade Linux to 8ec0fbb28d049273bfd4f1e7a5ae4c74884beed3 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-37765.md
Affected: Linux >= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, < 706868a1a1072cffd8bd63f7e161d79141099849; >= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, < 47761deabb69a5df0c2c4ec400d80bb3e072bd2e; >= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, < ada78110b2d3ec88b398a49703bd336d4cee7a08; >= 22b33e8ed0e38b8ddcf082e…
Fixed in: Linux 706868a1a1072cffd8bd63f7e161d79141099849, Linux 47761deabb69a5df0c2c4ec400d80bb3e072bd2e, Linux 12b038d521c75e3521522503becf3bc162628469, Linux 31e94c7989572f96926673614a3b958915a13ca9, Linux 6e2c805996a49998d31ac522beb1534ca417e761, Linux 6b95947ee780f4e1fb26413a1437d05bcb99712b, Linux 8ec0f…

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-2025-37765 being exploited?

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

### How serious is CVE-2025-37765?

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

### Which versions are affected by CVE-2025-37765?

Linux \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 706868a1a1072cffd8bd63f7e161d79141099849; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 47761deabb69a5df0c2c4ec400d80bb3e072bd2e; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< ada78110b2d3ec88b398a49703bd336d4cee7a08; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 12b038d521c75e3521522503becf3bc162628469; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 31e94c7989572f96926673614a3b958915a13ca9; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 6e2c805996a49998d31ac522beb1534ca417e761; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 6b95947ee780f4e1fb26413a1437d05bcb99712b; \>= 22b33e8ed0e38b8ddcf082e35580f2e67a3a0262, \< 8ec0fbb28d049273bfd4f1e7a5ae4c74884beed3; Linux 3.5.

### Is there a fix for CVE-2025-37765?

Yes. Fixed in Linux 706868a1a1072cffd8bd63f7e161d79141099849, Linux 47761deabb69a5df0c2c4ec400d80bb3e072bd2e, Linux 12b038d521c75e3521522503becf3bc162628469, Linux 31e94c7989572f96926673614a3b958915a13ca9, Linux 6e2c805996a49998d31ac522beb1534ca417e761, Linux 6b95947ee780f4e1fb26413a1437d05bcb99712b, Linux 8ec0fbb28d049273bfd4f1e7a5ae4c74884beed3. Upgrade Linux to 8ec0fbb28d049273bfd4f1e7a5ae4c74884beed3 or later.

### How do I check if I'm affected by CVE-2025-37765?

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

- patch: <https://git.kernel.org/stable/c/706868a1a1072cffd8bd63f7e161d79141099849>
- patch: <https://git.kernel.org/stable/c/47761deabb69a5df0c2c4ec400d80bb3e072bd2e>
- patch: <https://git.kernel.org/stable/c/ada78110b2d3ec88b398a49703bd336d4cee7a08>
- patch: <https://git.kernel.org/stable/c/12b038d521c75e3521522503becf3bc162628469>
- patch: <https://git.kernel.org/stable/c/31e94c7989572f96926673614a3b958915a13ca9>
- patch: <https://git.kernel.org/stable/c/6e2c805996a49998d31ac522beb1534ca417e761>
- patch: <https://git.kernel.org/stable/c/6b95947ee780f4e1fb26413a1437d05bcb99712b>
- patch: <https://git.kernel.org/stable/c/8ec0fbb28d049273bfd4f1e7a5ae4c74884beed3>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## 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-2025-37765>

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