7.1high
media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()
- Severity
- 7.1high CVSS:3.1 by Linux
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| 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 | NVD |
All scores
| Linux | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: media: adv7842: Evitar posibles accesos a arrays fuera de límites en adv7842_cp_log_status() Es posible que cp_read() y hdmi_read() devuelvan -EIO. Esos valores se utilizan además como índices para acceder a arrays. Solucionar esto comprobando los valores de retorno donde sea necesario. Encontrado por Linux Verification Center (linuxtesting.org) con SVACE.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-71136 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-71136 changed 2026-07-30 | Public domain |