# CVE-2023-52645: pmdomain: mediatek: fix race conditions with genpd

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2024-04-17T15:59:21.343Z
- Modified: 2026-06-17T06:43:14.867Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

pmdomain: mediatek: fix race conditions with genpd

If the power domains are registered first with genpd and *after that*
the driver attempts to power them on in the probe sequence, then it is
possible that a race condition occurs if genpd tries to power them on
in the same time.
The same is valid for powering them off before unregistering them
from genpd.
Attempt to fix race conditions by first removing the domains from genpd
and *after that* powering down domains.
Also first power up the domains and *after that* register them
to genpd.

(As written by CVE List.)

## Affected

- Linux Linux: from 59b644b01cf48d6042f3c5983d464921a4920845 before 475426ad1ae0bfdfd8f160ed9750903799392438; from 59b644b01cf48d6042f3c5983d464921a4920845 before 339ddc983bc1622341d95f244c361cda3da3a4ff; from 59b644b01cf48d6042f3c5983d464921a4920845 before f83b9abee9faa4868a6fac4669b86f4c215dae25; from 59b644b01cf48d6042f3c5983d464921a4920845 before 3cd1d92ee1dbf3e8f988767eb75f26207397792b; from 59b644b01cf48d6042f3c5983d464921a4920845 before c41336f4d69057cbf88fed47951379b384540df5; 5.11 (not affected: before 5.11; from 5.15.150 up to 5.15.*; from 6.1.80 up to 6.1.*; from 6.6.18 up to 6.6.*; from 6.7.6 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: from 5.11 before 5.15.150; from 5.16 before 6.1.80; from 6.2 before 6.6.18; from 6.7 before 6.7.6

## References

- <https://git.kernel.org/stable/c/475426ad1ae0bfdfd8f160ed9750903799392438> (patch)
- <https://git.kernel.org/stable/c/339ddc983bc1622341d95f244c361cda3da3a4ff> (patch)
- <https://git.kernel.org/stable/c/f83b9abee9faa4868a6fac4669b86f4c215dae25> (patch)
- <https://git.kernel.org/stable/c/3cd1d92ee1dbf3e8f988767eb75f26207397792b> (patch)
- <https://git.kernel.org/stable/c/c41336f4d69057cbf88fed47951379b384540df5> (patch)

## Sources

- CVE List: [CVE-2023-52645](https://www.cve.org/CVERecord?id=CVE-2023-52645), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-52645](https://nvd.nist.gov/vuln/detail/CVE-2023-52645), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-52645 · Whole record: https://cve.day/CVE-2023-52645.json · Rebuilt by cve.day 2026-11-25T22:58:33.543Z
