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

Published Nov 30, 2026
·
Updated

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), atmelqspisuspend() takes a runtime PM reference and returns without dropping it or suspending the device. It disables the peripheral clock directly. atmelqspiresume() 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:

atmelqspi 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 clkcoredisable+0x6c/0xcc qspiclk 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.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the atmel-quadspi system-sleep callbacks, balance runtime PM and peripheral-clock (pclk) references using the same runtime PM sequence as the other controller variants.

Event History

Nov 30, 2026
CVE Published
via MITRE·01:26 PM
Data Sourced
via MITRE·01:26 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203