# CVE-2025-68757: drm/vgem-fence: Fix potential deadlock on release

> 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.27% (percentile 12, 2026-11-26)
- **Published:** 2026-01-05T09:32:30.496Z
- **Modified:** 2026-06-17T09:59:32.223Z

## Who should check

- Anyone running Linux \>= 4077798484459a2eced2050045099a466ecb618a, \< 37289a18099fc7ce916933bd542926a7334791a3; \>= 4077798484459a2eced2050045099a466ecb618a, \< 489b2158aec92a3fc256d70992416869f86e16e0; \>= 4077798484459a2eced2050045099a466ecb618a, \< 1026d1b0bd55e1be7ba0f9e9b1c9f6e02448f25a; \>= 4077798484459a2eced2050045099a466ecb618a, \< 9dc3c78d21e16f5af1a9c3d11b4bd5276f891fe0; \>= 4077798484459a2eced2050045099a466ecb618a, \< 338e388c0d80ffc04963b6b0ec702ffdfd2c4eba; \>= 4077798484459a2eced2050045099a466ecb618a, \< 4f335cb8fad69b2be5accf0ebac3a8b345915f4e; \>= 4077798484459a2eced2050045099a466ecb618a, \< 1f0ca9d3e7c38a39f1f12377c24decf0bba46e54; \>= 4077798484459a2eced2050045099a466ecb618a, \< 78b4d6463e9e69e5103f98b367f8984ad12cdc6f
- Anyone running Linux 4.8

## Description

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

drm/vgem-fence: Fix potential deadlock on release

A timer that expires a vgem fence automatically in 10 seconds is now
released with timer\_delete\_sync() from fence-\>ops.release() called on last
dma\_fence\_put().  In some scenarios, it can run in IRQ context, which is
not safe unless TIMER\_IRQSAFE is used.  One potentially risky scenario was
demonstrated in Intel DRM CI trybot, BAT run on machine bat-adlp-6, while
working on new IGT subtests syncobj\_timeline@stress-\* as user space
replacements of some problematic test cases of a dma-fence-chain selftest
\[1\].

\[117.004338\] ================================
\[117.004340\] WARNING: inconsistent lock state
\[117.004342\] 6.17.0-rc7-CI\_DRM\_17270-g7644974e648c+ \#1 Tainted: G S   U
\[117.004346\] --------------------------------
\[117.004347\] inconsistent {HARDIRQ-ON-W} -\> {IN-HARDIRQ-W} usage.
\[117.004349\] swapper/0/0 \[HC1\[1\]:SC1\[1\]:HE0:SE0\] takes:
\[117.004352\] ffff888138f86aa8 ((&fence-\>timer)){?.-.}-{0:0}, at: \_\_timer\_delete\_sync+0x4b/0x190
\[117.004361\] {HARDIRQ-ON-W} state was registered at:
\[117.004363\]   lock\_acquire+0xc4/0x2e0
\[117.004366\]   call\_timer\_fn+0x80/0x2a0
\[117.004368\]   \_\_run\_timers+0x231/0x310
\[117.004370\]   run\_timer\_softirq+0x76/0xe0
\[117.004372\]   handle\_softirqs+0xd4/0x4d0
\[117.004375\]   \_\_irq\_exit\_rcu+0x13f/0x160
\[117.004377\]   irq\_exit\_rcu+0xe/0x20
\[117.004379\]   sysvec\_apic\_timer\_interrupt+0xa0/0xc0
\[117.004382\]   asm\_sysvec\_apic\_timer\_interrupt+0x1b/0x20
\[117.004385\]   cpuidle\_enter\_state+0x12b/0x8a0
\[117.004388\]   cpuidle\_enter+0x2e/0x50
\[117.004393\]   call\_cpuidle+0x22/0x60
\[117.004395\]   do\_idle+0x1fd/0x260
\[117.004398\]   cpu\_startup\_entry+0x29/0x30
\[117.004401\]   start\_secondary+0x12d/0x160
\[117.004404\]   common\_startup\_64+0x13e/0x141
\[117.004407\] irq event stamp: 2282669
\[117.004409\] hardirqs last  enabled at (2282668): \[\<ffffffff8289db71\>\] \_raw\_spin\_unlock\_irqrestore+0x51/0x80
\[117.004414\] hardirqs last disabled at (2282669): \[\<ffffffff82882021\>\] sysvec\_irq\_work+0x11/0xc0
\[117.004419\] softirqs last  enabled at (2254702): \[\<ffffffff8289fd00\>\] \_\_do\_softirq+0x10/0x18
\[117.004423\] softirqs last disabled at (2254725): \[\<ffffffff813d4ddf\>\] \_\_irq\_exit\_rcu+0x13f/0x160
\[117.004426\]
other info that might help us debug this:
\[117.004429\]  Possible unsafe locking scenario:
\[117.004432\]        CPU0
\[117.004433\]        ----
\[117.004434\]   lock((&fence-\>timer));
\[117.004436\]   \<Interrupt\>
\[117.004438\]     lock((&fence-\>timer));
\[117.004440\]
 \*\*\* DEADLOCK \*\*\*
\[117.004443\] 1 lock held by swapper/0/0:
\[117.004445\]  \#0: ffffc90000003d50 ((&fence-\>timer)){?.-.}-{0:0}, at: call\_timer\_fn+0x7a/0x2a0
\[117.004450\]
stack backtrace:
\[117.004453\] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G S   U              6.17.0-rc7-CI\_DRM\_17270-g7644974e648c+ \#1 PREEMPT(voluntary)
\[117.004455\] Tainted: \[S\]=CPU\_OUT\_OF\_SPEC, \[U\]=USER
\[117.004455\] Hardware name: Intel Corporation Alder Lake Client Platform/AlderLake-P DDR4 RVP, BIOS RPLPFWI1.R00.4035.A00.2301200723 01/20/2023
\[117.004456\] Call Trace:
\[117.004456\]  \<IRQ\>
\[117.004457\]  dump\_stack\_lvl+0x91/0xf0
\[117.004460\]  dump\_stack+0x10/0x20
\[117.004461\]  print\_usage\_bug.part.0+0x260/0x360
\[117.004463\]  mark\_lock+0x76e/0x9c0
\[117.004465\]  ? register\_lock\_class+0x48/0x4a0
\[117.004467\]  \_\_lock\_acquire+0xbc3/0x2860
\[117.004469\]  lock\_acquire+0xc4/0x2e0
\[117.004470\]  ? \_\_timer\_delete\_sync+0x4b/0x190
\[117.004472\]  ? \_\_timer\_delete\_sync+0x4b/0x190
\[117.004473\]  \_\_timer\_delete\_sync+0x68/0x190
\[117.004474\]  ? \_\_timer\_delete\_sync+0x4b/0x190
\[117.004475\]  timer\_delete\_sync+0x10/0x20
\[117.004476\]  vgem\_fence\_release+0x19/0x30 \[vgem\]
\[117.004478\]  dma\_fence\_release+0xc1/0x3b0
\[117.004480\]  ? dma\_fence\_release+0xa1/0x3b0
\[117.004481\]  dma\_fence\_chain\_release+0xe7/0x130
\[117.004483\]  dma\_fence\_release+0xc1/0x3b0
\[117.004484\]  ? \_raw\_spin\_unlock\_irqrestore+0x27/0x80
\[117.004485\]  dma\_fence\_chain\_irq\_work+0x59/0x80
\[117.004487\]  irq\_work\_single+0x75/0xa0
\[117.004490\]  irq\_work\_r
---truncated---

## Affected and fixed versions

- Linux: \>= 4077798484459a2eced2050045099a466ecb618a, \< 37289a18099fc7ce916933bd542926a7334791a3; \>= 4077798484459a2eced2050045099a466ecb618a, \< 489b2158aec92a3fc256d70992416869f86e16e0; \>= 4077798484459a2eced2050045099a466ecb618a, \< 1026d1b0bd55e1be7ba0f9e9b1c9f6e02448f25a; \>= 4077798484459a2eced2050045099a466ecb618a, \< 9dc3c78d21e16f5af1a9c3d11b4bd5276f891fe0; \>= 4077798484459a2eced2050045099a466ecb618a, \< 338e388c0d80ffc04963b6b0ec702ffdfd2c4eba; \>= 4077798484459a2eced2050045099a466ecb618a, \< 4f335cb8fad69b2be5accf0ebac3a8b345915f4e; \>= 4077798484459a2eced2050045099a466ecb618a, \< 1f0ca9d3e7c38a39f1f12377c24decf0bba46e54; \>= 4077798484459a2eced2050045099a466ecb618a, \< 78b4d6463e9e69e5103f98b367f8984ad12cdc6f (cvelist)
- Linux: 4.8 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2025-68757.md
Affected: Linux >= 4077798484459a2eced2050045099a466ecb618a, < 37289a18099fc7ce916933bd542926a7334791a3; >= 4077798484459a2eced2050045099a466ecb618a, < 489b2158aec92a3fc256d70992416869f86e16e0; >= 4077798484459a2eced2050045099a466ecb618a, < 1026d1b0bd55e1be7ba0f9e9b1c9f6e02448f25a; >= 4077798484459a2eced2050…
Fixed in: Linux 37289a18099fc7ce916933bd542926a7334791a3, Linux 489b2158aec92a3fc256d70992416869f86e16e0, Linux 1026d1b0bd55e1be7ba0f9e9b1c9f6e02448f25a, Linux 9dc3c78d21e16f5af1a9c3d11b4bd5276f891fe0, Linux 338e388c0d80ffc04963b6b0ec702ffdfd2c4eba, Linux 4f335cb8fad69b2be5accf0ebac3a8b345915f4e, Linux 1f0ca…

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 4077798484459a2eced2050045099a466ecb618a, \< 37289a18099fc7ce916933bd542926a7334791a3; \>= 4077798484459a2eced2050045099a466ecb618a, \< 489b2158aec92a3fc256d70992416869f86e16e0; \>= 4077798484459a2eced2050045099a466ecb618a, \< 1026d1b0bd55e1be7ba0f9e9b1c9f6e02448f25a; \>= 4077798484459a2eced2050045099a466ecb618a, \< 9dc3c78d21e16f5af1a9c3d11b4bd5276f891fe0; \>= 4077798484459a2eced2050045099a466ecb618a, \< 338e388c0d80ffc04963b6b0ec702ffdfd2c4eba; \>= 4077798484459a2eced2050045099a466ecb618a, \< 4f335cb8fad69b2be5accf0ebac3a8b345915f4e; \>= 4077798484459a2eced2050045099a466ecb618a, \< 1f0ca9d3e7c38a39f1f12377c24decf0bba46e54; \>= 4077798484459a2eced2050045099a466ecb618a, \< 78b4d6463e9e69e5103f98b367f8984ad12cdc6f; Linux 4.8.

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

Yes. Fixed in Linux 37289a18099fc7ce916933bd542926a7334791a3, Linux 489b2158aec92a3fc256d70992416869f86e16e0, Linux 1026d1b0bd55e1be7ba0f9e9b1c9f6e02448f25a, Linux 9dc3c78d21e16f5af1a9c3d11b4bd5276f891fe0, Linux 338e388c0d80ffc04963b6b0ec702ffdfd2c4eba, Linux 4f335cb8fad69b2be5accf0ebac3a8b345915f4e, Linux 1f0ca9d3e7c38a39f1f12377c24decf0bba46e54, Linux 78b4d6463e9e69e5103f98b367f8984ad12cdc6f. Upgrade Linux to 78b4d6463e9e69e5103f98b367f8984ad12cdc6f or later.

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

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/37289a18099fc7ce916933bd542926a7334791a3>
- other: <https://git.kernel.org/stable/c/489b2158aec92a3fc256d70992416869f86e16e0>
- other: <https://git.kernel.org/stable/c/1026d1b0bd55e1be7ba0f9e9b1c9f6e02448f25a>
- other: <https://git.kernel.org/stable/c/9dc3c78d21e16f5af1a9c3d11b4bd5276f891fe0>
- other: <https://git.kernel.org/stable/c/338e388c0d80ffc04963b6b0ec702ffdfd2c4eba>
- other: <https://git.kernel.org/stable/c/4f335cb8fad69b2be5accf0ebac3a8b345915f4e>
- other: <https://git.kernel.org/stable/c/1f0ca9d3e7c38a39f1f12377c24decf0bba46e54>
- other: <https://git.kernel.org/stable/c/78b4d6463e9e69e5103f98b367f8984ad12cdc6f>

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

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