CVE-2024-27003

clk: Get runtime PM before walking tree for clk_summary

State
Published
Severity
Not scored
Published
May 1, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1bb294a7981c737e2311a78e4086635ac0220ace to before 83ada89e4a86e2b28ea2b5113c76d6dc7560a4d0Affected
  • 1bb294a7981c737e2311a78e4086635ac0220ace to before 2c077fdfd09dffb31a890e5095c8ab205138a42eAffected
  • 1bb294a7981c737e2311a78e4086635ac0220ace to before b457105309d388e4081c716cf7b81d517ff74db4Affected
  • 1bb294a7981c737e2311a78e4086635ac0220ace to before 9d1e795f754db1ac3344528b7af0b17b8146f321Affected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 6.1.88 through 6.1.*Not affected
  • 6.6.29 through 6.6.*Not affected
  • 6.8.8 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.