media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status()
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.1epss 0.1%
exploitation probability
0.1%top 98% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/60dde0960e3ead8a9569f6c494d90d0232ac0983https://git.kernel.org/stable/c/8163419e3e05d71dcfa8fb49c8fdf8d76908fe51https://git.kernel.org/stable/c/a73881ae085db5702d8b13e2fc9f78d51c723d3fhttps://git.kernel.org/stable/c/b693d48a6ed0cd09171103ad418e4a693203d6e4https://git.kernel.org/stable/c/d6a22a4a96e4dfe6897cb3532d2b3016d87706f0https://git.kernel.org/stable/c/f81ee181cb036d046340c213091b69d9a8701a76https://git.kernel.org/stable/c/f913b9a2ccd6114b206b9e91dae5e3dc13a415a0