CVE-2026-52907

media: rockchip: rkcif: fix off by one bugs

Published Jun 9, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

media: rockchip: rkcif: fix off by one bugs

Change these comparisons from > vs >= to avoid accessing one element
beyond the end of the arrays.
While at it, use ARRAY_SIZE instead of the _MAX enum values.

[fix cosmetic issues]

Analysis

AI-generated

Technical impact

The Linux kernel’s rkcif media driver contains an off‑by‑one comparison that can cause the driver to read or write past the end of a statically allocated array. The change from ‘>’ to ‘>=’ and the use of ARRAY_SIZE prevents this bounds error. The vulnerability is an example of a CWE‑193 error. Based on the CVE description, it is inferred that attacker‑controlled media data could trigger the off‑by‑one bug.

Affected Systems

The flaw exists in any Linux kernel that contains the rkcif media driver without the posted patch. All builds of the kernel that have not incorporated the referenced commit remain vulnerable. Devices running unpatched kernels that use this driver are affected.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity of the off‑by‑one array vulnerability. The EPSS score of <1% shows low reported exploitation probability. The flaw is not listed in the CISA KEV catalog and no public exploits are known. Because the bug occurs while processing media streams, it would require attacker‑controlled media data to trigger the vulnerability. It is unclear whether this could lead to remote code execution or privilege escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version containing the rkcif off‑by‑one fix.
  • If a kernel upgrade is not possible, apply the patch from the referenced Git commit to the kernel source before rebuilding it.
  • If the device does not require the rkcif driver, unload or disable the driver to prevent execution of the vulnerable code.

Generated by OpenCVE AI on June 14, 2026 at 06:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8488-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8489-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8488-2 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-8507-1 Linux kernel (NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
History
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'}

Type Values Removed Values Added
Weaknesses CWE-119
CWE-788
Type Values Removed Values Added
Weaknesses CWE-119
CWE-788
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: rockchip: rkcif: fix off by one bugs Change these comparisons from > vs >= to avoid accessing one element beyond the end of the arrays. While at it, use ARRAY_SIZE instead of the _MAX enum values. [fix cosmetic issues]
Title media: rockchip: rkcif: fix off by one bugs
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Aug 5, 2026, 12:31 PM
Reserved
Jun 9, 2026, 7:44 AM
Status
Analyzed
Published
Jun 9, 2026, 2:16 PM
Modified
Jul 23, 2026, 8:10 AM
Severity
Public date
Jun 9, 2026, 12:00 AM