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 3814D1AF0C9 for ; Thu, 2 Jan 2025 14:38:14 +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=1735828695; cv=none; b=n4bZG9nH/iGFYUrMdIDNcmpvos6cxS0TvwpxSOLNkhTUfh3k6Pzjnz0Orrjt6fhUr5qodVNE+5gG3C99ROS8qjeZ3tBEs1qg2vr4vTqxVhexVzNWnUF0O+cv78KoZtnk7PxUN3yjG26jZnpEdkwykipF/goqjelA3AUfK5sYZTM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735828695; c=relaxed/simple; bh=UcX1RFfn3glckS4t/WqLyZ439HYjbkGsfLF1VOt0OcM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=adMt1XD5NUbN9VDiuI7NhLkSQM99aXmS2aCJOLS4xYFmb5kM468ZKGbhTn3ZPv3TWXdljWLJsL+L9/XVxsqZ5VoMrVCoXx09SRrzrC8B5aFNQ4Sn2SpG/wMJErDulL8AK1sjYm416yapi2FoFX0iDtscGE8pJnBlrFyjSOVLu9Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=baF5DQcf; 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="baF5DQcf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59FA3C4CED0; Thu, 2 Jan 2025 14:38:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735828694; bh=UcX1RFfn3glckS4t/WqLyZ439HYjbkGsfLF1VOt0OcM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=baF5DQcf/j4A4alWxA3+lBGzhhsBEvNS9NpZKDqN+7J0y7k+xRFYc8OPBvNCaLd8A M3Sl/13EXVxa6oYYnP8Z/1J3oDNl7N55soJGOXYX3yoYjeylOF0BXebqcouYgyxOzB jZfOU2c7aAw+/dciPy8UYGHCpExwAAJtwswnPpqY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49035: media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE Date: Thu, 2 Jan 2025 15:38:09 +0100 Message-ID: <2025010208-CVE-2022-49035-5a59@gregkh> X-Mailer: git-send-email 2.47.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=2605; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UcX1RFfn3glckS4t/WqLyZ439HYjbkGsfLF1VOt0OcM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOllSy6wRa7XYzzL6vxNsjjdMKLrHtPM5Bsr/s8RueLwo kBuY/ikjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI0WaGeRZPt/o4a6gn7r2R 9Cn9/LfLSiceCTAsWDi5aFL+jEJWq3nH8veskNyUdp05HAA= 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: media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZE I expect that the hardware will have limited this to 16, but just in case it hasn't, check for this corner case. The Linux kernel CVE team has assigned CVE-2022-49035 to this issue. Affected and fixed versions =========================== Fixed in 4.9.333 with commit 7ccb40f26cbefa1c6dfd3418bea54c9518cdbd8a Fixed in 4.14.299 with commit fc0f76dd5f116fa9291327024dda392f8b4e849c Fixed in 4.19.265 with commit a2728bf9b6c65e46468c763e3dab7e04839d4e11 Fixed in 5.4.224 with commit 4a449430ecfb199b99ba58af63c467eb53500b39 Fixed in 5.10.154 with commit 1609231f86760c1f6a429de7913dd795b9faa08c Fixed in 5.15.78 with commit cbfa26936f318b16ccf9ca31b8e8b30c0dc087bd Fixed in 6.0.8 with commit 2654e785bd4aa2439cdffbe7dc1ea30a0eddbfe4 Fixed in 6.1 with commit 93f65ce036863893c164ca410938e0968964b26c 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-49035 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/cec/platform/s5p/s5p_cec.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/7ccb40f26cbefa1c6dfd3418bea54c9518cdbd8a https://git.kernel.org/stable/c/fc0f76dd5f116fa9291327024dda392f8b4e849c https://git.kernel.org/stable/c/a2728bf9b6c65e46468c763e3dab7e04839d4e11 https://git.kernel.org/stable/c/4a449430ecfb199b99ba58af63c467eb53500b39 https://git.kernel.org/stable/c/1609231f86760c1f6a429de7913dd795b9faa08c https://git.kernel.org/stable/c/cbfa26936f318b16ccf9ca31b8e8b30c0dc087bd https://git.kernel.org/stable/c/2654e785bd4aa2439cdffbe7dc1ea30a0eddbfe4 https://git.kernel.org/stable/c/93f65ce036863893c164ca410938e0968964b26c