{"id":"CVE-2023-53758","summary":"spi: atmel-quadspi: Free resources even if runtime resume failed in .remove()","details":"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.","modified":"2026-08-12T03:51:32.415723503Z","published":"2025-12-08T01:19:19.290Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53758.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/618770d4d8e40b7f8ed9eb5f210cd9164dfac47d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/77806d7c9bebe40a8cdce2b8d30fbe6511745df8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9448bc1dee65f86c0fe64d9dea8b410af0586886"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f6974fb20499e3b6522daa7aec822aac11dfcf42"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53758.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53758"},{"type":"PACKAGE","url":"https://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":"4a2f83b7f78092a6d9e98fb5573d8f4b79c56336"},{"fixed":"f6974fb20499e3b6522daa7aec822aac11dfcf42"},{"fixed":"618770d4d8e40b7f8ed9eb5f210cd9164dfac47d"},{"fixed":"77806d7c9bebe40a8cdce2b8d30fbe6511745df8"},{"fixed":"9448bc1dee65f86c0fe64d9dea8b410af0586886"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53758.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.1.28"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.2.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.3.0"},{"fixed":"6.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53758.json"}}],"schema_version":"1.9.0"}