# CVE-2024-26605: PCI/ASPM: Fix deadlock when enabling ASPM

> 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.23% (percentile 9, 2026-11-28)
- **CWE:** CWE-667
- **Published:** 2024-02-24T15:17:13.899Z
- **Modified:** 2026-06-17T07:17:52.657Z

## Who should check

- Anyone running Linux \>= b9c370b61d735a0e5390c42771e7eb21413f7868, \< 0f7908a016c092cfdaa16d785fa5099d867bc1a3; \>= 8cc22ba3f77c59df5f1ac47d62df51efb28cd868, \< b0f4478838be1f1d330061201898fef65bf8fd7c; \>= f93e71aea6c60ebff8adbd8941e678302d377869, \< ef90508574d7af48420bdc5f7b9a4f1cdd26bc70; \>= f93e71aea6c60ebff8adbd8941e678302d377869, \< 1e560864159d002b453da42bd2c13a1805515a20; 1f2f662c8bec75d1311e063efaa9107435cf16c8; \>= 6.1.72, \< 6.1.88; \>= 6.6.11, \< 6.6.29; \>= 5.15.147, \< 5.16
- Anyone running Linux 6.7

## Description

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

PCI/ASPM: Fix deadlock when enabling ASPM

A last minute revert in 6.7-final introduced a potential deadlock when
enabling ASPM during probe of Qualcomm PCIe controllers as reported by
lockdep:

  ============================================
  WARNING: possible recursive locking detected
  6.7.0 \#40 Not tainted
  --------------------------------------------
  kworker/u16:5/90 is trying to acquire lock:
  ffffacfa78ced000 (pci\_bus\_sem){++++}-{3:3}, at: pcie\_aspm\_pm\_state\_change+0x58/0xdc

              but task is already holding lock:
  ffffacfa78ced000 (pci\_bus\_sem){++++}-{3:3}, at: pci\_walk\_bus+0x34/0xbc

              other info that might help us debug this:
   Possible unsafe locking scenario:

         CPU0
         ----
    lock(pci\_bus\_sem);
    lock(pci\_bus\_sem);

               \*\*\* DEADLOCK \*\*\*

  Call trace:
   print\_deadlock\_bug+0x25c/0x348
   \_\_lock\_acquire+0x10a4/0x2064
   lock\_acquire+0x1e8/0x318
   down\_read+0x60/0x184
   pcie\_aspm\_pm\_state\_change+0x58/0xdc
   pci\_set\_full\_power\_state+0xa8/0x114
   pci\_set\_power\_state+0xc4/0x120
   qcom\_pcie\_enable\_aspm+0x1c/0x3c \[pcie\_qcom\]
   pci\_walk\_bus+0x64/0xbc
   qcom\_pcie\_host\_post\_init\_2\_7\_0+0x28/0x34 \[pcie\_qcom\]

The deadlock can easily be reproduced on machines like the Lenovo ThinkPad
X13s by adding a delay to increase the race window during asynchronous
probe where another thread can take a write lock.

Add a new pci\_set\_power\_state\_locked() and associated helper functions that
can be called with the PCI bus semaphore held to avoid taking the read lock
twice.

## Affected and fixed versions

- Linux: \>= b9c370b61d735a0e5390c42771e7eb21413f7868, \< 0f7908a016c092cfdaa16d785fa5099d867bc1a3; \>= 8cc22ba3f77c59df5f1ac47d62df51efb28cd868, \< b0f4478838be1f1d330061201898fef65bf8fd7c; \>= f93e71aea6c60ebff8adbd8941e678302d377869, \< ef90508574d7af48420bdc5f7b9a4f1cdd26bc70; \>= f93e71aea6c60ebff8adbd8941e678302d377869, \< 1e560864159d002b453da42bd2c13a1805515a20; 1f2f662c8bec75d1311e063efaa9107435cf16c8; \>= 6.1.72, \< 6.1.88; \>= 6.6.11, \< 6.6.29; \>= 5.15.147, \< 5.16 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 5.16 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26605.md
Affected: Linux >= b9c370b61d735a0e5390c42771e7eb21413f7868, < 0f7908a016c092cfdaa16d785fa5099d867bc1a3; >= 8cc22ba3f77c59df5f1ac47d62df51efb28cd868, < b0f4478838be1f1d330061201898fef65bf8fd7c; >= f93e71aea6c60ebff8adbd8941e678302d377869, < ef90508574d7af48420bdc5f7b9a4f1cdd26bc70; >= f93e71aea6c60ebff8adbd8…
Fixed in: Linux 0f7908a016c092cfdaa16d785fa5099d867bc1a3, Linux 1e560864159d002b453da42bd2c13a1805515a20, Linux 6.1.88, Linux 6.6.29, Linux 5.16

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-2024-26605 being exploited?

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

### How serious is CVE-2024-26605?

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

### Which versions are affected by CVE-2024-26605?

Linux \>= b9c370b61d735a0e5390c42771e7eb21413f7868, \< 0f7908a016c092cfdaa16d785fa5099d867bc1a3; \>= 8cc22ba3f77c59df5f1ac47d62df51efb28cd868, \< b0f4478838be1f1d330061201898fef65bf8fd7c; \>= f93e71aea6c60ebff8adbd8941e678302d377869, \< ef90508574d7af48420bdc5f7b9a4f1cdd26bc70; \>= f93e71aea6c60ebff8adbd8941e678302d377869, \< 1e560864159d002b453da42bd2c13a1805515a20; 1f2f662c8bec75d1311e063efaa9107435cf16c8; \>= 6.1.72, \< 6.1.88; \>= 6.6.11, \< 6.6.29; \>= 5.15.147, \< 5.16; Linux 6.7.

### Is there a fix for CVE-2024-26605?

Yes. Fixed in Linux 0f7908a016c092cfdaa16d785fa5099d867bc1a3, Linux 1e560864159d002b453da42bd2c13a1805515a20, Linux 6.1.88, Linux 6.6.29, Linux 5.16. Upgrade Linux to 5.16 or later.

### How do I check if I'm affected by CVE-2024-26605?

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/ef90508574d7af48420bdc5f7b9a4f1cdd26bc70>
- patch: <https://git.kernel.org/stable/c/1e560864159d002b453da42bd2c13a1805515a20>
- other: <https://git.kernel.org/stable/c/0f7908a016c092cfdaa16d785fa5099d867bc1a3>
- other: <https://git.kernel.org/stable/c/b0f4478838be1f1d330061201898fef65bf8fd7c>

## 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-2024-26605>

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