VDB

CISA-2024-46846

CISA-2024-46846 PUBLISHED

Reported by Linux · Published September 27, 2024

In the Linux kernel, the following vulnerability has been resolved: spi: rockchip: Resolve unbalanced runtime PM / system PM handling Commit e882575efc77 ("spi: rockchip: Suspend and resume the bus during NOIRQ_SYSTEM_SLEEP_PM ops") stopped respecting runtime PM status and simply disabled clocks unconditionally when suspending the system. This causes problems when the device is already runtime suspended when we go to sleep -- in which case we double-disable clocks and produce a WARNing. Switch back to pm_runtime_force_{suspend,resume}(), because that still seems like the right thing to do, and the aforementioned commit makes no explanation why it stopped using it. Also, refactor some of the resume() error handling, because it's not actually a good idea to re-disable clocks on failure.

Affected Products

VendorProductVersions
LinuxLinuxe882575efc771f130a24322377dc1033551da11d, e882575efc771f130a24322377dc1033551da11d, e882575efc771f130a24322377dc1033551da11d
LinuxLinux5.18, 0, 6.1.110
LinuxLinux*, e882575efc771f130a24322377dc1033551da11d, 5.18
linuxlinux_kernel5.18, 5.18, 5.18

Timeline

  • Sep 27, 2024 CVE Published
  • Nov 3, 2025 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›