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

Medium 4.7 Published Updated

A race condition in the MediaTek power domain driver can cause system instability or crashes during power state transitions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-52645?

CVE-2023-52645 is a medium-severity vulnerability in Linux kernel, published on 17 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-362

Which versions are affected by CVE-2023-52645?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-52645?

Apply the vendor's patch.

Is CVE-2023-52645 being exploited?

There is no known exploitation of CVE-2023-52645 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2023-52645, DEBIAN-CVE-2023-52645, GHSA-3ghc-2486-hrxh, UBUNTU-CVE-2023-52645.

Is CVE-2023-52645 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free