# CVE-2026-139034: media: adv7604: avoid negative array index in log_status when cp_read fails

- Severity: not scored yet
- 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.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-11-30T13:27:15.425Z
- Modified: 2026-11-30T14:18:07.670Z
- Assigned by: Linux

## Description

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

media: adv7604: avoid negative array index in log_status when cp_read fails

cp_read() returns the negative errno from regmap_read() on I2C failure.
adv76xx_log_status() shifts the result right by 4 and uses it directly
to index csc_coeff_sel_rb[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 adv7842_cp_log_status()") fixed the identical pattern
in the adv7842, so do the same thing here.

(As written by CVE List.)

## Affected

- Linux Linux: from 54450f591c9927496b3d41c041fa802d0ef96885 before 4be68feef5ef0ae804ed2af371d1b6524a38fd00; from 54450f591c9927496b3d41c041fa802d0ef96885 before 0fc425faff9b263e2b19bfd86d5ba1622e830a7d; from 54450f591c9927496b3d41c041fa802d0ef96885 before 43e6fb49b52c705bbad191a58b4384c4fc31cff0; from 54450f591c9927496b3d41c041fa802d0ef96885 before 67f579503f559542ed373c12b94020b4b2c1997f; from 54450f591c9927496b3d41c041fa802d0ef96885 before 6c131308cadc0dded0b7fca90482edef4fb66802; from 54450f591c9927496b3d41c041fa802d0ef96885 before 486eccf2f4bed764904353ae30403619a7ac1c1c; from 54450f591c9927496b3d41c041fa802d0ef96885 before 8e8b1298193e7af06a8743e07068f466e627500f; from 54450f591c9927496b3d41c041fa802d0ef96885 before 10d8dfda1c08f6788049aa100685e223d857f901; 3.7 (not affected: before 3.7; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/4be68feef5ef0ae804ed2af371d1b6524a38fd00>
- <https://git.kernel.org/stable/c/0fc425faff9b263e2b19bfd86d5ba1622e830a7d>
- <https://git.kernel.org/stable/c/43e6fb49b52c705bbad191a58b4384c4fc31cff0>
- <https://git.kernel.org/stable/c/67f579503f559542ed373c12b94020b4b2c1997f>
- <https://git.kernel.org/stable/c/6c131308cadc0dded0b7fca90482edef4fb66802>
- <https://git.kernel.org/stable/c/486eccf2f4bed764904353ae30403619a7ac1c1c>
- <https://git.kernel.org/stable/c/8e8b1298193e7af06a8743e07068f466e627500f>
- <https://git.kernel.org/stable/c/10d8dfda1c08f6788049aa100685e223d857f901>

## Sources

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

---

Page: https://cve.day/CVE-2026-139034 · Whole record: https://cve.day/CVE-2026-139034.json · Rebuilt by cve.day 2026-11-30T14:32:42.195Z
