CVE-2024-27002

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-27002
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27002.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27002
Downstream
Related
Published
2024-05-01T06:15:18Z
Modified
2025-08-09T20:01:27Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

clk: mediatek: Do a runtime PM get on controllers during probe

mt8183-mfgcfg has a mutual dependency with genpd during the probing stage, which leads to a deadlock in the following call stack:

CPU0: genpdlock --> clkpreparelock genpdpoweroffworkfn() genpdlock() genericpmdomain::poweroff() clkunprepare() clkpreparelock()

CPU1: clkpreparelock --> genpdlock clkregister() _clkcoreinit() clkpreparelock() clkpmruntimeget() genpd_lock()

Do a runtime PM get at the probe function to make sure clk_register() won't acquire the genpd lock. Instead of only modifying mt8183-mfgcfg, do this on all mediatek clock controller probings because we don't believe this would cause any regression.

Verified on MT8183 and MT8192 Chromebooks.

References

Affected packages