CVE-2026-139034
publishedmedia: adv7604: avoid negative array index in log_status when cp_read fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux54450f591c9927496b3d41c041fa802d0ef96885 to < 4be68feef5ef0ae804ed2af371d1b6524a38fd00 · 54450f591c9927496b3d41c041fa802d0ef96885 to < 0fc425faff9b263e2b19bfd86d5ba1622e830a7d · 54450f591c9927496b3d41c041fa802d0ef96885 to < 43e6fb49b52c705bbad191a58b4384c4fc31cff0 · 54450f591c9927496b3d41c041fa802d0ef96885 to < 67f579503f559542ed373c12b94020b4b2c1997f · 54450f591c9927496b3d41c041fa802d0ef96885 to < 6c131308cadc0dded0b7fca90482edef4fb66802 · 54450f591c9927496b3d41c041fa802d0ef96885 to < 486eccf2f4bed764904353ae30403619a7ac1c1c · 54450f591c9927496b3d41c041fa802d0ef96885 to < 8e8b1298193e7af06a8743e07068f466e627500f · 54450f591c9927496b3d41c041fa802d0ef96885 to < 10d8dfda1c08f6788049aa100685e223d857f901 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.7 (affected) · 0 to < 3.7 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 54450f591c9927496b3d41c041fa802d0ef96885 to < 4be68feef5ef0ae804ed2af371d1b6524a38fd00 (affected · git)54450f591c9927496b3d41c041fa802d0ef96885 to < 0fc425faff9b263e2b19bfd86d5ba1622e830a7d (affected · git)54450f591c9927496b3d41c041fa802d0ef96885 to < 43e6fb49b52c705bbad191a58b4384c4fc31cff0 (affected · git)54450f591c9927496b3d41c041fa802d0ef96885 to < 67f579503f559542ed373c12b94020b4b2c1997f (affected · git)54450f591c9927496b3d41c041fa802d0ef96885 to < 6c131308cadc0dded0b7fca90482edef4fb66802 (affected · git)54450f591c9927496b3d41c041fa802d0ef96885 to < 486eccf2f4bed764904353ae30403619a7ac1c1c (affected · git)54450f591c9927496b3d41c041fa802d0ef96885 to < 8e8b1298193e7af06a8743e07068f466e627500f (affected · git)54450f591c9927496b3d41c041fa802d0ef96885 to < 10d8dfda1c08f6788049aa100685e223d857f901 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.7 (affected)0 to < 3.7 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0fc425faff9b263e2b19bfd86d5ba1622e830a7d
- https://git.kernel.org/stable/c/10d8dfda1c08f6788049aa100685e223d857f901
- https://git.kernel.org/stable/c/43e6fb49b52c705bbad191a58b4384c4fc31cff0
- https://git.kernel.org/stable/c/486eccf2f4bed764904353ae30403619a7ac1c1c
- https://git.kernel.org/stable/c/4be68feef5ef0ae804ed2af371d1b6524a38fd00
- https://git.kernel.org/stable/c/67f579503f559542ed373c12b94020b4b2c1997f
- https://git.kernel.org/stable/c/6c131308cadc0dded0b7fca90482edef4fb66802
- https://git.kernel.org/stable/c/8e8b1298193e7af06a8743e07068f466e627500f
Provider assertions
1Linux · cna
media: adv7604: avoid negative array index in log_status when cp_read fails
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 357585572638f294c1cdd3d984a031d3a2f444420bcf62e4bd6ba7f01912c98e
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record