# CVE-2025-68314: drm/msm: make sure last_fence is always updated

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2025-12-16T15:39:44.791Z
- Modified: 2026-10-14T16:10:00.250Z
- Assigned by: Linux

## Description

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/

(As written by CVE List.)

## Affected

- Linux Linux: from 92395af63a9958615edfa9d4ef1ea72c92a00410 before 8ee817ceafba266d9c6f3a09babd2ac7441d9a2b; from 92395af63a9958615edfa9d4ef1ea72c92a00410 before 86404a9e3013d814a772ac407573be5d3cd4ee0d; 6.17 (not affected: before 6.17; from 6.17.8 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/8ee817ceafba266d9c6f3a09babd2ac7441d9a2b>
- <https://git.kernel.org/stable/c/86404a9e3013d814a772ac407573be5d3cd4ee0d>

## Sources

- CVE List: [CVE-2025-68314](https://www.cve.org/CVERecord?id=CVE-2025-68314), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-68314](https://nvd.nist.gov/vuln/detail/CVE-2025-68314), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-68314 · Whole record: https://cve.day/CVE-2025-68314.json · Rebuilt by cve.day 2026-11-25T22:59:09.538Z
