CVE-2026-80689 (GCVE-0-2026-80689)

Vulnerability from cvelistv5 – Published: 2026-08-28 06:52 – Updated: 2026-08-28 06:52
VLAI
Title
tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions
Summary
In the Linux kernel, the following vulnerability has been resolved: tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions mmio_trace_rw() and mmio_trace_mapping() retrieve mmio_trace_array into tr and pass it to __trace_mmiotrace_rw() and __trace_mmiotrace_map(). If these functions are invoked while mmio_trace_array is NULL (e.g. before initialization or after disabled), accessing tr->array_buffer.buffer will result in a NULL pointer dereference crash. Fix this by adding an explicit NULL check for tr at the beginning of __trace_mmiotrace_rw() and __trace_mmiotrace_map().
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: f984b51e0779a6dd30feedc41404013ca54e5d05 , < 876014b4eeb927146430e7591cf959a7ceb8d64a (git)
Affected: f984b51e0779a6dd30feedc41404013ca54e5d05 , < a20a0010eb6485f60cd64e15ebc85a4bd388642e (git)
Affected: f984b51e0779a6dd30feedc41404013ca54e5d05 , < 60234845142fddb27db89ebc00a65178421fb3a4 (git)
Affected: f984b51e0779a6dd30feedc41404013ca54e5d05 , < 12b80cdbc54cf615b4717a4e8180063408091ea2 (git)
guessed Create a notification for this product.
Linux Linux Affected: 2.6.27
Unaffected: 0 , < 2.6.27 (semver)
Unaffected: 6.12.103 , ≤ 6.12.* (semver)
Unaffected: 6.18.44 , ≤ 6.18.* (semver)
Unaffected: 7.1.8 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/trace_mmiotrace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "876014b4eeb927146430e7591cf959a7ceb8d64a",
              "status": "affected",
              "version": "f984b51e0779a6dd30feedc41404013ca54e5d05",
              "versionType": "git"
            },
            {
              "lessThan": "a20a0010eb6485f60cd64e15ebc85a4bd388642e",
              "status": "affected",
              "version": "f984b51e0779a6dd30feedc41404013ca54e5d05",
              "versionType": "git"
            },
            {
              "lessThan": "60234845142fddb27db89ebc00a65178421fb3a4",
              "status": "affected",
              "version": "f984b51e0779a6dd30feedc41404013ca54e5d05",
              "versionType": "git"
            },
            {
              "lessThan": "12b80cdbc54cf615b4717a4e8180063408091ea2",
              "status": "affected",
              "version": "f984b51e0779a6dd30feedc41404013ca54e5d05",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/trace/trace_mmiotrace.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.27"
            },
            {
              "lessThan": "2.6.27",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.103",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.103",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.44",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.8",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "2.6.27",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions\n\nmmio_trace_rw() and mmio_trace_mapping() retrieve mmio_trace_array into\ntr and pass it to __trace_mmiotrace_rw() and __trace_mmiotrace_map().\nIf these functions are invoked while mmio_trace_array is NULL (e.g. before\ninitialization or after disabled), accessing tr-\u003earray_buffer.buffer will\nresult in a NULL pointer dereference crash.\n\nFix this by adding an explicit NULL check for tr at the beginning of\n__trace_mmiotrace_rw() and __trace_mmiotrace_map()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-28T06:52:53.724Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/876014b4eeb927146430e7591cf959a7ceb8d64a"
        },
        {
          "url": "https://git.kernel.org/stable/c/a20a0010eb6485f60cd64e15ebc85a4bd388642e"
        },
        {
          "url": "https://git.kernel.org/stable/c/60234845142fddb27db89ebc00a65178421fb3a4"
        },
        {
          "url": "https://git.kernel.org/stable/c/12b80cdbc54cf615b4717a4e8180063408091ea2"
        }
      ],
      "title": "tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80689",
    "datePublished": "2026-08-28T06:52:53.724Z",
    "dateReserved": "2026-08-26T14:34:25.785Z",
    "dateUpdated": "2026-08-28T06:52:53.724Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-80689",
      "date": "2026-09-01",
      "epss": "0.00168",
      "percentile": "0.06285"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-80689\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-28T08:16:54.390\",\"lastModified\":\"2026-08-28T08:16:54.390\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ntracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions\\n\\nmmio_trace_rw() and mmio_trace_mapping() retrieve mmio_trace_array into\\ntr and pass it to __trace_mmiotrace_rw() and __trace_mmiotrace_map().\\nIf these functions are invoked while mmio_trace_array is NULL (e.g. before\\ninitialization or after disabled), accessing tr-\u003earray_buffer.buffer will\\nresult in a NULL pointer dereference crash.\\n\\nFix this by adding an explicit NULL check for tr at the beginning of\\n__trace_mmiotrace_rw() and __trace_mmiotrace_map().\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"kernel/trace/trace_mmiotrace.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"f984b51e0779a6dd30feedc41404013ca54e5d05\",\"lessThan\":\"876014b4eeb927146430e7591cf959a7ceb8d64a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f984b51e0779a6dd30feedc41404013ca54e5d05\",\"lessThan\":\"a20a0010eb6485f60cd64e15ebc85a4bd388642e\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f984b51e0779a6dd30feedc41404013ca54e5d05\",\"lessThan\":\"60234845142fddb27db89ebc00a65178421fb3a4\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f984b51e0779a6dd30feedc41404013ca54e5d05\",\"lessThan\":\"12b80cdbc54cf615b4717a4e8180063408091ea2\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"kernel/trace/trace_mmiotrace.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.27\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.27\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.103\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.44\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.8\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/12b80cdbc54cf615b4717a4e8180063408091ea2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/60234845142fddb27db89ebc00a65178421fb3a4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/876014b4eeb927146430e7591cf959a7ceb8d64a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a20a0010eb6485f60cd64e15ebc85a4bd388642e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-08-31T07:37:22+00:00",
      "cve": "CVE-2026-80689",
      "id": "CVE-2026-80689",
      "initial_release_date": "2026-08-28T00:00:00+00:00",
      "product_status:known_affected": "274",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-80689.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…