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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-28T06:52:53.724Z
- Modified: 2026-11-06T17:19:56.707Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from f984b51e0779a6dd30feedc41404013ca54e5d05 before dc1b1a057b3bb901f83433700e604fe0ae67c5f2; from f984b51e0779a6dd30feedc41404013ca54e5d05 before 6aee2d478545c089dd5d055d3c9f0c7ea034fb80; from f984b51e0779a6dd30feedc41404013ca54e5d05 before 4e4ab09db7899d7f2d2293a18adf0fa200a27e73; from f984b51e0779a6dd30feedc41404013ca54e5d05 before 2df964d141270c40f07547b0c2e0a51e2573d46d; from f984b51e0779a6dd30feedc41404013ca54e5d05 before 876014b4eeb927146430e7591cf959a7ceb8d64a; from f984b51e0779a6dd30feedc41404013ca54e5d05 before a20a0010eb6485f60cd64e15ebc85a4bd388642e; from f984b51e0779a6dd30feedc41404013ca54e5d05 before 60234845142fddb27db89ebc00a65178421fb3a4; from f984b51e0779a6dd30feedc41404013ca54e5d05 before 12b80cdbc54cf615b4717a4e8180063408091ea2; 2.6.27 (not affected: before 2.6.27; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/dc1b1a057b3bb901f83433700e604fe0ae67c5f2>
- <https://git.kernel.org/stable/c/6aee2d478545c089dd5d055d3c9f0c7ea034fb80>
- <https://git.kernel.org/stable/c/4e4ab09db7899d7f2d2293a18adf0fa200a27e73>
- <https://git.kernel.org/stable/c/2df964d141270c40f07547b0c2e0a51e2573d46d>
- <https://git.kernel.org/stable/c/876014b4eeb927146430e7591cf959a7ceb8d64a>
- <https://git.kernel.org/stable/c/a20a0010eb6485f60cd64e15ebc85a4bd388642e>
- <https://git.kernel.org/stable/c/60234845142fddb27db89ebc00a65178421fb3a4>
- <https://git.kernel.org/stable/c/12b80cdbc54cf615b4717a4e8180063408091ea2>

## Sources

- CVE List: [CVE-2026-80689](https://www.cve.org/CVERecord?id=CVE-2026-80689), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-80689](https://nvd.nist.gov/vuln/detail/CVE-2026-80689), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-80689 · Whole record: https://cve.day/CVE-2026-80689.json · Rebuilt by cve.day 2026-11-25T22:59:35.615Z
