# CVE-2025-68189: drm/msm: Fix GEM free for imported dma-bufs

> 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.22% (percentile 7, 2026-11-26)
- **Published:** 2025-12-16T13:43:11.507Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= de651b6e040ba419418a37401e45d24f133e8a59, \< 9674c4cb2fe62727a2e4d3f66065ab949dfa61be; \>= de651b6e040ba419418a37401e45d24f133e8a59, \< c34e08ba6c0037a72a7433741225b020c989e4ae
- Anyone running Linux 6.17

## Description

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

drm/msm: Fix GEM free for imported dma-bufs

Imported dma-bufs also have obj-\>resv != &obj-\>\_resv.  So we should
check both this condition in addition to flags for handling the
\_NO\_SHARE case.

Fixes this splat that was reported with IRIS video playback:

    ------------\[ cut here \]------------
    WARNING: CPU: 3 PID: 2040 at drivers/gpu/drm/msm/msm\_gem.c:1127 msm\_gem\_free\_object+0x1f8/0x264 \[msm\]
    CPU: 3 UID: 1000 PID: 2040 Comm: .gnome-shell-wr Not tainted 6.17.0-rc7 \#1 PREEMPT
    pstate: 81400005 (Nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
    pc : msm\_gem\_free\_object+0x1f8/0x264 \[msm\]
    lr : msm\_gem\_free\_object+0x138/0x264 \[msm\]
    sp : ffff800092a1bb30
    x29: ffff800092a1bb80 x28: ffff800092a1bce8 x27: ffffbc702dbdbe08
    x26: 0000000000000008 x25: 0000000000000009 x24: 00000000000000a6
    x23: ffff00083c72f850 x22: ffff00083c72f868 x21: ffff00087e69f200
    x20: ffff00087e69f330 x19: ffff00084d157ae0 x18: 0000000000000000
    x17: 0000000000000000 x16: ffffbc704bd46b80 x15: 0000ffffd0959540
    x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
    x11: ffffbc702e6cdb48 x10: 0000000000000000 x9 : 000000000000003f
    x8 : ffff800092a1ba90 x7 : 0000000000000000 x6 : 0000000000000020
    x5 : ffffbc704bd46c40 x4 : fffffdffe102cf60 x3 : 0000000000400032
    x2 : 0000000000020000 x1 : ffff00087e6978e8 x0 : ffff00087e6977e8
    Call trace:
     msm\_gem\_free\_object+0x1f8/0x264 \[msm\] (P)
     drm\_gem\_object\_free+0x1c/0x30 \[drm\]
     drm\_gem\_object\_handle\_put\_unlocked+0x138/0x150 \[drm\]
     drm\_gem\_object\_release\_handle+0x5c/0xcc \[drm\]
     drm\_gem\_handle\_delete+0x68/0xbc \[drm\]
     drm\_gem\_close\_ioctl+0x34/0x40 \[drm\]
     drm\_ioctl\_kernel+0xc0/0x130 \[drm\]
     drm\_ioctl+0x360/0x4e0 \[drm\]
     \_\_arm64\_sys\_ioctl+0xac/0x104
     invoke\_syscall+0x48/0x104
     el0\_svc\_common.constprop.0+0x40/0xe0
     do\_el0\_svc+0x1c/0x28
     el0\_svc+0x34/0xec
     el0t\_64\_sync\_handler+0xa0/0xe4
     el0t\_64\_sync+0x198/0x19c
    ---\[ end trace 0000000000000000 \]---
    ------------\[ cut here \]------------

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

## Affected and fixed versions

- Linux: \>= de651b6e040ba419418a37401e45d24f133e8a59, \< 9674c4cb2fe62727a2e4d3f66065ab949dfa61be; \>= de651b6e040ba419418a37401e45d24f133e8a59, \< c34e08ba6c0037a72a7433741225b020c989e4ae (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-68189.md
Affected: Linux >= de651b6e040ba419418a37401e45d24f133e8a59, < 9674c4cb2fe62727a2e4d3f66065ab949dfa61be; >= de651b6e040ba419418a37401e45d24f133e8a59, < c34e08ba6c0037a72a7433741225b020c989e4ae; Linux 6.17
Fixed in: Linux 9674c4cb2fe62727a2e4d3f66065ab949dfa61be

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

There is no confirmed exploitation: CVE-2025-68189 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-2025-68189?

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

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

Linux \>= de651b6e040ba419418a37401e45d24f133e8a59, \< 9674c4cb2fe62727a2e4d3f66065ab949dfa61be; \>= de651b6e040ba419418a37401e45d24f133e8a59, \< c34e08ba6c0037a72a7433741225b020c989e4ae; Linux 6.17.

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

Yes. Fixed in Linux 9674c4cb2fe62727a2e4d3f66065ab949dfa61be. No fix listed yet: follow the vendor advisory.

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

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/9674c4cb2fe62727a2e4d3f66065ab949dfa61be>
- other: <https://git.kernel.org/stable/c/c34e08ba6c0037a72a7433741225b020c989e4ae>

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

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