gpu: host1x: Avoid stack over-read in debug output helpers
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:
gpu: host1x: Avoid stack over-read in debug output helpers
host1x_debug_output() and host1x_debug_cont() used vsnprintf(), which
returns the length the formatted string would have reached with an
unbounded buffer. That return value was passed straight to o->fn as
the number of bytes to emit.
This could cause a read past end of the output buffer if a call to
host1x_debug_* produced a string longer than 256 bytes. This only
affected the debugfs files as the printk debug sink ignores the
number of bytes. In practice, this is very unlikely to occur.
Fix by switching to vscnprintf(), which returns the number of bytes
actually written.
Productos afectados
Linux · LinuxReferencias
https://git.kernel.org/stable/c/41517c46002afd717f0f2d0975c740dd610f87fehttps://git.kernel.org/stable/c/4f9f0afdbdf513a49065207ff6b7e1d15051175ahttps://git.kernel.org/stable/c/819dd96a6571f2b12496b080e5187ba3fa897232https://git.kernel.org/stable/c/9ad7a6ccc7b839247663d57d3dbb4481dec492dehttps://git.kernel.org/stable/c/b00290d1dc23a5ef9a0d3103aad1fe2274e86569https://git.kernel.org/stable/c/bc17ac285fb708f22a8fa2c0ed32eceb1d37e6d6https://git.kernel.org/stable/c/d7a560dc912756fd8b39b28b10818d931e863d2dhttps://git.kernel.org/stable/c/ebab3a25a0403bcbc0c40ef77d69d23270e45547