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