pmdomain: mediatek: fix race conditions with genpd (Linux Linux)

CVE-2023-52645
MEDIUM 4.7

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 59b644b01cf48d6042f3c5983d464921a4920845 < 475426ad1ae0bfdfd8f160ed9750903799392438 ; affected 59b644b01cf48d6042f3c5983d464921a4920845 < 339ddc983bc1622341d95f244c361cda3da3a4ff ; affected 59b644b01cf48d6042f3c5983d464921a4920845 < f83b9abee9faa4868a6fac4669b86f4c215dae25 ; affected 59b644b01cf48d6042f3c5983d464921a4920845 < 3cd1d92ee1dbf3e8f988767eb75f26207397792b ; affected 59b644b01cf48d6042f3c5983d464921a4920845 < c41336f4d69057cbf88fed47951379b384540df5
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.150 ≤ 5.15.* ; unaffected 6.1.80 ≤ 6.1.* ; unaffected 6.6.18 ≤ 6.6.* ; unaffected 6.7.6 ≤ 6.7.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD