Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
7.1.10
CVEs
CVE-2026-80751
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:20 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 3 Sept 2026, 08:26 UTC

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.

osv:CVE-2026-80751

Kernel

Fixed versions: 7.1.10

Complete source record
{
  "id": "31d5c73232acd3f4d069e951261cf3f7202a4f2490768f779acf70aca473cb1e",
  "url": "https://osv.dev/vulnerability/CVE-2026-80751",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "pmdomain: mediatek: mfg: initialize prev_o in mtk_mfg_attach_dev()",
    "summary": "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.",
    "evidence": "osv:CVE-2026-80751",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "7.1.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-80751",
      "aliases": [
        "CVE-2026-80751"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f08e7a4e8d6ac4de677727af352ea33c6ce9f444"
                },
                {
                  "fixed": "de4eec0dfde8c0e27f8915bbb244d17ff68f2fb4"
                },
                {
                  "fixed": "090a95dbe13df9965279b588d97eda134831769c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80751.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80751.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.439554956Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/090a95dbe13df9965279b588d97eda134831769c",
        "https://git.kernel.org/stable/c/de4eec0dfde8c0e27f8915bbb244d17ff68f2fb4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80751.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-80751",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80751.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-80751",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507189,
  "published_at": "2026-09-03T08:26:31.347+00:00"
}