A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/41517c46002afd717f0f2d0975c740dd610f87fe
- git.kernel.org /stable/c/4f9f0afdbdf513a49065207ff6b7e1d15051175a
- git.kernel.org /stable/c/819dd96a6571f2b12496b080e5187ba3fa897232
- git.kernel.org /stable/c/9ad7a6ccc7b839247663d57d3dbb4481dec492de
- git.kernel.org /stable/c/b00290d1dc23a5ef9a0d3103aad1fe2274e86569
- git.kernel.org /stable/c/bc17ac285fb708f22a8fa2c0ed32eceb1d37e6d6
- git.kernel.org /stable/c/d7a560dc912756fd8b39b28b10818d931e863d2d
- git.kernel.org /stable/c/ebab3a25a0403bcbc0c40ef77d69d23270e45547
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning