{"id":"CVE-2024-46846","state":"PUBLISHED","title":"spi: rockchip: Resolve unbalanced runtime PM / system PM handling","description":"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.","publishedAt":"2024-09-27T12:39:38.928Z","updatedAt":"2026-05-11T20:37:40.673Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e882575efc771f130a24322377dc1033551da11d","status":"affected","lessThan":"14f970a8d03d882b15b97beb83bd84ac8ba6298c","versionType":"git"},{"version":"e882575efc771f130a24322377dc1033551da11d","status":"affected","lessThan":"d034bff62faea1a2219e0d2f3d17263265f24087","versionType":"git"},{"version":"e882575efc771f130a24322377dc1033551da11d","status":"affected","lessThan":"0efbad8445fbba7896402500a1473450a299a08a","versionType":"git"},{"version":"e882575efc771f130a24322377dc1033551da11d","status":"affected","lessThan":"be721b451affbecc4ba4eaac3b71cdbdcade1b1b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-rockchip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.110","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.51","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.10","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-rockchip.c"]}],"references":["https://git.kernel.org/stable/c/14f970a8d03d882b15b97beb83bd84ac8ba6298c","https://git.kernel.org/stable/c/d034bff62faea1a2219e0d2f3d17263265f24087","https://git.kernel.org/stable/c/0efbad8445fbba7896402500a1473450a299a08a","https://git.kernel.org/stable/c/be721b451affbecc4ba4eaac3b71cdbdcade1b1b","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/46xxx/CVE-2024-46846.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-46846","state":"PUBLISHED","datePublished":"2024-09-27T12:39:38.928Z","dateUpdated":"2026-05-11T20:37:40.673Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-09-11T15:12:18.289Z"},"containers":{"cna":{"title":"spi: rockchip: Resolve unbalanced runtime PM / system PM handling","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e882575efc771f130a24322377dc1033551da11d","status":"affected","lessThan":"14f970a8d03d882b15b97beb83bd84ac8ba6298c","versionType":"git"},{"version":"e882575efc771f130a24322377dc1033551da11d","status":"affected","lessThan":"d034bff62faea1a2219e0d2f3d17263265f24087","versionType":"git"},{"version":"e882575efc771f130a24322377dc1033551da11d","status":"affected","lessThan":"0efbad8445fbba7896402500a1473450a299a08a","versionType":"git"},{"version":"e882575efc771f130a24322377dc1033551da11d","status":"affected","lessThan":"be721b451affbecc4ba4eaac3b71cdbdcade1b1b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-rockchip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.18","versionType":"semver"},{"version":"6.1.110","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.51","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.10","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-rockchip.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/14f970a8d03d882b15b97beb83bd84ac8ba6298c"},{"url":"https://git.kernel.org/stable/c/d034bff62faea1a2219e0d2f3d17263265f24087"},{"url":"https://git.kernel.org/stable/c/0efbad8445fbba7896402500a1473450a299a08a"},{"url":"https://git.kernel.org/stable/c/be721b451affbecc4ba4eaac3b71cdbdcade1b1b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:37:40.673Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.1.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.6.51"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.10.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.18","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-29T13:59:01.239641Z","id":"CVE-2024-46846","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-29T13:59:05.702Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:19:33.010Z"}}]}}}