# CVE-2026-52907: media: rockchip: rkcif: fix off by one bugs

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-09T12:36:04.617Z
- Modified: 2026-08-05T12:31:30.487Z
- Weaknesses: CWE-193
- Assigned by: Linux

## 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]

(As written by CVE List.)

## Affected

- Linux Linux: from 1f2353f5a1af995efbf7bea44341aa0d03460b28 before 73e119036b3a799170ed89907b4273c07306d611; from 1f2353f5a1af995efbf7bea44341aa0d03460b28 before e4056b84af0fc18c84b4e5741df04ecd8ca17973; 6.19 (not affected: before 6.19; from 7.0.4 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.19 before 7.0.4

## References

- <https://git.kernel.org/stable/c/73e119036b3a799170ed89907b4273c07306d611> (patch)
- <https://git.kernel.org/stable/c/e4056b84af0fc18c84b4e5741df04ecd8ca17973> (patch)

## Sources

- CVE List: [CVE-2026-52907](https://www.cve.org/CVERecord?id=CVE-2026-52907), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-52907](https://nvd.nist.gov/vuln/detail/CVE-2026-52907), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-52907 · Whole record: https://cve.day/CVE-2026-52907.json · Rebuilt by cve.day 2026-11-25T22:59:24.111Z
