{"id":"CVE-2023-53758","aliases":["CVE-2023-53758"],"related":[],"kind":"vulnerability","state":"published","title":"spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: atmel-quadspi: Free resources even if runtime resume failed in .remove()\n\nAn early error exit in atmel_qspi_remove() doesn't prevent the device\nunbind. So this results in an spi controller with an unbound parent\nand unmapped register space (because devm_ioremap_resource() is undone).\nSo using the remaining spi controller probably results in an oops.\n\nInstead unregister the controller unconditionally and only skip hardware\naccess and clk disable.\n\nAlso add a warning about resume failing and return zero unconditionally.\nThe latter has the only effect to suppress a less helpful error message by\nthe spi core.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: atmel-quadspi: Free resources even if runtime resume failed in .remove()\n\nAn early error exit in atmel_qspi_remove() doesn't prevent the device\nunbind. So this results in an spi controller with an unbound parent\nand unmapped register space (because devm_ioremap_resource() is undone).\nSo using the remaining spi controller probably results in an oops.\n\nInstead unregister the controller unconditionally and only skip hardware\naccess and clk disable.\n\nAlso add a warning about resume failing and return zero unconditionally.\nThe latter has the only effect to suppress a less helpful error message by\nthe spi core.","source":"cvelist"}],"published":"2025-12-08T01:19:19.290Z","modified":"2026-06-17T06:46:01.153Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4a2f83b7f78092a6d9e98fb5573d8f4b79c56336","fixed":"f6974fb20499e3b6522daa7aec822aac11dfcf42","status":"affected"},{"type":"git","introduced":"4a2f83b7f78092a6d9e98fb5573d8f4b79c56336","fixed":"618770d4d8e40b7f8ed9eb5f210cd9164dfac47d","status":"affected"},{"type":"git","introduced":"4a2f83b7f78092a6d9e98fb5573d8f4b79c56336","fixed":"77806d7c9bebe40a8cdce2b8d30fbe6511745df8","status":"affected"},{"type":"git","introduced":"4a2f83b7f78092a6d9e98fb5573d8f4b79c56336","fixed":"9448bc1dee65f86c0fe64d9dea8b410af0586886","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.28","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.15","lastAffected":"6.2.*","status":"unaffected"},{"type":"semver","introduced":"6.3.2","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","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/f6974fb20499e3b6522daa7aec822aac11dfcf42","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/618770d4d8e40b7f8ed9eb5f210cd9164dfac47d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/77806d7c9bebe40a8cdce2b8d30fbe6511745df8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9448bc1dee65f86c0fe64d9dea8b410af0586886","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53758","url":"https://www.cve.org/CVERecord?id=CVE-2023-53758","licence":"CVE Terms of Use","modified":"2026-05-11T19:51:06.844Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53758","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53758","licence":"Public domain","modified":"2026-06-17T06:46:01.153Z"}],"updatedAt":"2026-11-25T22:58:35.045Z","epss":{"score":0.00201,"percentile":0.10531,"date":"2026-12-01T12:00:22.000Z"}}