{"id":"CVE-2026-138903","aliases":["CVE-2026-138903"],"related":[],"kind":"vulnerability","state":"published","title":"spi: atmel-quadspi: balance runtime PM and pclk across system sleep","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: atmel-quadspi: balance runtime PM and pclk across system sleep\n\nOn the controllers with a generic clock (SAMA7G5, SAMA7D65, SAM9X7 and\nLAN969x), atmel_qspi_suspend() takes a runtime PM reference and returns\nwithout dropping it or suspending the device. It disables the peripheral\nclock directly. atmel_qspi_resume() only prepares the peripheral clock\nand then reinitializes the controller with that clock still off.\n\nOn a SAM9X75 Curiosity board, the tested standby and mem resumes\nfailed:\n\n  atmel_qspi f0014000.spi: PM: failed to resume: error -110\n  spi-nor spi0.0: resume() failed\n\nReading the flash afterwards returned no data. The runtime usage count\ngrew by one with each cycle, and the second suspend disabled the\nperipheral clock again:\n\n  WARNING: drivers/clk/clk.c:1257 at clk_core_disable+0x6c/0xcc\n  qspi_clk already disabled\n\nUse the same runtime PM sequence as the other variants. Suspend disables\nthe controller and forces a runtime suspend. Resume forces a runtime\nresume, which enables the peripheral clock, before it runs the init\ncallback, and drops the reference afterwards. With this change the\ntested resumes succeed on the board in both modes, the controller\nreturns to runtime suspend, and the flash reads back.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: atmel-quadspi: balance runtime PM and pclk across system sleep\n\nOn the controllers with a generic clock (SAMA7G5, SAMA7D65, SAM9X7 and\nLAN969x), atmel_qspi_suspend() takes a runtime PM reference and returns\nwithout dropping it or suspending the device. It disables the peripheral\nclock directly. atmel_qspi_resume() only prepares the peripheral clock\nand then reinitializes the controller with that clock still off.\n\nOn a SAM9X75 Curiosity board, the tested standby and mem resumes\nfailed:\n\n  atmel_qspi f0014000.spi: PM: failed to resume: error -110\n  spi-nor spi0.0: resume() failed\n\nReading the flash afterwards returned no data. The runtime usage count\ngrew by one with each cycle, and the second suspend disabled the\nperipheral clock again:\n\n  WARNING: drivers/clk/clk.c:1257 at clk_core_disable+0x6c/0xcc\n  qspi_clk already disabled\n\nUse the same runtime PM sequence as the other variants. Suspend disables\nthe controller and forces a runtime suspend. Resume forces a runtime\nresume, which enables the peripheral clock, before it runs the init\ncallback, and drops the reference afterwards. With this change the\ntested resumes succeed on the board in both modes, the controller\nreturns to runtime suspend, and the flash reads back.","source":"cvelist"}],"published":"2026-11-30T13:26:03.577Z","modified":"2026-11-30T14:17:48.687Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"5af42209a4d23adc9a09e59e586d1b47fef3cc86","fixed":"f4c1ad28c3c1be700de6ab5f46402ec8a612e965","status":"affected"},{"type":"git","introduced":"5af42209a4d23adc9a09e59e586d1b47fef3cc86","fixed":"9241db627f3a5ba923f4626ce2995644a35300d5","status":"affected"},{"type":"git","introduced":"5af42209a4d23adc9a09e59e586d1b47fef3cc86","fixed":"717e45f97246d1070cdf86ccd7a0fb872b45933a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.14","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/f4c1ad28c3c1be700de6ab5f46402ec8a612e965","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9241db627f3a5ba923f4626ce2995644a35300d5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/717e45f97246d1070cdf86ccd7a0fb872b45933a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138903","url":"https://www.cve.org/CVERecord?id=CVE-2026-138903","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:03.577Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138903","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138903","licence":"Public domain","modified":"2026-11-30T14:17:48.687Z"}],"updatedAt":"2026-11-30T14:32:24.871Z","epss":{"score":0.00207,"percentile":0.11437,"date":"2026-12-01T12:00:22.000Z"}}