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.
[
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cd1d92ee1dbf3e8f988767eb75f26207397792b",
"id": "CVE-2023-52645-114d1707",
"signature_version": "v1",
"target": {
"function": "scpsys_remove_one_domain",
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "37746082546767299086126898347943229363",
"length": 414.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c41336f4d69057cbf88fed47951379b384540df5",
"id": "CVE-2023-52645-1a7848b2",
"signature_version": "v1",
"target": {
"function": "scpsys_remove_one_domain",
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "37746082546767299086126898347943229363",
"length": 414.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@339ddc983bc1622341d95f244c361cda3da3a4ff",
"id": "CVE-2023-52645-3d1363eb",
"signature_version": "v1",
"target": {
"function": "scpsys_remove_one_domain",
"file": "drivers/soc/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "37746082546767299086126898347943229363",
"length": 414.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cd1d92ee1dbf3e8f988767eb75f26207397792b",
"id": "CVE-2023-52645-48a0777f",
"signature_version": "v1",
"target": {
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116788733104429501401801056186917259493",
"270447016779944240489193074494737509098",
"135400237237426387125568039354140996574",
"104634576247275941368745092038114471240",
"336230132889702491226893250294172220496",
"114059730814003596831051673020233295922",
"161971549367821126865195781255930746084",
"136366754837316198248272069341956389462",
"179900243441923247487746219400283682305",
"305318326925022989042777286783135491817",
"327114360410908209953757287306217015985",
"281017220189666178383487291980282786542",
"241664339587174906353642065929255987665",
"252830540017433285997408008481315937386",
"336234056160841754990536744106235158467",
"207731482125415771086441154871990152716",
"64937561388283537096905069129873372032",
"325651572339609764114507650815405353109"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f83b9abee9faa4868a6fac4669b86f4c215dae25",
"id": "CVE-2023-52645-4bd9b207",
"signature_version": "v1",
"target": {
"function": "scpsys_remove_one_domain",
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "37746082546767299086126898347943229363",
"length": 414.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@475426ad1ae0bfdfd8f160ed9750903799392438",
"id": "CVE-2023-52645-509d2a9e",
"signature_version": "v1",
"target": {
"file": "drivers/soc/mediatek/mtk-pm-domains.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116788733104429501401801056186917259493",
"270447016779944240489193074494737509098",
"135400237237426387125568039354140996574",
"104634576247275941368745092038114471240",
"336230132889702491226893250294172220496",
"114059730814003596831051673020233295922",
"161971549367821126865195781255930746084",
"136366754837316198248272069341956389462",
"179900243441923247487746219400283682305",
"305318326925022989042777286783135491817",
"327114360410908209953757287306217015985",
"281017220189666178383487291980282786542",
"241664339587174906353642065929255987665",
"252830540017433285997408008481315937386",
"336234056160841754990536744106235158467",
"207731482125415771086441154871990152716",
"64937561388283537096905069129873372032",
"325651572339609764114507650815405353109"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@475426ad1ae0bfdfd8f160ed9750903799392438",
"id": "CVE-2023-52645-a3179b55",
"signature_version": "v1",
"target": {
"function": "scpsys_remove_one_domain",
"file": "drivers/soc/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "37746082546767299086126898347943229363",
"length": 414.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f83b9abee9faa4868a6fac4669b86f4c215dae25",
"id": "CVE-2023-52645-a9428113",
"signature_version": "v1",
"target": {
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116788733104429501401801056186917259493",
"270447016779944240489193074494737509098",
"135400237237426387125568039354140996574",
"104634576247275941368745092038114471240",
"336230132889702491226893250294172220496",
"114059730814003596831051673020233295922",
"161971549367821126865195781255930746084",
"136366754837316198248272069341956389462",
"179900243441923247487746219400283682305",
"305318326925022989042777286783135491817",
"327114360410908209953757287306217015985",
"281017220189666178383487291980282786542",
"241664339587174906353642065929255987665",
"252830540017433285997408008481315937386",
"336234056160841754990536744106235158467",
"207731482125415771086441154871990152716",
"64937561388283537096905069129873372032",
"325651572339609764114507650815405353109"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@339ddc983bc1622341d95f244c361cda3da3a4ff",
"id": "CVE-2023-52645-ab26607f",
"signature_version": "v1",
"target": {
"file": "drivers/soc/mediatek/mtk-pm-domains.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116788733104429501401801056186917259493",
"270447016779944240489193074494737509098",
"135400237237426387125568039354140996574",
"104634576247275941368745092038114471240",
"336230132889702491226893250294172220496",
"114059730814003596831051673020233295922",
"161971549367821126865195781255930746084",
"136366754837316198248272069341956389462",
"179900243441923247487746219400283682305",
"305318326925022989042777286783135491817",
"327114360410908209953757287306217015985",
"281017220189666178383487291980282786542",
"241664339587174906353642065929255987665",
"252830540017433285997408008481315937386",
"336234056160841754990536744106235158467",
"207731482125415771086441154871990152716",
"64937561388283537096905069129873372032",
"325651572339609764114507650815405353109"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@475426ad1ae0bfdfd8f160ed9750903799392438",
"id": "CVE-2023-52645-bd282650",
"signature_version": "v1",
"target": {
"function": "scpsys_add_subdomain",
"file": "drivers/soc/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "42155873611071621981002550687229523988",
"length": 1094.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f83b9abee9faa4868a6fac4669b86f4c215dae25",
"id": "CVE-2023-52645-c1f68042",
"signature_version": "v1",
"target": {
"function": "scpsys_add_subdomain",
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "42155873611071621981002550687229523988",
"length": 1094.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3cd1d92ee1dbf3e8f988767eb75f26207397792b",
"id": "CVE-2023-52645-d346c23e",
"signature_version": "v1",
"target": {
"function": "scpsys_add_subdomain",
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "42155873611071621981002550687229523988",
"length": 1094.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c41336f4d69057cbf88fed47951379b384540df5",
"id": "CVE-2023-52645-de4754d8",
"signature_version": "v1",
"target": {
"function": "scpsys_add_subdomain",
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "42155873611071621981002550687229523988",
"length": 1094.0
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@c41336f4d69057cbf88fed47951379b384540df5",
"id": "CVE-2023-52645-f975b975",
"signature_version": "v1",
"target": {
"file": "drivers/pmdomain/mediatek/mtk-pm-domains.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"116788733104429501401801056186917259493",
"270447016779944240489193074494737509098",
"135400237237426387125568039354140996574",
"104634576247275941368745092038114471240",
"336230132889702491226893250294172220496",
"114059730814003596831051673020233295922",
"161971549367821126865195781255930746084",
"136366754837316198248272069341956389462",
"179900243441923247487746219400283682305",
"305318326925022989042777286783135491817",
"327114360410908209953757287306217015985",
"281017220189666178383487291980282786542",
"241664339587174906353642065929255987665",
"252830540017433285997408008481315937386",
"336234056160841754990536744106235158467",
"207731482125415771086441154871990152716",
"64937561388283537096905069129873372032",
"325651572339609764114507650815405353109"
]
}
},
{
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@339ddc983bc1622341d95f244c361cda3da3a4ff",
"id": "CVE-2023-52645-fcba45c3",
"signature_version": "v1",
"target": {
"function": "scpsys_add_subdomain",
"file": "drivers/soc/mediatek/mtk-pm-domains.c"
},
"signature_type": "Function",
"digest": {
"function_hash": "42155873611071621981002550687229523988",
"length": 1094.0
}
}
]