Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2024-27003
HistoryMay 01, 2024 - 5:28 a.m.

CVE-2024-27003 clk: Get runtime PM before walking tree for clk_summary

2024-05-0105:28:49
Linux
github.com
linux kernel
clk vulnerability
runtime pm

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/clk/clk.c"
    ],
    "versions": [
      {
        "version": "1bb294a7981c",
        "lessThan": "83ada89e4a86",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1bb294a7981c",
        "lessThan": "2c077fdfd09d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1bb294a7981c",
        "lessThan": "b457105309d3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1bb294a7981c",
        "lessThan": "9d1e795f754d",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/clk/clk.c"
    ],
    "versions": [
      {
        "version": "5.17",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.17",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.88",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.29",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8.8",
        "lessThanOrEqual": "6.8.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.7%