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 E355315573A for ; Wed, 26 Feb 2025 01:59:40 +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=1740535181; cv=none; b=TqyUejXfccvKmJluHWfftkGAsLluGwkZ/RJrmnsx6k7sR8nwlIx8HLfKSOT+tXZT/snKj7WtAvXm/fXKATJVNkPFVpN0ObrSkZJKyBQMPjNyK2wckHU87tAXL1gUZBfIgW1m8pd8Pxyzyc/gEmWCSK5hTQdJNKDErE7hTgbZL+I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535181; c=relaxed/simple; bh=WVhMRAFISOZQv/7QBLOU74t48wLZFhaeJq0kX7E2ZYA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Fpb1xUNg90jMJRwilhiZI1syioCpdGwx5noVZofqYoCuKyAM4gWrQtPQN3JjVb35/rdG7ZAeIrXXpvTv8SoNw0cDtQgyGfZ2cefqJEpanc6bj7x5f31vy+6Hn8UOO4V66f5UvXeNQWBXefa4qPIPkJNOAvHCyyJ6mimpAp5mLj4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=D4pNXyce; 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="D4pNXyce" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4AD5C4CEDD; Wed, 26 Feb 2025 01:59:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535180; bh=WVhMRAFISOZQv/7QBLOU74t48wLZFhaeJq0kX7E2ZYA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=D4pNXyce2OpglW6fxaqlhTQzOkD3d4itD0tUVyIlHJOU8HRTcSuf/TXDUQVRQn9Sk VJFd2wr/q0Zwo5279iRL1sqG7K2ypCKaVhnaw3mV7rzvnpJUq23XDDfgmQB2zsIA4x WrvknoRgwK1cydXY5BTP29AQp+zAnOIyal9aHJX0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49222: drm/bridge: anx7625: Fix overflow issue on reading EDID Date: Wed, 26 Feb 2025 02:57:07 +0100 Message-ID: <2025022621-CVE-2022-49222-ad42@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2361; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WVhMRAFISOZQv/7QBLOU74t48wLZFhaeJq0kX7E2ZYA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SnwD2xy//RJJLykI3RfD/lpsrvv1U5d93ycpF54/u 8708LUZHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRX10M8wMr9mTdqhblLA39 UCE49/ZUifNPrjIsmOAV+OR287d78nkPGlauzfkfJXC8DwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/bridge: anx7625: Fix overflow issue on reading EDID The length of EDID block can be longer than 256 bytes, so we should use `int` instead of `u8` for the `edid_pos` variable. The Linux kernel CVE team has assigned CVE-2022-49222 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 8bdfc5dae4e3ba4d99dfb430ef43249e5f1b7730 and fixed in 5.15.33 with commit 64c06df2428bb7bb3d8cf5691416001af42d94dd Issue introduced in 5.11 with commit 8bdfc5dae4e3ba4d99dfb430ef43249e5f1b7730 and fixed in 5.16.19 with commit f0d5d938d51af4eb08d9d8684fd9903425a0a87d Issue introduced in 5.11 with commit 8bdfc5dae4e3ba4d99dfb430ef43249e5f1b7730 and fixed in 5.17.2 with commit db1c47d299298a7c52ccb201905d6be979fd7507 Issue introduced in 5.11 with commit 8bdfc5dae4e3ba4d99dfb430ef43249e5f1b7730 and fixed in 5.18 with commit d5c6f647aec9ed524aedd04a3aec5ebc21d39007 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-2022-49222 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/gpu/drm/bridge/analogix/anx7625.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/64c06df2428bb7bb3d8cf5691416001af42d94dd https://git.kernel.org/stable/c/f0d5d938d51af4eb08d9d8684fd9903425a0a87d https://git.kernel.org/stable/c/db1c47d299298a7c52ccb201905d6be979fd7507 https://git.kernel.org/stable/c/d5c6f647aec9ed524aedd04a3aec5ebc21d39007