CVE-2026-139024
media: vicodec: zero-initialize stateful decoder heap buffers
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.
INFO
Published Date :
Nov. 30, 2026, 2:18 p.m.
Last Modified :
Nov. 30, 2026, 2:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Use kvzalloc() for decoder heap allocations.
- Ensure all decoder heap buffers are zero-initialized.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139024.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139024 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139024
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139024 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139024 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139024.json">CVE-2026-139024</a> Added Reference https://git.kernel.org/stable/c/244d5f20aaf5532885902d417e3efd79b3b4acda Added Reference https://git.kernel.org/stable/c/27953c044974baf7e24dee3e9342fe0103dea80c Added Reference https://git.kernel.org/stable/c/3d0582b9bd8ab1604f7e63668088ba7b6a7b74b0 Added Reference https://git.kernel.org/stable/c/85fc823a00341f63fea31a4efccf362c9a94a113 Added Reference https://git.kernel.org/stable/c/d9258215b998c0ef5e4e2544b0bae0ad096ea9ca Added Reference https://git.kernel.org/stable/c/de3c06c7c8d8615ba4cb58bd8a100b57794084d6 Added Reference https://git.kernel.org/stable/c/f56fab89da7300a3f4556516c4ab1c4b0a2419cb Added Reference https://git.kernel.org/stable/c/f82d80f7b6f7c537f3047330940300117aebb8e1