CVE-2025-71299·Kernel vulnerability
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.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.6
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.6
Fixed in: 6.19.6
How to fix this CVE
Update your Linux kernel to version 6.19.6 or later to resolve a clock management issue in the Cadence QSPI controller driver that can cause duplicate clock disable warnings and system instability. The fix reorganizes device tree flash description parsing to occur earlier in the probe sequence, preventing runtime PM conflicts during error handling. Systems with incomplete or malformed flash device tree configurations are most at risk and should prioritize this update.
sudo dnf check-update kernel && sudo dnf update kernelDefensia detects this vulnerability
How to check if you are affected
- Run `uname -r` to display the currently running kernel version and verify it is 6.19.6 or later
- Check if your system uses Cadence QSPI flash storage by running `grep -r 'cadence.*qspi' /sys/devices` or examining boot firmware configuration
- Search kernel logs for clock warnings using `dmesg | grep -i 'clk.*already disabled'` or `journalctl -k | grep -i 'clk.*disable'`
- Verify the fix by confirming no clock warnings appear after reboot and checking `cat /proc/version` shows kernel 6.19.6 or later
FAQ
What is CVE-2025-71299?
CVE-2025-71299 is a kernel bug in the Cadence QSPI flash controller driver where device tree parsing order causes duplicate clock disable operations during error handling, resulting in runtime PM imbalance warnings and potential system instability on systems with incomplete flash configurations.
Is CVE-2025-71299 being actively exploited?
No, CVE-2025-71299 is not actively exploited according to CISA KEV data and no public exploits are currently available. This is a local kernel stability issue rather than a remote code execution vector.
What versions of Kernel are affected by CVE-2025-71299?
Linux kernel versions 6.19 through 6.19.5 are affected. The vulnerability is fixed in kernel version 6.19.6 and later.
How do I check if my server is vulnerable to CVE-2025-71299?
Run `uname -r` to check your kernel version. If it reports 6.19.0 through 6.19.5, your system is vulnerable. Additionally, check `dmesg | grep 'clk.*already disabled'` for exploitation indicators.
Does Defensia detect CVE-2025-71299?
Yes — Defensia's CVE advisory scanner compares installed kernel package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2025-71299 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-71299. Free for 1 server.
Get started free