# CVE-2025-71136: media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-01-14T15:07:50.568Z
- Modified: 2026-08-05T12:12:18.759Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from a89bcd4c6c2023615a89001b5a11b0bb77eb9491 before f81ee181cb036d046340c213091b69d9a8701a76; from a89bcd4c6c2023615a89001b5a11b0bb77eb9491 before f913b9a2ccd6114b206b9e91dae5e3dc13a415a0; from a89bcd4c6c2023615a89001b5a11b0bb77eb9491 before d6a22a4a96e4dfe6897cb3532d2b3016d87706f0; from a89bcd4c6c2023615a89001b5a11b0bb77eb9491 before a73881ae085db5702d8b13e2fc9f78d51c723d3f; from a89bcd4c6c2023615a89001b5a11b0bb77eb9491 before 60dde0960e3ead8a9569f6c494d90d0232ac0983; from a89bcd4c6c2023615a89001b5a11b0bb77eb9491 before b693d48a6ed0cd09171103ad418e4a693203d6e4; from a89bcd4c6c2023615a89001b5a11b0bb77eb9491 before 8163419e3e05d71dcfa8fb49c8fdf8d76908fe51; 3.12 (not affected: before 3.12; from 5.10.248 up to 5.10.*; from 5.15.198 up to 5.15.*; from 6.1.160 up to 6.1.*; from 6.6.120 up to 6.6.*; from 6.12.64 up to 6.12.*; from 6.18.4 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 3.12.1 before 5.10.248; from 5.11 before 5.15.198; from 5.16 before 6.1.160; from 6.2 before 6.6.120; from 6.7 before 6.12.64; from 6.13 before 6.18.4; 3.12; 6.19

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/f81ee181cb036d046340c213091b69d9a8701a76> (patch)
- <https://git.kernel.org/stable/c/f913b9a2ccd6114b206b9e91dae5e3dc13a415a0> (patch)
- <https://git.kernel.org/stable/c/d6a22a4a96e4dfe6897cb3532d2b3016d87706f0> (patch)
- <https://git.kernel.org/stable/c/a73881ae085db5702d8b13e2fc9f78d51c723d3f> (patch)
- <https://git.kernel.org/stable/c/60dde0960e3ead8a9569f6c494d90d0232ac0983> (patch)
- <https://git.kernel.org/stable/c/b693d48a6ed0cd09171103ad418e4a693203d6e4> (patch)
- <https://git.kernel.org/stable/c/8163419e3e05d71dcfa8fb49c8fdf8d76908fe51> (patch)

## Sources

- CVE List: [CVE-2025-71136](https://www.cve.org/CVERecord?id=CVE-2025-71136), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-71136](https://nvd.nist.gov/vuln/detail/CVE-2025-71136), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-71136 · Whole record: https://cve.day/CVE-2025-71136.json · Rebuilt by cve.day 2026-11-25T22:59:10.626Z
