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 0A2D726ED5E for ; Wed, 22 Oct 2025 13:24: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=1761139481; cv=none; b=ioGygbQ6oOrmbnhtaHxcC5L3uyzGuBIBBoZEzVDE3uh/V+h5Pcbmtf8iKv/nWyYfGnsxfFWanY/xOvGKK60IvJQP+Ld+yNPrwMbdwFDnOwqq6+J+cP1bbZXnn7FyiEXOJ7vTHewgawYZoZnJqoBHlq9GJKKrZoATcqjH36zdqFI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761139481; c=relaxed/simple; bh=mNwKt1ITybGkbp+UMJfE9Hgs2S4yfMICdc65qUaEtSQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=R/A42JbZavWt61Y1yGTtnbCvmPYbbqfNQ9VNx+rm0TkEoghddJH7aC8f2kJMaXwBuZv/mFhgn7JKxz5ij50CaXlUSDOKb2DVNveMo6TWkMTFXmNNKYFzdIbCi5Or+ZynZ0R69CLW4GagnyWMR8FDSaMJmoJdDhnLLM6S4wquVcQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R0rqPDSD; 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="R0rqPDSD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15C7BC4CEE7; Wed, 22 Oct 2025 13:24:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761139480; bh=mNwKt1ITybGkbp+UMJfE9Hgs2S4yfMICdc65qUaEtSQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=R0rqPDSDacfuwjhuMQwRDBinl98359tdylpQjJwHwmfCgvAfwgziTERpwruallzRa I6FV/qB6Q6AMrRITeyOSWMwRgiZsyXNTkXhYKKrwjg+FNauJDe6Mo5SpZUjlcLL+ZD 9T1H4fOMavAEyra/M5132487lY5fMecPE9EdmlH0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50570: platform/chrome: fix memory corruption in ioctl Date: Wed, 22 Oct 2025 15:24:18 +0200 Message-ID: <2025102208-CVE-2022-50570-38e8@gregkh> X-Mailer: git-send-email 2.51.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=2760; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AM8nDSGQCMi9czcpJLCjxzqfhJWMCDJtUlU25QUtsjQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBk/bv2Y7fO9I+LCbUN75UlpyYWbFni3blmt6dTb/L81a uH77E6/jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI8CuGBVcWGqybulj2uanY no7Hqz4tYVtbc5lhQZfR9f+atxWti1wPyX+bW5NzWGrmcwA= 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: platform/chrome: fix memory corruption in ioctl If "s_mem.bytes" is larger than the buffer size it leads to memory corruption. The Linux kernel CVE team has assigned CVE-2022-50570 to this issue. Affected and fixed versions =========================== Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 5.4.220 with commit e548f9503c4b3292a60a63fe77dccea62999a35a Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 5.10.150 with commit 868fc93b615b9f6c2b0b1894536618fa6cd66acc Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 5.15.75 with commit fd1d3b265784a2243fcaef06aebfb2f8ee733cec Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 5.19.17 with commit f143f1d9a8e5c6c9db3de81ca270191226fcce36 Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 6.0.3 with commit 0c2e18924504208644d18415667895a4ac54cf2a Issue introduced in 5.4 with commit eda2e30c6684d67288edb841c6125d48c608a242 and fixed in 6.1 with commit 8a07b45fd3c2dda24fad43639be5335a4595196a 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-50570 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/platform/chrome/cros_ec_chardev.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/e548f9503c4b3292a60a63fe77dccea62999a35a https://git.kernel.org/stable/c/868fc93b615b9f6c2b0b1894536618fa6cd66acc https://git.kernel.org/stable/c/fd1d3b265784a2243fcaef06aebfb2f8ee733cec https://git.kernel.org/stable/c/f143f1d9a8e5c6c9db3de81ca270191226fcce36 https://git.kernel.org/stable/c/0c2e18924504208644d18415667895a4ac54cf2a https://git.kernel.org/stable/c/8a07b45fd3c2dda24fad43639be5335a4595196a