Description
In the Linux kernel, the following vulnerability has been resolved:

media: cedrus: skip invalid H.264 reference list entries

Cedrus consumes H.264 ref_pic_list0/ref_pic_list1 entries from the
stateless slice control and later uses their indices to look up
decode->dpb[] in _cedrus_write_ref_list().

Rejecting such controls in cedrus_try_ctrl() would break existing
userspace, since stateless H.264 reference lists may legitimately carry
out-of-range indices for missing references. Instead, guard the actual
DPB lookup in Cedrus and skip entries whose indices do not fit the fixed
V4L2_H264_NUM_DPB_ENTRIES array.

This keeps the fix local to the driver use site and avoids out-of-bounds
reads from malformed or unsupported reference list entries.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability in the Linux kernel’s Cedrus driver arises when the driver accepts H.264 reference list entries from stateless slice control that reference indices outside the fixed V4L2_H264_NUM_DPB_ENTRIES array. The driver then attempts to look up these indices in the decode->dpb[] array, leading to an out-of-bounds read of kernel memory. This can expose sensitive kernel data to a local attacker and potentially be leveraged for privilege escalation or further exploitation.

Affected Systems

All Linux kernel installations that include the Cedrus media driver and have not yet incorporated the commit that guards against invalid reference indices. The specific kernel versions affected are not listed, but any kernel that implements the pre-fix Cedrus path is vulnerable until the patch is applied.

Risk and Exploitability

Without a patched kernel, the CVSS score for this issue is not disclosed, and EPSS is unavailable, but the existence of an out-of-bounds read indicates a non-trivial local code execution risk if an attacker can feed a crafted H.264 stream to the driver. The vulnerability is not currently listed in the CISA KEV catalog. The most likely attack vector is local: an attacker with access to a video device that uses the Cedrus driver can provide a malformed H.264 stream to trigger the read. The effect is information disclosure and potentially kernel privilege escalation if combined with additional local exploits.

Generated by OpenCVE AI on August 10, 2026 at 14:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the Cedrus commit that sanitizes reference list indices.
  • If a kernel upgrade is not immediately possible, disable the Cedrus driver by removing or blacklisting it from the kernel configuration or using udev rules to prevent loading.
  • Apply additional access controls by restricting which users can write to the affected video capture device, limiting the local attack surface from untrusted users.

Generated by OpenCVE AI on August 10, 2026 at 14:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-125

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: cedrus: skip invalid H.264 reference list entries Cedrus consumes H.264 ref_pic_list0/ref_pic_list1 entries from the stateless slice control and later uses their indices to look up decode->dpb[] in _cedrus_write_ref_list(). Rejecting such controls in cedrus_try_ctrl() would break existing userspace, since stateless H.264 reference lists may legitimately carry out-of-range indices for missing references. Instead, guard the actual DPB lookup in Cedrus and skip entries whose indices do not fit the fixed V4L2_H264_NUM_DPB_ENTRIES array. This keeps the fix local to the driver use site and avoids out-of-bounds reads from malformed or unsupported reference list entries.
Title media: cedrus: skip invalid H.264 reference list entries
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T12:00:51.935Z

Reserved: 2026-07-30T09:28:09.376Z

Link: CVE-2026-68229

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T20:00:03Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-125

    Out-of-bounds Read