media: rockchip: rkcif: fix off by one bugs
CVE-2026-52907
Currently unrated
What is CVE-2026-52907?
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]
Affected Version(s)
Linux 1f2353f5a1af995efbf7bea44341aa0d03460b28 < 73e119036b3a799170ed89907b4273c07306d611
Linux 1f2353f5a1af995efbf7bea44341aa0d03460b28
Linux 6.19