GHSA-6q77-h2mr-vrm4unknown
In the Linux kernel, the following vulnerability has been resolved: tracing/mmiotrace: Add NULL...
🔗 CVE IDs covered (1)
📋 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().
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-80689
- https://git.kernel.org/stable/c/12b80cdbc54cf615b4717a4e8180063408091ea2
- https://git.kernel.org/stable/c/60234845142fddb27db89ebc00a65178421fb3a4
- https://git.kernel.org/stable/c/876014b4eeb927146430e7591cf959a7ceb8d64a
- https://git.kernel.org/stable/c/a20a0010eb6485f60cd64e15ebc85a4bd388642e
- https://github.com/advisories/GHSA-6q77-h2mr-vrm4