CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-46846: spi: rockchip: Resolve unbalanced runtime PM / system PM handling

5.5 CVSS

Description

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.

Classification

CVE ID: CVE-2024-46846

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.5

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 10.96% (scored less or equal to compared to others)

EPSS Date: 2025-06-02 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-46846
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

Timeline