{"id":"CVE-2026-139034","aliases":["CVE-2026-139034"],"related":[],"kind":"vulnerability","state":"published","title":"media: adv7604: avoid negative array index in log_status when cp_read fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: adv7604: avoid negative array index in log_status when cp_read fails\n\ncp_read() returns the negative errno from regmap_read() on I2C failure.\nadv76xx_log_status() shifts the result right by 4 and uses it directly\nto index csc_coeff_sel_rb[16] causing the right shift of a negative\nnumber to result in -1, reading a negative place in the array.\n\nCommit 8163419e3e05 (\"media: adv7842: Avoid possible out-of-bounds\narray accesses in adv7842_cp_log_status()\") fixed the identical pattern\nin the adv7842, so do the same thing here.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: adv7604: avoid negative array index in log_status when cp_read fails\n\ncp_read() returns the negative errno from regmap_read() on I2C failure.\nadv76xx_log_status() shifts the result right by 4 and uses it directly\nto index csc_coeff_sel_rb[16] causing the right shift of a negative\nnumber to result in -1, reading a negative place in the array.\n\nCommit 8163419e3e05 (\"media: adv7842: Avoid possible out-of-bounds\narray accesses in adv7842_cp_log_status()\") fixed the identical pattern\nin the adv7842, so do the same thing here.","source":"cvelist"}],"published":"2026-11-30T13:27:15.425Z","modified":"2026-11-30T14:18:07.670Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"54450f591c9927496b3d41c041fa802d0ef96885","fixed":"4be68feef5ef0ae804ed2af371d1b6524a38fd00","status":"affected"},{"type":"git","introduced":"54450f591c9927496b3d41c041fa802d0ef96885","fixed":"0fc425faff9b263e2b19bfd86d5ba1622e830a7d","status":"affected"},{"type":"git","introduced":"54450f591c9927496b3d41c041fa802d0ef96885","fixed":"43e6fb49b52c705bbad191a58b4384c4fc31cff0","status":"affected"},{"type":"git","introduced":"54450f591c9927496b3d41c041fa802d0ef96885","fixed":"67f579503f559542ed373c12b94020b4b2c1997f","status":"affected"},{"type":"git","introduced":"54450f591c9927496b3d41c041fa802d0ef96885","fixed":"6c131308cadc0dded0b7fca90482edef4fb66802","status":"affected"},{"type":"git","introduced":"54450f591c9927496b3d41c041fa802d0ef96885","fixed":"486eccf2f4bed764904353ae30403619a7ac1c1c","status":"affected"},{"type":"git","introduced":"54450f591c9927496b3d41c041fa802d0ef96885","fixed":"8e8b1298193e7af06a8743e07068f466e627500f","status":"affected"},{"type":"git","introduced":"54450f591c9927496b3d41c041fa802d0ef96885","fixed":"10d8dfda1c08f6788049aa100685e223d857f901","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.7","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/4be68feef5ef0ae804ed2af371d1b6524a38fd00","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0fc425faff9b263e2b19bfd86d5ba1622e830a7d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43e6fb49b52c705bbad191a58b4384c4fc31cff0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67f579503f559542ed373c12b94020b4b2c1997f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6c131308cadc0dded0b7fca90482edef4fb66802","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/486eccf2f4bed764904353ae30403619a7ac1c1c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e8b1298193e7af06a8743e07068f466e627500f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10d8dfda1c08f6788049aa100685e223d857f901","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139034","url":"https://www.cve.org/CVERecord?id=CVE-2026-139034","licence":"CVE Terms of Use","modified":"2026-11-30T13:27:15.425Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139034","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139034","licence":"Public domain","modified":"2026-11-30T14:18:07.670Z"}],"updatedAt":"2026-11-30T14:32:42.195Z","epss":{"score":0.00372,"percentile":0.33155,"date":"2026-12-01T12:00:22.000Z"}}