Description
In the Linux kernel, the following vulnerability has been resolved:

pmdomain: mediatek: mfg: initialize prev_o in mtk_mfg_attach_dev()

mtk_mfg_attach_dev() reads prev_o on the first iteration of its loop,
in "if (prev_o && prev_o->freq == o->freq)", before prev_o is assigned
at the end of the loop body. On that first iteration, evaluating prev_o
reads an indeterminate value. If it is non-NULL, the condition
dereferences a stale or invalid pointer, potentially faulting or
incorrectly skipping the first OPP.

Initialize prev_o to NULL. This matches the intent as well: there is no
previous OPP to compare against on the first iteration.

Found with Clang's -Wconditional-uninitialized.
Published: 2026-09-03
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a flaw in the Mediatek device attach routine within the Linux kernel. On the first iteration of an internal loop, the code reads a variable that has not yet been initialized. If this stale value happens to be non‑NULL, the kernel attempts to dereference the address, which can either crash or produce incorrect device configuration. The result is a kernel panic that brings the system down, providing an outright denial of service to all users. The weakness is an uninitialized variable dereference and a potential null pointer dereference.

Affected Systems

All Linux kernel builds that include the Mediatek 'mfg' attach path are affected. The bug exists in any kernel release that contains the code before the commit that sets the previous OPP pointer to NULL. Kernel distributors should verify that the commit has been integrated into their releases or apply the patch from upstream. The vulnerability does not depend on a specific kernel version beyond the presence of the uninitialized variable in that code path.

Risk and Exploitability

The CVSS score for this vulnerability is 7.8, and the EPSS score is < 1%; the vulnerability is not listed in CISA’s KEV catalog. The bug can only be triggered when the Mediatek device attach routine runs, which typically occurs during kernel initialization or when the device is powered on. The attack surface is local and requires privileged kernel execution; there does not appear to be a known remote exploitation path. Consequently the exploitation likelihood is low to moderate, but because a successful trigger results in an immediate system crash, the impact remains significant.

Generated by OpenCVE AI on September 4, 2026 at 06:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit which initializes the pointer to NULL.
  • If an updated kernel is unavailable, cherry‑pick the upstream patch from the referenced Git commit and rebuild the kernel.
  • Consider disabling the Mediatek device if it is not required, thereby preventing the vulnerable code path from executing during system boot.

Generated by OpenCVE AI on September 4, 2026 at 06:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-690

Fri, 04 Sep 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Thu, 03 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665
CWE-690

Thu, 03 Sep 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: pmdomain: mediatek: mfg: initialize prev_o in mtk_mfg_attach_dev() mtk_mfg_attach_dev() reads prev_o on the first iteration of its loop, in "if (prev_o && prev_o->freq == o->freq)", before prev_o is assigned at the end of the loop body. On that first iteration, evaluating prev_o reads an indeterminate value. If it is non-NULL, the condition dereferences a stale or invalid pointer, potentially faulting or incorrectly skipping the first OPP. Initialize prev_o to NULL. This matches the intent as well: there is no previous OPP to compare against on the first iteration. Found with Clang's -Wconditional-uninitialized.
Title pmdomain: mediatek: mfg: initialize prev_o in mtk_mfg_attach_dev()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-04T04:58:31.507Z

Reserved: 2026-08-26T14:34:25.790Z

Link: CVE-2026-80751

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-03T13:06:14.770

Modified: 2026-09-04T05:17:15.100

Link: CVE-2026-80751

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T06:30:14Z

Weaknesses

No weakness.