Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52645
HistoryApr 17, 2024 - 3:59 p.m.

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

2024-04-1715:59:21
Linux
www.cve.org
linux kernel
vulnerability
pmdomain
mediatek
race conditions
genpd

4.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/pmdomain/mediatek/mtk-pm-domains.c"
    ],
    "versions": [
      {
        "version": "59b644b01cf4",
        "lessThan": "475426ad1ae0",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "59b644b01cf4",
        "lessThan": "339ddc983bc1",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "59b644b01cf4",
        "lessThan": "f83b9abee9fa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "59b644b01cf4",
        "lessThan": "3cd1d92ee1db",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "59b644b01cf4",
        "lessThan": "c41336f4d690",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/pmdomain/mediatek/mtk-pm-domains.c"
    ],
    "versions": [
      {
        "version": "5.11",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.11",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.150",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.80",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.18",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.7.6",
        "lessThanOrEqual": "6.7.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.8",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

4.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%