CVE-2026-138903

Source
https://cve.org/CVERecord?id=CVE-2026-138903
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138903.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138903
Downstream
Published
2026-11-30T13:26:03Z
Modified
2026-11-30T15:01:27Z
Summary
spi: atmel-quadspi: balance runtime PM and pclk across system sleep
Details

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

spi: atmel-quadspi: balance runtime PM and pclk across system sleep

On the controllers with a generic clock (SAMA7G5, SAMA7D65, SAM9X7 and LAN969x), atmel_qspi_suspend() takes a runtime PM reference and returns without dropping it or suspending the device. It disables the peripheral clock directly. atmel_qspi_resume() only prepares the peripheral clock and then reinitializes the controller with that clock still off.

On a SAM9X75 Curiosity board, the tested standby and mem resumes failed:

atmel_qspi f0014000.spi: PM: failed to resume: error -110 spi-nor spi0.0: resume() failed

Reading the flash afterwards returned no data. The runtime usage count grew by one with each cycle, and the second suspend disabled the peripheral clock again:

WARNING: drivers/clk/clk.c:1257 at clk_core_disable+0x6c/0xcc qspi_clk already disabled

Use the same runtime PM sequence as the other variants. Suspend disables the controller and forces a runtime suspend. Resume forces a runtime resume, which enables the peripheral clock, before it runs the init callback, and drops the reference afterwards. With this change the tested resumes succeed on the board in both modes, the controller returns to runtime suspend, and the flash reads back.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138903.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5af42209a4d23adc9a09e59e586d1b47fef3cc86
Fixed
f4c1ad28c3c1be700de6ab5f46402ec8a612e965
Fixed
9241db627f3a5ba923f4626ce2995644a35300d5
Fixed
717e45f97246d1070cdf86ccd7a0fb872b45933a

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138903.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138903.json"