{"id":"CVE-2024-46846","summary":"spi: rockchip: Resolve unbalanced runtime PM / system PM handling","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: rockchip: Resolve unbalanced runtime PM / system PM handling\n\nCommit e882575efc77 (\"spi: rockchip: Suspend and resume the bus during\nNOIRQ_SYSTEM_SLEEP_PM ops\") stopped respecting runtime PM status and\nsimply disabled clocks unconditionally when suspending the system. This\ncauses problems when the device is already runtime suspended when we go\nto sleep -- in which case we double-disable clocks and produce a\nWARNing.\n\nSwitch back to pm_runtime_force_{suspend,resume}(), because that still\nseems like the right thing to do, and the aforementioned commit makes no\nexplanation why it stopped using it.\n\nAlso, refactor some of the resume() error handling, because it's not\nactually a good idea to re-disable clocks on failure.","modified":"2026-04-02T12:19:46.266153Z","published":"2024-09-27T12:39:38.928Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46846.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0efbad8445fbba7896402500a1473450a299a08a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/14f970a8d03d882b15b97beb83bd84ac8ba6298c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be721b451affbecc4ba4eaac3b71cdbdcade1b1b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d034bff62faea1a2219e0d2f3d17263265f24087"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46846.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46846"},{"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":"e882575efc771f130a24322377dc1033551da11d"},{"fixed":"14f970a8d03d882b15b97beb83bd84ac8ba6298c"},{"fixed":"d034bff62faea1a2219e0d2f3d17263265f24087"},{"fixed":"0efbad8445fbba7896402500a1473450a299a08a"},{"fixed":"be721b451affbecc4ba4eaac3b71cdbdcade1b1b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46846.json"}}],"schema_version":"1.7.5"}