---
id: CVE-2025-68314
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/msm: make sure last_fence is always updated

  Update last_fence in the vm-bind path instead of kernel managed path.

  last_fence is used to wait for work to finish in…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/msm: make sure last_fence is always updated

  Update last_fence in the vm-bind path instead of kernel managed path.

  last_fence is used to wait for work to finish in…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
published: '2025-12-16'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-68314'
references:
  - url: 'https://git.kernel.org/stable/c/86404a9e3013d814a772ac407573be5d3cd4ee0d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8ee817ceafba266d9c6f3a09babd2ac7441d9a2b'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00133
epssPercentile: 0.02495
ingestedAt: '2026-10-14T16:40:32.056Z'
---

## Overview

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

drm/msm: make sure last_fence is always updated

Update last_fence in the vm-bind path instead of kernel managed path.

last_fence is used to wait for work to finish in vm_bind contexts but not
used for kernel managed contexts.

This fixes a bug where last_fence is not waited on context close leading
to faults as resources are freed while in use.

Patchwork: https://patchwork.freedesktop.org/patch/680080/

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
