{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-80751","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-26T14:34:25.790Z","datePublished":"2026-09-03T08:26:31.347Z","dateUpdated":"2026-09-04T04:58:31.507Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-09-04T04:58:31.507Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npmdomain: mediatek: mfg: initialize prev_o in mtk_mfg_attach_dev()\n\nmtk_mfg_attach_dev() reads prev_o on the first iteration of its loop,\nin \"if (prev_o && prev_o->freq == o->freq)\", before prev_o is assigned\nat the end of the loop body. On that first iteration, evaluating prev_o\nreads an indeterminate value. If it is non-NULL, the condition\ndereferences a stale or invalid pointer, potentially faulting or\nincorrectly skipping the first OPP.\n\nInitialize prev_o to NULL. This matches the intent as well: there is no\nprevious OPP to compare against on the first iteration.\n\nFound with Clang's -Wconditional-uninitialized."}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - mtk_mfg_attach_dev() is only reached from the local kernel genpd attach path (panthor/Mali GPU probe → devm_pm_domain_attach_list → genpd_add_device) on MediaTek MT8196/MT6991 SoCs; there is no network, Bluetooth, or USB/physical-bus packet handler into this MFlexGraphics pmdomain code.\nAC:L - On the first loop iteration prev_o is read before assignment; on typical ARM64 kernel stacks the uninitialized slot frequently holds non-zero garbage, so the stale prev_o->freq dereference is reached deterministically during GPU power-domain attach at boot without races or attacker-uncontrollable timing.\nPR:L - The vulnerable path runs automatically when the Mali/panthor GPU binds to the MediaTek MFG genpd during boot on MT8196/MT6991 phones, Chromebooks, and embedded boards; sysfs driver rebind also reaches it with only local administrator access, not init-namespace root beyond ordinary local privilege.\nUI:N - No victim interaction such as opening files, mounting filesystems, or clicking prompts is required; GPU power-domain attachment and OPP registration occur automatically as part of normal platform driver probe during system bring-up.\nS:U - Impact is confined to kernel GPU power-domain and OPP setup on the same host; it does not cross VM, container, IOMMU, or firmware trust boundaries in a way that changes CVSS scope.\nC:H - When the uninitialized prev_o is non-NULL the kernel dereferences a stale stack-derived pointer to read dev_pm_opp_data.freq, exposing contents from an attacker-uncontrolled kernel address; CNA guidance treats invalid-pointer reads as high confidentiality impact.\nI:H - Beyond the stray read, incorrectly skipping the first OPP corrupts the dynamically built GPU dev_pm_opp table used by devfreq and DVFS consumers, constituting kernel memory integrity compromise that can be leveraged for further exploitation on Mali GPU deployments.\nA:H - Dereferencing a stale or invalid prev_o during GPU attach can cause an immediate kernel OOPS/panic, failing Mali/panthor probe and denying GPU availability on affected MediaTek devices until reboot or driver recovery."}]}],"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-mfg-pmdomain.c"],"versions":[{"version":"f08e7a4e8d6ac4de677727af352ea33c6ce9f444","lessThan":"de4eec0dfde8c0e27f8915bbb244d17ff68f2fb4","status":"affected","versionType":"git"},{"version":"f08e7a4e8d6ac4de677727af352ea33c6ce9f444","lessThan":"090a95dbe13df9965279b588d97eda134831769c","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-mfg-pmdomain.c"],"versions":[{"version":"6.19","status":"affected"},{"version":"0","lessThan":"6.19","status":"unaffected","versionType":"semver"},{"version":"7.1.10","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.1.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/de4eec0dfde8c0e27f8915bbb244d17ff68f2fb4"},{"url":"https://git.kernel.org/stable/c/090a95dbe13df9965279b588d97eda134831769c"}],"title":"pmdomain: mediatek: mfg: initialize prev_o in mtk_mfg_attach_dev()","x_generator":{"engine":"bippy-1.2.0"}}}}