In the Linux kernel, the following vulnerability has been resolved: media: vicodec: zero-initialize stateful decoder heap buffers The stateful decoder leaks uninitialized kernel heap memory to userspace. A process that can open the decoder video node gets it back in the CAPTURE buffers it dequeues. The reference frame and the compressed frame buffer are allocated with kvmalloc() in vicodec_start_streaming(), and the decoder can read them before they have been written. The first frame is allowed to be a P-frame, in which case it is decoded against a reference frame that was never produced, and the padding rows below the visible area are never written for any frame. Use kvzalloc() for both allocations.
https://git.kernel.org/stable/c/f82d80f7b6f7c537f3047330940300117aebb8e1
https://git.kernel.org/stable/c/f56fab89da7300a3f4556516c4ab1c4b0a2419cb
https://git.kernel.org/stable/c/de3c06c7c8d8615ba4cb58bd8a100b57794084d6
https://git.kernel.org/stable/c/d9258215b998c0ef5e4e2544b0bae0ad096ea9ca
https://git.kernel.org/stable/c/85fc823a00341f63fea31a4efccf362c9a94a113
https://git.kernel.org/stable/c/3d0582b9bd8ab1604f7e63668088ba7b6a7b74b0
https://git.kernel.org/stable/c/27953c044974baf7e24dee3e9342fe0103dea80c
https://git.kernel.org/stable/c/244d5f20aaf5532885902d417e3efd79b3b4acda