media: vicodec: zero-initialize stateful decoder heap buffers

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to before 3d0582b9bd8ab1604f7e63668088ba7b6a7b74b0 Affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to before d9258215b998c0ef5e4e2544b0bae0ad096ea9ca Affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to before de3c06c7c8d8615ba4cb58bd8a100b57794084d6 Affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to before 244d5f20aaf5532885902d417e3efd79b3b4acda Affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to before 85fc823a00341f63fea31a4efccf362c9a94a113 Affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to before f82d80f7b6f7c537f3047330940300117aebb8e1 Affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to before f56fab89da7300a3f4556516c4ab1c4b0a2419cb Affected256bf813ba39f7f9277a5cd05b5c152dbbaf4aae to before 27953c044974baf7e24dee3e9342fe0103dea80c Affected
Linux Linux4.19 Affectedbefore 4.19 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.