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 1F147524A5 for ; Fri, 17 May 2024 13:24:53 +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=1715952293; cv=none; b=VEubAlBNkZty45gaMUC5HkfrKtXJXVgJxiDOxOzYZb2ZBUvgKTYrFf4wWk8j90kmY7a9nTSnAbJlfWyrR4ahEew6U41V0mmZTavw8Tp8y2TJ5s44fGXnoFHXV3mDQMIiztFDgkbIfZ6Rc4vXx5EJo7J4EKDsJz7WBkd42Mgt+Yo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715952293; c=relaxed/simple; bh=qJZurvBYclAsK3MBRHc3YYFJSDQEGQOaXDdsdztqHdk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LgN6WbTwOKdU4uSxRIPa+4rztom7gBoTQfHGEIjB7/EzDpIfeb3XDgEEui2VtlmSa0e+I6Um1RkaJbtd1jWSXbOyyrBd8oFPyDZ3ga/uALUTdGUNSX1aYEAp08cKjkC9GUgYhpShgUZpEiYaXTGbSEy3445Wulrs3fatIqdFCVQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=M5In2Omz; 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="M5In2Omz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 94652C32781; Fri, 17 May 2024 13:24:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715952293; bh=qJZurvBYclAsK3MBRHc3YYFJSDQEGQOaXDdsdztqHdk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=M5In2Omz0o5o+4UI2FMUngXMHw1HfruGFkfVRnsgZo+R1w5S/wP5JZrDrO5fjceMl Cgw8NvdFJIpkaEIaBlMqGHiklz6G6VKLkmfwh4Arull9gPQYAchsxRi05lPGhz6fXO dOZk3pMrEoe7qL2LnWOScKLPszY0eApYtQYxRfF4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35823: vt: fix unicode buffer corruption when deleting characters Date: Fri, 17 May 2024 15:24:03 +0200 Message-ID: <2024051745-CVE-2024-35823-1e69@gregkh> X-Mailer: git-send-email 2.45.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=2926; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qJZurvBYclAsK3MBRHc3YYFJSDQEGQOaXDdsdztqHdk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuUYl9zOt3600wfdy9avLmHilZ+0stH7qMj2qXP7xk8 OXwrvMfOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAitskMC45MbQo57719kXT4 Haacw+uLu05l3mKYX/VgebX1jYuGXqWM6f9WTn+hcu7GOgA= 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: vt: fix unicode buffer corruption when deleting characters This is the same issue that was fixed for the VGA text buffer in commit 39cdb68c64d8 ("vt: fix memory overlapping when deleting chars in the buffer"). The cure is also the same i.e. replace memcpy() with memmove() due to the overlaping buffers. The Linux kernel CVE team has assigned CVE-2024-35823 to this issue. Affected and fixed versions =========================== Issue introduced in 3.7 with commit 81732c3b2fed and fixed in 4.19.312 with commit fc7dfe3d123f Issue introduced in 3.7 with commit 81732c3b2fed and fixed in 5.4.274 with commit ff7342090c1e Issue introduced in 3.7 with commit 81732c3b2fed and fixed in 5.10.215 with commit 1ce408f75ccf Issue introduced in 3.7 with commit 81732c3b2fed and fixed in 5.15.154 with commit 0190d19d7651 Issue introduced in 3.7 with commit 81732c3b2fed and fixed in 6.1.84 with commit 994a1e583c0c Issue introduced in 3.7 with commit 81732c3b2fed and fixed in 6.6.24 with commit 7529cbd8b5f6 Issue introduced in 3.7 with commit 81732c3b2fed and fixed in 6.7.12 with commit 2933b1e4757a Issue introduced in 3.7 with commit 81732c3b2fed and fixed in 6.8 with commit 1581dafaf0d3 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-2024-35823 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/tty/vt/vt.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/fc7dfe3d123f00e720be80b920da287810a1f37d https://git.kernel.org/stable/c/ff7342090c1e8c5a37015c89822a68b275b46f8a https://git.kernel.org/stable/c/1ce408f75ccf1e25b3fddef75cca878b55f2ac90 https://git.kernel.org/stable/c/0190d19d7651c08abc187dac3819c61b726e7e3f https://git.kernel.org/stable/c/994a1e583c0c206c8ca7d03334a65b79f4d8bc51 https://git.kernel.org/stable/c/7529cbd8b5f6697b369803fe1533612c039cabda https://git.kernel.org/stable/c/2933b1e4757a0a5c689cf48d80b1a2a85f237ff1 https://git.kernel.org/stable/c/1581dafaf0d34bc9c428a794a22110d7046d186d