pmdomain: mediatek: fix race conditions with genpd
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s MediaTek power-domain driver has a race when it powers domains on after registering them with genpd, or powers them off before unregistering them. The input does not describe an attacker action or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the MediaTek power-domain driver should check their installations; affected versions are not specified.