CVE-2024-46846: spi: rockchip: Resolve unbalanced runtime PM / system PM handling
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 NOIRQSYSTEMSLEEPPM 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 pmruntimeforce{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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-46846?
CVE-2024-46846 is considered a moderate severity vulnerability within the Linux kernel.
How do I fix CVE-2024-46846?
To fix CVE-2024-46846, update to the patched version such as 5.10.223-1 or 6.1.123-1.
What versions of Linux Kernel are affected by CVE-2024-46846?
CVE-2024-46846 affects Linux Kernel versions between 5.18 and 6.1.110, as well as in specific versions from 6.2 to 6.11.
What is the impact of CVE-2024-46846?
The impact of CVE-2024-46846 relates to unbalanced runtime PM and system PM handling which could lead to potential operational issues.
Where can I find more information on CVE-2024-46846?
More detailed technical information on CVE-2024-46846 can typically be found in the Linux kernel mailing list or security advisories.