Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5386E31578E for ; Wed, 14 Jan 2026 15:08:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403305; cv=none; b=CjbdoduA7nOj4OY4VE0GVydhOaRb/gMRi4ui/OE1WT0Il7Nj3jr0e7yw5CMkU6+h+kXiFGNeRgXmTRyyU9DEj07V9yIBogMcEZ1r10v1kpxlpKUQW4Z1K2fMOCNDkvNf/pkA0sDndvY8m6a8Y9ipn9cuBG55mW3GfRKcTptVj0g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768403305; c=relaxed/simple; bh=BSlrRSYyNY6N3Pwg2yhuPtYdPgACeVVJKO8yXWYqbAw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZNcsD3Hvh4Je1mV69hAPMTUfRBXzmXoB0cDeM1YFodB0l0jRygzqbi6pvmXcfpfunaUKlRp+uEe9/y3OZAOmezZlL8+/gZzjX3GxZIRfJk+22nilSGpyjDDwytxQ6tRCBYEhcAVnddj1vl2n60yqJApjQLZ4DwBvbQpA/eoXo4Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w+J6mEvp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="w+J6mEvp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE006C4CEF7; Wed, 14 Jan 2026 15:08:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768403305; bh=BSlrRSYyNY6N3Pwg2yhuPtYdPgACeVVJKO8yXWYqbAw=; h=From:To:Cc:Subject:Date:Reply-To:From; b=w+J6mEvpfv8bX9rf0YleCP4xr9N9HXXEVHN0rvsvDo7Vm/KIl/OcgAJHN7RPRh8sM TtIbfrFiV2WUVYOr3QgUr2VZXNrbTBCWp3FS9ISRBhj6oja1BwlcEwx3eLE+RiAgUb 4XSG3LN60DJtsw5BnG4QKKk5F6dqxflUMMVT0XOM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71136: media: adv7842: Avoid possible out-of-bounds array accesses in adv7842_cp_log_status() Date: Wed, 14 Jan 2026 16:08:00 +0100 Message-ID: <2026011454-CVE-2025-71136-0f59@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2737; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=buIvKB1ciuBH0bSzZ5XL0qaAmNbJn7LkubXEL4y86lE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnpG72mVG7TretM8mJ33JW01P6OUUe0/Lrd6zaefb00T mCZdv6ujlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIkDDDXGEDZo6rXYK15wI6 HL6ba2+3aPt7hmEOz/synvkr1yee/K2UXHciT83lVPkZAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2025-71136 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit a89bcd4c6c2023615a89001b5a11b0bb77eb9491 and fixed in 6.1.160 with commit d6a22a4a96e4dfe6897cb3532d2b3016d87706f0 Issue introduced in 3.12 with commit a89bcd4c6c2023615a89001b5a11b0bb77eb9491 and fixed in 6.6.120 with commit a73881ae085db5702d8b13e2fc9f78d51c723d3f Issue introduced in 3.12 with commit a89bcd4c6c2023615a89001b5a11b0bb77eb9491 and fixed in 6.12.64 with commit 60dde0960e3ead8a9569f6c494d90d0232ac0983 Issue introduced in 3.12 with commit a89bcd4c6c2023615a89001b5a11b0bb77eb9491 and fixed in 6.18.4 with commit b693d48a6ed0cd09171103ad418e4a693203d6e4 Issue introduced in 3.12 with commit a89bcd4c6c2023615a89001b5a11b0bb77eb9491 and fixed in 6.19-rc1 with commit 8163419e3e05d71dcfa8fb49c8fdf8d76908fe51 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-71136 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/media/i2c/adv7842.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/d6a22a4a96e4dfe6897cb3532d2b3016d87706f0 https://git.kernel.org/stable/c/a73881ae085db5702d8b13e2fc9f78d51c723d3f https://git.kernel.org/stable/c/60dde0960e3ead8a9569f6c494d90d0232ac0983 https://git.kernel.org/stable/c/b693d48a6ed0cd09171103ad418e4a693203d6e4 https://git.kernel.org/stable/c/8163419e3e05d71dcfa8fb49c8fdf8d76908fe51