CVE-2026-80689: tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions

Published Aug 28, 2026
·
Updated

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

tracing/mmiotrace: Add NULL check for mmiotracearray in logging functions

mmiotracerw() and mmiotracemapping() retrieve mmiotracearray into tr and pass it to tracemmiotracerw() and tracemmiotracemap(). If these functions are invoked while mmiotracearray is NULL (e.g. before initialization or after disabled), accessing tr->arraybuffer.buffer will result in a NULL pointer dereference crash.

Fix this by adding an explicit NULL check for tr at the beginning of tracemmiotracerw() and tracemmiotracemap().

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 28, 2026
CVE Published
via MITRE·06:52 AM
Data Sourced
via MITRE·06:52 AM
Description

Frequently Asked Questions

1

Under what conditions can this issue cause a crash?

The crash can occur when the mmiotrace logging functions are invoked while mmio_trace_array is NULL, such as before mmiotrace initialization or after it has been disabled. The resulting NULL pointer dereference occurs when the trace buffer is accessed.

2

What should be done if an immediate update is not possible?

Avoid invoking or relying on mmiotrace logging while it may be uninitialized or after it has been disabled. The resolved change adds NULL checks in __trace_mmiotrace_rw() and __trace_mmiotrace_map() to safely handle that state.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203