CVE-2025-71136 (GCVE-0-2025-71136)

Vulnerability from cvelistv5 – Published: 2026-01-14 15:07 – Updated: 2026-08-05 12:12
VLAI
Title
media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()
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.
Assigner
Linux CNA
Impacted products
Vendor Product Version
Linux Linux Affected: a89bcd4c6c2023615a89001b5a11b0bb77eb9491 , < f81ee181cb036d046340c213091b69d9a8701a76 (git)
Affected: a89bcd4c6c2023615a89001b5a11b0bb77eb9491 , < f913b9a2ccd6114b206b9e91dae5e3dc13a415a0 (git)
Affected: a89bcd4c6c2023615a89001b5a11b0bb77eb9491 , < d6a22a4a96e4dfe6897cb3532d2b3016d87706f0 (git)
Affected: a89bcd4c6c2023615a89001b5a11b0bb77eb9491 , < a73881ae085db5702d8b13e2fc9f78d51c723d3f (git)
Affected: a89bcd4c6c2023615a89001b5a11b0bb77eb9491 , < 60dde0960e3ead8a9569f6c494d90d0232ac0983 (git)
Affected: a89bcd4c6c2023615a89001b5a11b0bb77eb9491 , < b693d48a6ed0cd09171103ad418e4a693203d6e4 (git)
Affected: a89bcd4c6c2023615a89001b5a11b0bb77eb9491 , < 8163419e3e05d71dcfa8fb49c8fdf8d76908fe51 (git)
Create a notification for this product.
Linux Linux Affected: 3.12
Unaffected: 0 , < 3.12 (semver)
Unaffected: 5.10.248 , ≤ 5.10.* (semver)
Unaffected: 5.15.198 , ≤ 5.15.* (semver)
Unaffected: 6.1.160 , ≤ 6.1.* (semver)
Unaffected: 6.6.120 , ≤ 6.6.* (semver)
Unaffected: 6.12.64 , ≤ 6.12.* (semver)
Unaffected: 6.18.4 , ≤ 6.18.* (semver)
Unaffected: 6.19 , ≤ * (original_commit_for_fix)
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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-71136",
      "date": "2026-11-19",
      "epss": "0.00139",
      "percentile": "0.03369"
    },
    "microsoft_vex": {
      "current_release_date": "2026-02-18T14:38:41.000Z",
      "cve": "CVE-2025-71136",
      "id": "msrc_CVE-2025-71136",
      "initial_release_date": "2026-01-16T01:01:32.000Z",
      "product_status:known_affected": "1",
      "product_status:known_not_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2025-71136.json",
      "version": "3"
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-07T03:32:55+00:00",
      "cve": "CVE-2025-71136",
      "id": "CVE-2025-71136",
      "initial_release_date": "2025-01-01T00:00:00+00:00",
      "product_status:known_not_affected": "200",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: Linux kernel: Out-of-bounds array access in adv7842 media driver",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-71136.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.