Description
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().
Published: 2026-08-28
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the mmio_trace_rw() and mmio_trace_mapping() logging functions can dereference a NULL pointer if the global mmio_trace_array is not initialized. When this occurs, accessing the buffer inside a NULL tr structure causes a kernel panic. The bug does not grant code execution or privilege escalation; its primary effect is a denial of service that brings the affected system down. The weakness responsible is a null pointer dereference (CWE-476).

Affected Systems

The affected product is the Linux kernel, as represented by the general Linux vendor/product entry. No specific kernel version is tied to the report, indicating that the issue exists wherever the mmio tracing infrastructure is enabled and mmio_trace_array remains null before initialization or after disabling. The CNA vendor list marks Linux as the impacted vendor, and the CPE indicates the Linux kernel.

Risk and Exploitability

The CVSS score is not provided, and the EPSS score is unavailable, suggesting limited publicly known exploitation. The vulnerability is not listed in CISA KEV, implying it has not been widely exploited yet. Attackers would need local access to the system and a means to trigger the affected trace functions while mmio_trace_array is uninitialized. Under those conditions, they could cause a kernel crash, which results in a denial of service and potential reboot, but there's no indication of remote code execution or persistence.

Generated by OpenCVE AI on August 28, 2026 at 12:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update to a release that includes the mmio_trace_array null check commit referenced in the advisory.
  • If a full upgrade is not possible, apply the referenced patch directly to the kernel source and rebuild the kernel.
  • Disable mmio tracing or the related trace points if the feature is not required; this can be done by disabling the corresponding configuration options or module parameters.

Generated by OpenCVE AI on August 28, 2026 at 12:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description 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().
Title tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions
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-08-28T06:52:53.724Z

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

Link: CVE-2026-80689

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:54.390

Modified: 2026-08-28T08:16:54.390

Link: CVE-2026-80689

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T11:30:06Z

Weaknesses