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

media: rkvdec: bound HEVC tile loops and PPS id to the array capacity

compute_tiles_uniform() and compute_tiles_non_uniform() loop over
num_tile_columns_minus1 + 1 / num_tile_rows_minus1 + 1 entries, and
assemble_hw_pps() writes one COLUMN_WIDTH / ROW_HEIGHT register per tile
and indexes priv_tbl->param_set[] by pic_parameter_set_id, all taken from
the untrusted PPS. Use the bounded v4l2_hevc_pps_num_tile_columns() /
v4l2_hevc_pps_num_tile_rows() helpers for the tile loops, and bail out of
assemble_hw_pps() before indexing priv_tbl->param_set[] with an
out-of-range pic_parameter_set_id, so the writes stay within the hardware
tables.
Published: 2026-09-25
Score: 7.8 High
EPSS: n/a
KEV: No
Impact: Denial of Service or Privilege Escalation
Action: Apply Patch
AI Analysis

Impact

In the Linux kernel media subsystem, the rkvdec driver processes HEVC streams that come from an untrusted source. Based on the description, the attack vector is feeding a malicious HEVC bitstream to the driver. The tile calculation functions read the number of tile columns and rows directly from the input PPS, and the assembly routine writes a hardware register for each tile while indexing an internal parameter table by the picture parameter set ID. Because these values are not bounded, a malicious stream can supply in‑range tile counts that exceed the table size or an out‑of‑range picture parameter set ID, causing the code to write beyond the allocated array. This kernel out‑of‑bounds write can corrupt memory or driver state, leading to a kernel crash or potentially enabling a privilege‑escalation exploit if the attacker can trigger the overflow within the kernel context.

Affected Systems

Any Linux system that deploys the media/rkvdec driver for Rockchip VDEC hardware, regardless of distribution, is subject to this flaw as long as the kernel includes the vulnerable compute_tiles_uniform(), compute_tiles_non_uniform(), and assemble_hw_pps() implementations. No explicit kernel version numbers are listed; users should ensure they are running a kernel that contains the recent fix that bounds tile loops and checks the picture parameter set index.

Risk and Exploitability

Based on the description, the exploited code path requires feeding a crafted HEVC stream to the decoder. The CVSS base score of 7.8 indicates a high‑severity kernel memory corruption flaw. Attackers could succeed locally or remotely if media inputs are accepted through a network service or exposed interfaces. The EPSS score is not available, and the flaw is not catalogued in CISA KEV, but the potential for a kernel crash or privilege escalation means the risk remains significant. When exploited, the impact could be a denial of service or an elevation of privilege to root. Prompt patching is recommended.

Generated by OpenCVE AI on September 26, 2026 at 02:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the rkvdec patch described in the kernel commit notes.
  • If an upgrade is not immediately possible, disable or unload the rkvdec module or restrict access to the media device so that untrusted HEVC streams cannot reach the driver.
  • Ensure only trusted users or services can feed media streams to the rkvdec device and monitor system logs for abnormal crashes or register corruption events.

Generated by OpenCVE AI on September 26, 2026 at 02:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 26 Sep 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787

Sat, 26 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-129

Fri, 25 Sep 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Fri, 25 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-129

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: rkvdec: bound HEVC tile loops and PPS id to the array capacity compute_tiles_uniform() and compute_tiles_non_uniform() loop over num_tile_columns_minus1 + 1 / num_tile_rows_minus1 + 1 entries, and assemble_hw_pps() writes one COLUMN_WIDTH / ROW_HEIGHT register per tile and indexes priv_tbl->param_set[] by pic_parameter_set_id, all taken from the untrusted PPS. Use the bounded v4l2_hevc_pps_num_tile_columns() / v4l2_hevc_pps_num_tile_rows() helpers for the tile loops, and bail out of assemble_hw_pps() before indexing priv_tbl->param_set[] with an out-of-range pic_parameter_set_id, so the writes stay within the hardware tables.
Title media: rkvdec: bound HEVC tile loops and PPS id to the array capacity
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-09-25T14:41:23.543Z

Reserved: 2026-09-24T16:01:01.156Z

Link: CVE-2026-97580

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:08.790

Modified: 2026-09-25T15:18:00.170

Link: CVE-2026-97580

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T02:45:02Z

Weaknesses