# CVE-2024-26806: spi: cadence-qspi: remove system-wide suspend helper calls from runtime PM hooks

> 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.20% (percentile 6, 2026-11-28)
- **CWE:** CWE-667
- **Published:** 2024-04-04T08:20:33.512Z
- **Modified:** 2026-06-17T07:18:23.847Z

## Who should check

- Anyone running Linux \>= 0578a6dbfe7514db7134501cf93acc21cf13e479, \< 041562ebc4759c9932b59a06527f8753b86da365; \>= 0578a6dbfe7514db7134501cf93acc21cf13e479, \< 959043afe53ae80633e810416cee6076da6e91c6
- Anyone running Linux 6.7

## Description

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

spi: cadence-qspi: remove system-wide suspend helper calls from runtime PM hooks

The -\>runtime\_suspend() and -\>runtime\_resume() callbacks are not
expected to call spi\_controller\_suspend() and spi\_controller\_resume().
Remove calls to those in the cadence-qspi driver.

Those helpers have two roles currently:
 - They stop/start the queue, including dealing with the kworker.
 - They toggle the SPI controller SPI\_CONTROLLER\_SUSPENDED flag. It
   requires acquiring ctlr-\>bus\_lock\_mutex.

Step one is irrelevant because cadence-qspi is not queued. Step two
however has two implications:
 - A deadlock occurs, because -\>runtime\_resume() is called in a context
   where the lock is already taken (in the -\>exec\_op() callback, where
   the usage count is incremented).
 - It would disallow all operations once the device is auto-suspended.

Here is a brief call tree highlighting the mutex deadlock:

spi\_mem\_exec\_op()
        ...
        spi\_mem\_access\_start()
                mutex\_lock(&ctlr-\>bus\_lock\_mutex)

        cqspi\_exec\_mem\_op()
                pm\_runtime\_resume\_and\_get()
                        cqspi\_resume()
                                spi\_controller\_resume()
                                        mutex\_lock(&ctlr-\>bus\_lock\_mutex)
                ...

        spi\_mem\_access\_end()
                mutex\_unlock(&ctlr-\>bus\_lock\_mutex)
        ...

## Affected and fixed versions

- Linux: \>= 0578a6dbfe7514db7134501cf93acc21cf13e479, \< 041562ebc4759c9932b59a06527f8753b86da365; \>= 0578a6dbfe7514db7134501cf93acc21cf13e479, \< 959043afe53ae80633e810416cee6076da6e91c6 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- Upgrade Linux to 959043afe53ae80633e810416cee6076da6e91c6 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-26806. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26806.md
Affected: Linux >= 0578a6dbfe7514db7134501cf93acc21cf13e479, < 041562ebc4759c9932b59a06527f8753b86da365; >= 0578a6dbfe7514db7134501cf93acc21cf13e479, < 959043afe53ae80633e810416cee6076da6e91c6; Linux 6.7
Fixed in: Linux 041562ebc4759c9932b59a06527f8753b86da365, Linux 959043afe53ae80633e810416cee6076da6e91c6

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

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

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

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

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

Linux \>= 0578a6dbfe7514db7134501cf93acc21cf13e479, \< 041562ebc4759c9932b59a06527f8753b86da365; \>= 0578a6dbfe7514db7134501cf93acc21cf13e479, \< 959043afe53ae80633e810416cee6076da6e91c6; Linux 6.7.

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

Yes. Fixed in Linux 041562ebc4759c9932b59a06527f8753b86da365, Linux 959043afe53ae80633e810416cee6076da6e91c6. Upgrade Linux to 959043afe53ae80633e810416cee6076da6e91c6 or later.

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

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/041562ebc4759c9932b59a06527f8753b86da365>
- patch: <https://git.kernel.org/stable/c/959043afe53ae80633e810416cee6076da6e91c6>

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

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