media: vicodec: zero-initialize stateful decoder heap buffers
Summary
| CVE | CVE-2026-139024 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:18:06 UTC |
| Updated | 2026-11-30 14:18:06 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 256bf813ba39f7f9277a5cd05b5c152dbbaf4aae 3d0582b9bd8ab1604f7e63668088ba7b6a7b74b0 git |
Not specified |
| CNA |
Linux |
Linux |
affected 256bf813ba39f7f9277a5cd05b5c152dbbaf4aae d9258215b998c0ef5e4e2544b0bae0ad096ea9ca git |
Not specified |
| CNA |
Linux |
Linux |
affected 256bf813ba39f7f9277a5cd05b5c152dbbaf4aae de3c06c7c8d8615ba4cb58bd8a100b57794084d6 git |
Not specified |
| CNA |
Linux |
Linux |
affected 256bf813ba39f7f9277a5cd05b5c152dbbaf4aae 244d5f20aaf5532885902d417e3efd79b3b4acda git |
Not specified |
| CNA |
Linux |
Linux |
affected 256bf813ba39f7f9277a5cd05b5c152dbbaf4aae 85fc823a00341f63fea31a4efccf362c9a94a113 git |
Not specified |
| CNA |
Linux |
Linux |
affected 256bf813ba39f7f9277a5cd05b5c152dbbaf4aae f82d80f7b6f7c537f3047330940300117aebb8e1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 256bf813ba39f7f9277a5cd05b5c152dbbaf4aae f56fab89da7300a3f4556516c4ab1c4b0a2419cb git |
Not specified |
| CNA |
Linux |
Linux |
affected 256bf813ba39f7f9277a5cd05b5c152dbbaf4aae 27953c044974baf7e24dee3e9342fe0103dea80c git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.19 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.19 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/d9258215b998c0ef5e4e2544b0bae0ad096ea9ca |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/244d5f20aaf5532885902d417e3efd79b3b4acda |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/de3c06c7c8d8615ba4cb58bd8a100b57794084d6 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f82d80f7b6f7c537f3047330940300117aebb8e1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/3d0582b9bd8ab1604f7e63668088ba7b6a7b74b0 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/27953c044974baf7e24dee3e9342fe0103dea80c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/85fc823a00341f63fea31a4efccf362c9a94a113 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/f56fab89da7300a3f4556516c4ab1c4b0a2419cb |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.