CVE-2026-139034: media: adv7604: avoid negative array index in log_status when cp_read fails
In the Linux kernel, the following vulnerability has been resolved:
media: adv7604: avoid negative array index in logstatus when cpread fails
cpread() returns the negative errno from regmapread() on I2C failure. adv76xxlogstatus() shifts the result right by 4 and uses it directly to index csccoeffselrb[16] causing the right shift of a negative number to result in -1, reading a negative place in the array.
Commit 8163419e3e05 ("media: adv7842: Avoid possible out-of-bounds array accesses in adv7842cplogstatus()") fixed the identical pattern in the adv7842, so do the same thing here.