CVE-2024-27003

clk: Get runtime PM before walking tree for clk_summary

published May 1, 2024

CVSS
—
EPSS
0%
Percentile
6.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

clk: Get runtime PM before walking tree for clk_summary

Similar to the previous commit, we should make sure that all devices are

runtime resumed before printing the clk_summary through debugfs. Failure

to do so would result in a deadlock if the thread is resuming a device

to print clk state and that device is also runtime resuming in another

thread, e.g the screen is turning on and the display driver is starting

up. We remove the calls to clk_pm_runtime_{get,put}() in this path

because they're superfluous now that we know the devices are runtime

resumed. This also squashes a bug where the return value of

clk_pm_runtime_get() wasn't checked, leading to an RPM count underflow

on error paths.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00174 · 6.6th percentile
Published
2024-05-01T05:28Z
EPSS history
Timeline
  • 01 MAY 05:28Z
    clk: Get runtime PM before walking tree for clk_summary
    cvelistv5