# CVE-2023-54013: interconnect: Fix locking for runpm vs reclaim

> 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.26% (percentile 11, 2026-11-26)
- **Published:** 2025-12-24T10:55:45.518Z
- **Modified:** 2026-11-23T08:17:10.640Z

## Who should check

- Anyone running Linux \>= 11f1ceca7031deefc1a34236ab7b94360016b71d, \< 2f3a124696d43de3c837f87a9f767c56ee86cf2a; \>= 11f1ceca7031deefc1a34236ab7b94360016b71d, \< af42269c3523492d71ebbe11fefae2653e9cdc78
- Anyone running Linux 5.1

## Description

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

interconnect: Fix locking for runpm vs reclaim

For cases where icc\_bw\_set() can be called in callbaths that could
deadlock against shrinker/reclaim, such as runpm resume, we need to
decouple the icc locking.  Introduce a new icc\_bw\_lock for cases where
we need to serialize bw aggregation and update to decouple that from
paths that require memory allocation such as node/link creation/
destruction.

Fixes this lockdep splat:

   ======================================================
   WARNING: possible circular locking dependency detected
   6.2.0-rc8-debug+ \#554 Not tainted
   ------------------------------------------------------
   ring0/132 is trying to acquire lock:
   ffffff80871916d0 (&gmu-\>lock){+.+.}-{3:3}, at: a6xx\_pm\_resume+0xf0/0x234

   but task is already holding lock:
   ffffffdb5aee57e8 (dma\_fence\_map){++++}-{0:0}, at: msm\_job\_run+0x68/0x150

   which lock already depends on the new lock.

   the existing dependency chain (in reverse order) is:

   -\> \#4 (dma\_fence\_map){++++}-{0:0}:
          \_\_dma\_fence\_might\_wait+0x74/0xc0
          dma\_resv\_lockdep+0x1f4/0x2f4
          do\_one\_initcall+0x104/0x2bc
          kernel\_init\_freeable+0x344/0x34c
          kernel\_init+0x30/0x134
          ret\_from\_fork+0x10/0x20

   -\> \#3 (mmu\_notifier\_invalidate\_range\_start){+.+.}-{0:0}:
          fs\_reclaim\_acquire+0x80/0xa8
          slab\_pre\_alloc\_hook.constprop.0+0x40/0x25c
          \_\_kmem\_cache\_alloc\_node+0x60/0x1cc
          \_\_kmalloc+0xd8/0x100
          topology\_parse\_cpu\_capacity+0x8c/0x178
          get\_cpu\_for\_node+0x88/0xc4
          parse\_cluster+0x1b0/0x28c
          parse\_cluster+0x8c/0x28c
          init\_cpu\_topology+0x168/0x188
          smp\_prepare\_cpus+0x24/0xf8
          kernel\_init\_freeable+0x18c/0x34c
          kernel\_init+0x30/0x134
          ret\_from\_fork+0x10/0x20

   -\> \#2 (fs\_reclaim){+.+.}-{0:0}:
          \_\_fs\_reclaim\_acquire+0x3c/0x48
          fs\_reclaim\_acquire+0x54/0xa8
          slab\_pre\_alloc\_hook.constprop.0+0x40/0x25c
          \_\_kmem\_cache\_alloc\_node+0x60/0x1cc
          \_\_kmalloc+0xd8/0x100
          kzalloc.constprop.0+0x14/0x20
          icc\_node\_create\_nolock+0x4c/0xc4
          icc\_node\_create+0x38/0x58
          qcom\_icc\_rpmh\_probe+0x1b8/0x248
          platform\_probe+0x70/0xc4
          really\_probe+0x158/0x290
          \_\_driver\_probe\_device+0xc8/0xe0
          driver\_probe\_device+0x44/0x100
          \_\_driver\_attach+0xf8/0x108
          bus\_for\_each\_dev+0x78/0xc4
          driver\_attach+0x2c/0x38
          bus\_add\_driver+0xd0/0x1d8
          driver\_register+0xbc/0xf8
          \_\_platform\_driver\_register+0x30/0x3c
          qnoc\_driver\_init+0x24/0x30
          do\_one\_initcall+0x104/0x2bc
          kernel\_init\_freeable+0x344/0x34c
          kernel\_init+0x30/0x134
          ret\_from\_fork+0x10/0x20

   -\> \#1 (icc\_lock){+.+.}-{3:3}:
          \_\_mutex\_lock+0xcc/0x3c8
          mutex\_lock\_nested+0x30/0x44
          icc\_set\_bw+0x88/0x2b4
          \_set\_opp\_bw+0x8c/0xd8
          \_set\_opp+0x19c/0x300
          dev\_pm\_opp\_set\_opp+0x84/0x94
          a6xx\_gmu\_resume+0x18c/0x804
          a6xx\_pm\_resume+0xf8/0x234
          adreno\_runtime\_resume+0x2c/0x38
          pm\_generic\_runtime\_resume+0x30/0x44
          \_\_rpm\_callback+0x15c/0x174
          rpm\_callback+0x78/0x7c
          rpm\_resume+0x318/0x524
          \_\_pm\_runtime\_resume+0x78/0xbc
          adreno\_load\_gpu+0xc4/0x17c
          msm\_open+0x50/0x120
          drm\_file\_alloc+0x17c/0x228
          drm\_open\_helper+0x74/0x118
          drm\_open+0xa0/0x144
          drm\_stub\_open+0xd4/0xe4
          chrdev\_open+0x1b8/0x1e4
          do\_dentry\_open+0x2f8/0x38c
          vfs\_open+0x34/0x40
          path\_openat+0x64c/0x7b4
          do\_filp\_open+0x54/0xc4
          do\_sys\_openat2+0x9c/0x100
          do\_sys\_open+0x50/0x7c
          \_\_arm64\_sys\_openat+0x28/0x34
          invoke\_syscall+0x8c/0x128
          el0\_svc\_common.constprop.0+0xa0/0x11c
          do\_el0\_
---truncated---

## Affected and fixed versions

- Linux: \>= 11f1ceca7031deefc1a34236ab7b94360016b71d, \< 2f3a124696d43de3c837f87a9f767c56ee86cf2a; \>= 11f1ceca7031deefc1a34236ab7b94360016b71d, \< af42269c3523492d71ebbe11fefae2653e9cdc78 (cvelist)
- Linux: 5.1 (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-2023-54013. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54013.md
Affected: Linux >= 11f1ceca7031deefc1a34236ab7b94360016b71d, < 2f3a124696d43de3c837f87a9f767c56ee86cf2a; >= 11f1ceca7031deefc1a34236ab7b94360016b71d, < af42269c3523492d71ebbe11fefae2653e9cdc78; Linux 5.1
Fixed in: Linux 2f3a124696d43de3c837f87a9f767c56ee86cf2a

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-2023-54013 being exploited?

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

### How serious is CVE-2023-54013?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54013?

Linux \>= 11f1ceca7031deefc1a34236ab7b94360016b71d, \< 2f3a124696d43de3c837f87a9f767c56ee86cf2a; \>= 11f1ceca7031deefc1a34236ab7b94360016b71d, \< af42269c3523492d71ebbe11fefae2653e9cdc78; Linux 5.1.

### Is there a fix for CVE-2023-54013?

Yes. Fixed in Linux 2f3a124696d43de3c837f87a9f767c56ee86cf2a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54013?

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/2f3a124696d43de3c837f87a9f767c56ee86cf2a>
- other: <https://git.kernel.org/stable/c/af42269c3523492d71ebbe11fefae2653e9cdc78>

## 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-2023-54013>

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