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

media: v4l2-ctrls: validate HEVC active reference counts

HEVC slice parameters are shared stateless V4L2 controls, but the common
validation path does not verify the active L0/L1 reference counts before
driver-specific code consumes them.

The original report came from Cedrus, but the active count bounds are
not Cedrus-specific. Validate them in the common HEVC slice control path
so stateless HEVC drivers get the same basic guarantees as soon as the
control is queued.

Do not reject ref_idx_l0/ref_idx_l1 entries here. Existing userspace may
use out-of-range sentinel values such as 0xff for missing references, and
some hardware can use that information for concealment. Keep this common
check limited to the active reference counts.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

HEVC slice parameters are shared stateless V4L2 controls, yet the common validation path did not check the active L0/L1 reference counts before driver code consumed them. This oversight allowed an attacker to provide out‑of‑range reference indices that would be interpreted by the driver, leading to kernel memory corruption and potentially enabling a local privilege escalation.

Affected Systems

All Linux kernel builds that expose the v4l2‑ctrls HEVC slice controls are affected. No vendor‑specific version range is listed, so the flaw applies to every kernel prior to the patch that hardens this validation.

Risk and Exploitability

The CVSS and EPSS scores are unavailable, and the vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector is local: an attacker with local privileges can construct malformed V4L2 control packets and queue them to a device driver that implements the HEVC slice interface. The driver then consumes the invalid reference counts, which can trigger a crash or a write into kernel memory, providing an avenue for privilege elevation.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest patched Linux kernel that includes the HEVC active reference count validation fix.
  • If an immediate kernel update is not possible, stop using the affected V4L2 HEVC slice controls or disable the device that exposes them.
  • Ensure that any user‑space applications interacting with V4L2 controls validate or sanitize the reference indices before sending them to the kernel.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20

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: v4l2-ctrls: validate HEVC active reference counts HEVC slice parameters are shared stateless V4L2 controls, but the common validation path does not verify the active L0/L1 reference counts before driver-specific code consumes them. The original report came from Cedrus, but the active count bounds are not Cedrus-specific. Validate them in the common HEVC slice control path so stateless HEVC drivers get the same basic guarantees as soon as the control is queued. Do not reject ref_idx_l0/ref_idx_l1 entries here. Existing userspace may use out-of-range sentinel values such as 0xff for missing references, and some hardware can use that information for concealment. Keep this common check limited to the active reference counts.
Title media: v4l2-ctrls: validate HEVC active reference counts
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:25.309Z

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

Link: CVE-2026-68206

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T14:30:04Z

Weaknesses
  • CWE-20

    Improper Input Validation