# CVE-2026-64100: drm/msm: Fix shrinker deadlock

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.12% (percentile 1, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2026-07-19T15:40:05.530Z
- **Modified:** 2026-08-11T16:04:37.380Z

## Who should check

- Anyone running Linux \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 942968260e61d4a5d7552b20814b6277f9c553df; \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 928788566c79046f71a211fc32c115400be76402; \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 3392291fc509d8ad6e4ad90f15b0a193f721cbc9
- Anyone running Linux 6.17

## Description

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

drm/msm: Fix shrinker deadlock

With PROVE\_LOCKING on an Snapdragon X1 and VM reclaim pressure, we see:

   ======================================================
   WARNING: possible circular locking dependency detected
   7.0.0-debug+ \#43 Tainted: G        W
   ------------------------------------------------------
   kswapd0/82 is trying to acquire lock:
   ffff800080ec3870 (reservation\_ww\_class\_acquire){+.+.}-{0:0}, at: msm\_gem\_shrinker\_scan+0x17c/0x400 \[msm\]

   but task is already holding lock:
   ffffc31709b263b8 (fs\_reclaim){+.+.}-{0:0}, at: balance\_pgdat+0x88/0x988

   which lock already depends on the new lock.

   the existing dependency chain (in reverse order) is:

   -\> \#2 (fs\_reclaim){+.+.}-{0:0}:
          \_\_lock\_acquire+0x4d0/0xad0
          lock\_acquire.part.0+0xc4/0x248
          lock\_acquire+0x8c/0x248
          fs\_reclaim\_acquire+0xd0/0xf0
          dma\_resv\_lockdep+0x224/0x348
          do\_one\_initcall+0x84/0x5d0
          do\_initcalls+0x194/0x1d8
          kernel\_init\_freeable+0x128/0x180
          kernel\_init+0x2c/0x160
          ret\_from\_fork+0x10/0x20

   -\> \#1 (reservation\_ww\_class\_mutex){+.+.}-{4:4}:
          \_\_lock\_acquire+0x4d0/0xad0
          lock\_acquire.part.0+0xc4/0x248
          lock\_acquire+0x8c/0x248
          dma\_resv\_lockdep+0x1a8/0x348
          do\_one\_initcall+0x84/0x5d0
          do\_initcalls+0x194/0x1d8
          kernel\_init\_freeable+0x128/0x180
          kernel\_init+0x2c/0x160
          ret\_from\_fork+0x10/0x20

   -\> \#0 (reservation\_ww\_class\_acquire){+.+.}-{0:0}:
          check\_prev\_add+0x114/0x790
          validate\_chain+0x594/0x6f0
          \_\_lock\_acquire+0x4d0/0xad0
          lock\_acquire.part.0+0xc4/0x248
          lock\_acquire+0x8c/0x248
          drm\_gem\_lru\_scan+0x1ac/0x440
          msm\_gem\_shrinker\_scan+0x17c/0x400 \[msm\]
          do\_shrink\_slab+0x150/0x4a0
          shrink\_slab+0x144/0x460
          shrink\_one+0x9c/0x1b0
          shrink\_many+0x27c/0x5c0
          shrink\_node+0x344/0x550
          balance\_pgdat+0x2c0/0x988
          kswapd+0x11c/0x318
          kthread+0x10c/0x128
          ret\_from\_fork+0x10/0x20

   other info that might help us debug this:
   Chain exists of:
     reservation\_ww\_class\_acquire --\> reservation\_ww\_class\_mutex --\> fs\_reclaim
    Possible unsafe locking scenario:
          CPU0                    CPU1
          ----                    ----
     lock(fs\_reclaim);
                                  lock(reservation\_ww\_class\_mutex);
                                  lock(fs\_reclaim);
     lock(reservation\_ww\_class\_acquire);

    \*\*\* DEADLOCK \*\*\*
   1 lock held by kswapd0/82:
    \#0: ffffc31709b263b8 (fs\_reclaim){+.+.}-{0:0}, at: balance\_pgdat+0x88/0x988

   stack backtrace:
   CPU: 4 UID: 0 PID: 82 Comm: kswapd0 Tainted: G        W           7.0.0-debug+ \#43 PREEMPT(full)
   Tainted: \[W\]=WARN
   Hardware name: LENOVO 21BX0016US/21BX0016US, BIOS N3HET94W (1.66 ) 09/15/2025
   Call trace:
    show\_stack+0x20/0x40 (C)
    dump\_stack\_lvl+0x9c/0xd0
    dump\_stack+0x18/0x30
    print\_circular\_bug+0x114/0x120
    check\_noncircular+0x178/0x198
    check\_prev\_add+0x114/0x790
    validate\_chain+0x594/0x6f0
    \_\_lock\_acquire+0x4d0/0xad0
    lock\_acquire.part.0+0xc4/0x248
    lock\_acquire+0x8c/0x248
    drm\_gem\_lru\_scan+0x1ac/0x440
    msm\_gem\_shrinker\_scan+0x17c/0x400 \[msm\]
    do\_shrink\_slab+0x150/0x4a0
    shrink\_slab+0x144/0x460
    shrink\_one+0x9c/0x1b0
    shrink\_many+0x27c/0x5c0
    shrink\_node+0x344/0x550
    balance\_pgdat+0x2c0/0x988
    kswapd+0x11c/0x318
    kthread+0x10c/0x128
    ret\_from\_fork+0x10/0x20

kswapd0 holding fs\_reclaim calls the MSM shrinker, which calls
dma\_resv\_lock. This in turn acquires fs\_reclaim.

Fix this deadlock by using dma\_resv\_trylock() instead, dropping the
subsequently unused passed wait-wound lock 'ticket'.

Patchwork: https://patchwork.freedesktop.org/patch/723564/
\[rob: fixup compile errors, replace lockdep splat with somethin
---truncated---

## Affected and fixed versions

- Linux: \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 942968260e61d4a5d7552b20814b6277f9c553df; \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 928788566c79046f71a211fc32c115400be76402; \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 3392291fc509d8ad6e4ad90f15b0a193f721cbc9 (cvelist)
- Linux: 6.17 (cvelist)

## Mitigation

- Upgrade Linux to 3392291fc509d8ad6e4ad90f15b0a193f721cbc9 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-64100.md
Affected: Linux >= fe4952b5f27cca5d143d3de249562d4cc984c1d6, < 942968260e61d4a5d7552b20814b6277f9c553df; >= fe4952b5f27cca5d143d3de249562d4cc984c1d6, < 928788566c79046f71a211fc32c115400be76402; >= fe4952b5f27cca5d143d3de249562d4cc984c1d6, < 3392291fc509d8ad6e4ad90f15b0a193f721cbc9; Linux 6.17
Fixed in: Linux 942968260e61d4a5d7552b20814b6277f9c553df, Linux 928788566c79046f71a211fc32c115400be76402, Linux 3392291fc509d8ad6e4ad90f15b0a193f721cbc9

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-2026-64100 being exploited?

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

### How serious is CVE-2026-64100?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-64100?

Linux \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 942968260e61d4a5d7552b20814b6277f9c553df; \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 928788566c79046f71a211fc32c115400be76402; \>= fe4952b5f27cca5d143d3de249562d4cc984c1d6, \< 3392291fc509d8ad6e4ad90f15b0a193f721cbc9; Linux 6.17.

### Is there a fix for CVE-2026-64100?

Yes. Fixed in Linux 942968260e61d4a5d7552b20814b6277f9c553df, Linux 928788566c79046f71a211fc32c115400be76402, Linux 3392291fc509d8ad6e4ad90f15b0a193f721cbc9. Upgrade Linux to 3392291fc509d8ad6e4ad90f15b0a193f721cbc9 or later.

### How do I check if I'm affected by CVE-2026-64100?

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/942968260e61d4a5d7552b20814b6277f9c553df>
- patch: <https://git.kernel.org/stable/c/928788566c79046f71a211fc32c115400be76402>
- patch: <https://git.kernel.org/stable/c/3392291fc509d8ad6e4ad90f15b0a193f721cbc9>

## 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-2026-64100>

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