CVE-2025-71136 (GCVE-0-2025-71136)
Vulnerability from cvelistv5
Published
2026-01-14 15:07
Modified
2026-08-05 12:12
Summary
In the Linux kernel, the following vulnerability has been resolved: media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status() It's possible for cp_read() and hdmi_read() to return -EIO. Those values are further used as indexes for accessing arrays. Fix that by checking return values where it's needed. Found by Linux Verification Center (linuxtesting.org) with SVACE.
Impacted products
Vendor Product Version
Linux Linux Version: a89bcd4c6c2023615a89001b5a11b0bb77eb9491
Version: a89bcd4c6c2023615a89001b5a11b0bb77eb9491
Version: a89bcd4c6c2023615a89001b5a11b0bb77eb9491
Version: a89bcd4c6c2023615a89001b5a11b0bb77eb9491
Version: a89bcd4c6c2023615a89001b5a11b0bb77eb9491
Version: a89bcd4c6c2023615a89001b5a11b0bb77eb9491
Version: a89bcd4c6c2023615a89001b5a11b0bb77eb9491
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/i2c/adv7842.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "f81ee181cb036d046340c213091b69d9a8701a76",
              "status": "affected",
              "version": "a89bcd4c6c2023615a89001b5a11b0bb77eb9491",
              "versionType": "git"
            },
            {
              "lessThan": "f913b9a2ccd6114b206b9e91dae5e3dc13a415a0",
              "status": "affected",
              "version": "a89bcd4c6c2023615a89001b5a11b0bb77eb9491",
              "versionType": "git"
            },
            {
              "lessThan": "d6a22a4a96e4dfe6897cb3532d2b3016d87706f0",
              "status": "affected",
              "version": "a89bcd4c6c2023615a89001b5a11b0bb77eb9491",
              "versionType": "git"
            },
            {
              "lessThan": "a73881ae085db5702d8b13e2fc9f78d51c723d3f",
              "status": "affected",
              "version": "a89bcd4c6c2023615a89001b5a11b0bb77eb9491",
              "versionType": "git"
            },
            {
              "lessThan": "60dde0960e3ead8a9569f6c494d90d0232ac0983",
              "status": "affected",
              "version": "a89bcd4c6c2023615a89001b5a11b0bb77eb9491",
              "versionType": "git"
            },
            {
              "lessThan": "b693d48a6ed0cd09171103ad418e4a693203d6e4",
              "status": "affected",
              "version": "a89bcd4c6c2023615a89001b5a11b0bb77eb9491",
              "versionType": "git"
            },
            {
              "lessThan": "8163419e3e05d71dcfa8fb49c8fdf8d76908fe51",
              "status": "affected",
              "version": "a89bcd4c6c2023615a89001b5a11b0bb77eb9491",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/i2c/adv7842.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.12"
            },
            {
              "lessThan": "3.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.248",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.160",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.248",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.198",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.160",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.120",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.64",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.4",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()\n\nIt\u0027s possible for cp_read() and hdmi_read() to return -EIO. Those\nvalues are further used as indexes for accessing arrays.\n\nFix that by checking return values where it\u0027s needed.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - A local attacker reaches the flaw through VIDIOC_LOG_STATUS on the Cobalt /dev/video or exposed V4L2 subdevice node, which forwards directly to adv7842_cp_log_status(). An HDMI source cannot independently invoke this callback.\nAC:L - Once an I2C read returns -EIO, shifting the result produces index -1 and one status ioctl deterministically triggers the under-read. The ioctl can be repeated during transient or persistent bus faults, with no race or heap grooming required.\nPR:L - The ioctl path contains no capability or administrative privilege check. An unprivileged user or service with ordinary video-device access can invoke it.\nUI:N - The attacker directly issues the ioctl and does not require another user to open media, approve a request, or perform any other action.\nS:U - The vulnerable driver and the affected kernel memory belong to the same host security authority. No guest-host, IOMMU, or other scope boundary is crossed.\nC:H - The index under-read obtains a pointer-sized value preceding a static array, which printk then follows as a string pointer until a NUL byte. This is not a strictly bounded small read and can expose kernel memory through the log.\nI:N - The vulnerable operations only read outside static pointer arrays and pass the resulting values to logging code. They provide no memory-write or control-flow modification primitive.\nA:H - If the preceding word is not a valid NUL-terminated kernel pointer, printk\u0027s %s handling can fault and cause a kernel oops. Systems configured with panic-on-oops can consequently panic or reboot."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:12:18.759Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/f81ee181cb036d046340c213091b69d9a8701a76"
        },
        {
          "url": "https://git.kernel.org/stable/c/f913b9a2ccd6114b206b9e91dae5e3dc13a415a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/d6a22a4a96e4dfe6897cb3532d2b3016d87706f0"
        },
        {
          "url": "https://git.kernel.org/stable/c/a73881ae085db5702d8b13e2fc9f78d51c723d3f"
        },
        {
          "url": "https://git.kernel.org/stable/c/60dde0960e3ead8a9569f6c494d90d0232ac0983"
        },
        {
          "url": "https://git.kernel.org/stable/c/b693d48a6ed0cd09171103ad418e4a693203d6e4"
        },
        {
          "url": "https://git.kernel.org/stable/c/8163419e3e05d71dcfa8fb49c8fdf8d76908fe51"
        }
      ],
      "title": "media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-71136",
    "datePublished": "2026-01-14T15:07:50.568Z",
    "dateReserved": "2026-01-13T15:30:19.656Z",
    "dateUpdated": "2026-08-05T12:12:18.759Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…