tracing/mmiotrace: Add NULL check for mmio_trace_array in logging functions
3Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackepss 0.2%
probabilidad de explotación
0.2%top 89% de las CVE
explotación observada
noninguna fuente lo reporta
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().
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/12b80cdbc54cf615b4717a4e8180063408091ea2https://git.kernel.org/stable/c/2df964d141270c40f07547b0c2e0a51e2573d46dhttps://git.kernel.org/stable/c/4e4ab09db7899d7f2d2293a18adf0fa200a27e73https://git.kernel.org/stable/c/60234845142fddb27db89ebc00a65178421fb3a4https://git.kernel.org/stable/c/6aee2d478545c089dd5d055d3c9f0c7ea034fb80https://git.kernel.org/stable/c/876014b4eeb927146430e7591cf959a7ceb8d64ahttps://git.kernel.org/stable/c/a20a0010eb6485f60cd64e15ebc85a4bd388642ehttps://git.kernel.org/stable/c/dc1b1a057b3bb901f83433700e604fe0ae67c5f2