Executive brief
A vulnerability exists in the Linux kernel's driver for the ADV7842 video decoder, a component used to process video signals. Under certain error conditions, the system may attempt to access memory outside of intended boundaries when logging the device's status. This could allow a local user to crash the system or potentially access sensitive information from the kernel's memory.
Technical details
An out-of-bounds read vulnerability (CWE-125) exists in the Linux kernel media driver for the Analog Devices ADV7842 video decoder. The functions cp_read() and hdmi_read() can return a negative error code (-EIO) upon failure. In the adv7842_cp_log_status() function, these return values were used directly as indices for the csc_coeff_sel_rb and deep_color_mode_txt arrays without validation. A local attacker with sufficient privileges to trigger status logging could exploit this to cause a kernel oops (denial of service) or leak kernel memory contents. The issue has been resolved by adding checks to ensure return values are non-negative before array indexing.
Affected products
- Linux Linux Kernel 3.12 to 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.4
Timeline
- 2025-09-03: disclosed: Initial patch authored
- 2026-01-08: patched: Patched in stable branches
- 2026-01-14: advisory: CVE published
References
- https://git.kernel.org/stable/c/60dde0960e3ead8a9569f6c494d90d0232ac0983
- https://git.kernel.org/stable/c/8163419e3e05d71dcfa8fb49c8fdf8d76908fe51
- https://git.kernel.org/stable/c/a73881ae085db5702d8b13e2fc9f78d51c723d3f
- https://git.kernel.org/stable/c/b693d48a6ed0cd09171103ad418e4a693203d6e4
- https://git.kernel.org/stable/c/d6a22a4a96e4dfe6897cb3532d2b3016d87706f0
- https://git.kernel.org/stable/c/f81ee181cb036d046340c213091b69d9a8701a76
- https://git.kernel.org/stable/c/f913b9a2ccd6114b206b9e91dae5e3dc13a415a0