{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "54450f591c9927496b3d41c041fa802d0ef96885"
            },
            {
              "fixed": "4be68feef5ef0ae804ed2af371d1b6524a38fd00"
            },
            {
              "fixed": "0fc425faff9b263e2b19bfd86d5ba1622e830a7d"
            },
            {
              "fixed": "43e6fb49b52c705bbad191a58b4384c4fc31cff0"
            },
            {
              "fixed": "67f579503f559542ed373c12b94020b4b2c1997f"
            },
            {
              "fixed": "6c131308cadc0dded0b7fca90482edef4fb66802"
            },
            {
              "fixed": "486eccf2f4bed764904353ae30403619a7ac1c1c"
            },
            {
              "fixed": "8e8b1298193e7af06a8743e07068f466e627500f"
            },
            {
              "fixed": "10d8dfda1c08f6788049aa100685e223d857f901"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.7.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139034.json"
  },
  "details": "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.",
  "id": "CVE-2026-139034",
  "modified": "2026-12-01T20:46:00.354936437Z",
  "published": "2026-11-30T13:27:15.425Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0fc425faff9b263e2b19bfd86d5ba1622e830a7d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/10d8dfda1c08f6788049aa100685e223d857f901"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/43e6fb49b52c705bbad191a58b4384c4fc31cff0"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/486eccf2f4bed764904353ae30403619a7ac1c1c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4be68feef5ef0ae804ed2af371d1b6524a38fd00"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/67f579503f559542ed373c12b94020b4b2c1997f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6c131308cadc0dded0b7fca90482edef4fb66802"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8e8b1298193e7af06a8743e07068f466e627500f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139034.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139034"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "media: adv7604: avoid negative array index in log_status when cp_read fails"
}