{"id":"CVE-2024-27002","published":"2024-05-01T05:28:44Z","modified":"2026-05-11T20:08:30Z","title":"clk: mediatek: Do a runtime PM get on controllers during probe","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: mediatek: Do a runtime PM get on controllers during probe\n\nmt8183-mfgcfg has a mutual dependency with genpd during the probing\nstage, which leads to a deadlock in the following call stack:\n\nCPU0:  genpd_lock --> clk_prepare_lock\ngenpd_power_off_work_fn()\n genpd_lock()\n generic_pm_domain::power_off()\n    clk_unprepare()\n      clk_prepare_lock()\n\nCPU1: clk_prepare_lock --> genpd_lock\nclk_register()\n  __clk_core_init()\n    clk_prepare_lock()\n    clk_pm_runtime_get()\n      genpd_lock()\n\nDo a runtime PM get at the probe function to make sure clk_register()\nwon't acquire the genpd lock. Instead of only modifying mt8183-mfgcfg,\ndo this on all mediatek clock controller probings because we don't\nbelieve this would cause any regression.\n\nVerified on MT8183 and MT8192 Chromebooks.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00174,"percentile":0.0709,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/165d226472575b213dd90dfda19d1605dd7c19a8","tags":[]},{"url":"https://git.kernel.org/stable/c/c0dcd5c072e2a3fff886f673e6a5d9bf8090c4cc","tags":[]},{"url":"https://git.kernel.org/stable/c/b62ed25feb342eab052822eff0c554873799a4f5","tags":[]},{"url":"https://git.kernel.org/stable/c/2f7b1d8b5505efb0057cd1ab85fca206063ea4c3","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/","tags":[]}],"priority":{"score":1.4,"factors":[{"name":"EPSS percentile","points":1.42}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= acddfc2c261b3653ab1c1b567a427299bac20d31, < 165d226472575b213dd90dfda19d1605dd7c19a8",">= acddfc2c261b3653ab1c1b567a427299bac20d31, < c0dcd5c072e2a3fff886f673e6a5d9bf8090c4cc",">= acddfc2c261b3653ab1c1b567a427299bac20d31, < b62ed25feb342eab052822eff0c554873799a4f5",">= acddfc2c261b3653ab1c1b567a427299bac20d31, < 2f7b1d8b5505efb0057cd1ab85fca206063ea4c3"]},{"vendor":"Linux","product":"Linux","versions":["5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:44:46.879487Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24264","exploited":false,"provenance":"source"}}