Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to < 3d0582b9bd8ab1604f7e63668088ba7b6a7b74b0affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to < d9258215b998c0ef5e4e2544b0bae0ad096ea9caaffected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to < de3c06c7c8d8615ba4cb58bd8a100b57794084d6affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to < 244d5f20aaf5532885902d417e3efd79b3b4acdaaffected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to < 85fc823a00341f63fea31a4efccf362c9a94a113affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to < f82d80f7b6f7c537f3047330940300117aebb8e1affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to < f56fab89da7300a3f4556516c4ab1c4b0a2419cbaffected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to < 27953c044974baf7e24dee3e9342fe0103dea80caffected
Linux Linux
Default version status: affected
4.19affected0 to < 4.19unaffected5.10.275 to ≤ 5.10.*unaffected5.15.226 to ≤ 5.15.*unaffected6.1.193 to ≤ 6.1.*unaffected6.6.163 to ≤ 6.6.*unaffected6.12.117 to ≤ 6.12.*unaffected6.18.63 to ≤ 6.18.*unaffected7.3.4 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/3d0582b9bd8ab1604f7e63668088ba7b6a7b74b0 ↗
- https://git.kernel.org/stable/c/d9258215b998c0ef5e4e2544b0bae0ad096ea9ca ↗
- https://git.kernel.org/stable/c/de3c06c7c8d8615ba4cb58bd8a100b57794084d6 ↗
- https://git.kernel.org/stable/c/244d5f20aaf5532885902d417e3efd79b3b4acda ↗
- https://git.kernel.org/stable/c/85fc823a00341f63fea31a4efccf362c9a94a113 ↗
- https://git.kernel.org/stable/c/f82d80f7b6f7c537f3047330940300117aebb8e1 ↗
- https://git.kernel.org/stable/c/f56fab89da7300a3f4556516c4ab1c4b0a2419cb ↗
- https://git.kernel.org/stable/c/27953c044974baf7e24dee3e9342fe0103dea80c ↗