CVE-2025-71299
publishedspi: cadence-quadspi: Parse DT for flashes with the rest of the DT parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf1eb4e792bb1ee3dcdffa66f8a83a4867cda2dd3 to < 08dca4c8099a41a9fa3be128a793387603f73a17 · f1eb4e792bb1ee3dcdffa66f8a83a4867cda2dd3 to < dcaa104ad9c860a6dbd5797919e0ec0b1cd5a57a · f1eb4e792bb1ee3dcdffa66f8a83a4867cda2dd3 to < 9f0736a4e136a6eb61e0cf530ddc18ab6d816ba3 · 7f3c5e0585250097be39736e6b182c5779b7b609 · 6.17.11 to < 6.18 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.18 (affected) · 0 to < 6.18 (unaffected · semver) · 6.18.16 through 6.18.* (unaffected · semver) · 6.19.6 through 6.19.* (unaffected · semver) · 7.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected; No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: spi: cadence-quadspi: Parse DT for flashes with the rest of the DT parsing The recent refactoring of where runtime PM is enabled done in commit f1eb4e792bb1 ("spi: spi-cadence-quadspi: Enable pm runtime earlier to avoid imbalance") made the fact that when we do a pm_runtime_disable() in the error paths of probe() we can trigger a runtime disable which in turn results in duplicate clock disables. This is particularly likely to happen when there is missing or broken DT description for the flashes attached to the controller. Early on in the probe function we do a pm_runtime_get_noresume() since the probe function leaves the device in a powered up state but in the error path we can't assume that PM is enabled so we also manually disable everything, including clocks. This means that when runtime PM is active both it and the probe function release the same reference to the main clock for the IP, triggering warnings from the clock subsystem: [ 8.693719] clk:75:7 already disabled [ 8.693791] WARNING: CPU: 1 PID: 185 at /usr/src/kernel/drivers/clk/clk.c:1188 clk_core_disable+0xa0/0xb ... [ 8.694261] clk_core_disable+0xa0/0xb4 (P) [ 8.694272] clk_disable+0x38/0x60 [ 8.694283] cqspi_probe+0x7c8/0xc5c [spi_cadence_quadspi] [ 8.694309] platform_probe+0x5c/0xa4 Dealing with this issue properly is complicated by the fact that we don't know if runtime PM is active so can't tell if it will disable the clocks or not. We can, however, sidestep the issue for the flash descriptions by moving their parsing to when we parse the controller properties which also save us doing a bunch of setup which can never be used so let's do that.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | f1eb4e792bb1ee3dcdffa66f8a83a4867cda2dd3 to < 08dca4c8099a41a9fa3be128a793387603f73a17 (affected · git)f1eb4e792bb1ee3dcdffa66f8a83a4867cda2dd3 to < dcaa104ad9c860a6dbd5797919e0ec0b1cd5a57a (affected · git)f1eb4e792bb1ee3dcdffa66f8a83a4867cda2dd3 to < 9f0736a4e136a6eb61e0cf530ddc18ab6d816ba3 (affected · git)7f3c5e0585250097be39736e6b182c5779b7b609 (affected · git)6.17.11 to < 6.18 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.18 (affected)0 to < 6.18 (unaffected · semver)6.18.16 through 6.18.* (unaffected · semver)6.19.6 through 6.19.* (unaffected · semver)7.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
spi: cadence-quadspi: Parse DT for flashes with the rest of the DT parsing
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5abef7f1ef78062b233b8ae7bed18fcd920fca98d397dce92950d74e7f318f6b
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record