From nobody Wed Jan 12 16:50:14 2022 X-Original-To: freebsd-announce@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F21E319465F3 for ; Wed, 12 Jan 2022 16:50:14 +0000 (UTC) (envelope-from security-advisories@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYtpZ6QBsz4Z3q; Wed, 12 Jan 2022 16:50:14 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642006214; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=i2heb9FW7HS/vs9rz3y2QunA4kbolCGEO1wOJDkhE+M=; b=H0m89/exFt7bieR2Cwt59vzI1lQOgwm8YXoYmcK76XobjWsQ3NTL1zY+IoW8HtSYT8PJMP oDOdOF+YJopRpDa/nLwmJG5Pbvl2Tt0/J2kHty6TTzXICDPPRNZhE785Fcvqt0PwkGHi4m 08KoW4UQ2XhoLzvl3dfGfHpNzWKADT+a/8wxkoDbHznWHGH4MVLAApYUMy122ucJEfXxy4 ifgIAgYQ45vzuLbQ9ef/biJGcILpIFZJAK/ygCBqLv7ICnzeQl4Zxts0cSEkzUYwQdooNi hNx0p2oKhTSob6aWxSKilSxQoiCYA69MO2f5YQpdK/H7zOXWLGwiR30MTeVzdw== Received: by freefall.freebsd.org (Postfix, from userid 945) id BE32B1FDB; Wed, 12 Jan 2022 16:50:14 +0000 (UTC) From: FreeBSD Security Advisories To: FreeBSD Security Advisories Subject: [FreeBSD-Announce] FreeBSD Security Advisory FreeBSD-SA-22:01.vt Reply-To: freebsd-security@freebsd.org Precedence: bulk Approved: beauty-dew-stylish-enamour Message-Id: <20220112165014.BE32B1FDB@freefall.freebsd.org> Date: Wed, 12 Jan 2022 16:50:14 +0000 (UTC) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642006214; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=i2heb9FW7HS/vs9rz3y2QunA4kbolCGEO1wOJDkhE+M=; b=UI6z5MWpjOjFpV6v9byCChicBODeXn9rfWSquEcCKiH6dmEi6hQPhJqIeUgkbpwzajK9pn yUpYC+baCRbO6fJefWkqNtfcvv/24xLxoGVat8q3muv9s/NHndG1osXEuB/2wdlB4lXsXB SBy5gHRYs5rhu5a4Qc3TaoWwFMNjrSbhMQd9njdjs5Tk4usm4hAJnnNM3NLZACEm1WjKzd cxNa4DApjwzeV7poF83m7uf82du8NwfORC3lux8QQPs9p+jg+iNjkl03oYFvWgWm3KDaRd 4MYDq4NrkntECvO2bawHIBcqA6VN5sMISoSViP2fHuKCKKZYr0BgV1uK7mpYaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642006214; a=rsa-sha256; cv=none; b=O6AF8H/B71/CT3Sgd0rcJaKF/0nh4yN3hg3ThuPFU6kBEvfJCM50Y810yuNrdNsN6kwVDR OwnunxVogqo+46C30/+nJLc3NOlHqMCFkLh1ck9Ydulk7afUrTo6byAd8RiC6GBGenp+ji Ecg6Tn15/2UuWDTYeg5TGH+SkdxInFW8wVZqueSnXyzKIcQ4wM8NAa3Wwz+wNTmOJtGhFL a/bAd1DbdKIvwKyWjYJVdxnpzeUkS4xsgg4Sk6WhYdmDTp+GzLjfyBgWDIuplUpYTPm9C8 OTGg2mJqGRIQ/5q9+M0kIdMVHkhNI0rK+OYG69nI7zBEYbucdNVwI0V23UyBwA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N List-Id: Project Announcements [moderated] List-Archive: https://lists.freebsd.org/archives/freebsd-announce List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-announce@freebsd.org X-BeenThere: freebsd-announce@freebsd.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-22:01.vt Security Advisory The FreeBSD Project Topic: vt console buffer overflow Category: kernel Module: vt Announced: 2022-01-11 Credits: Oleg Bulyzhin Affects: FreeBSD 12.2 and FreeBSD 13.0 Corrected: 2021-09-22 18:41:00 UTC (stable/13, 13.0-STABLE) 2022-01-11 18:15:03 UTC (releng/13.0, 13.0-RELEASE-p6) 2021-09-25 18:15:49 UTC (stable/12, 12.2-STABLE) 2022-01-11 18:33:21 UTC (releng/12.2, 12.2-RELEASE-p12) CVE Name: CVE-2021-29632 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit . I. Background FreeBSD's system console is provided by the vt(4) virtual terminal console driver. II. Problem Description Under certain conditions involving use of the highlight buffer while text is scrolling on the console, console data may overwrite data structures associated with the system console or other kernel memory. III. Impact Users with access to the system console may be able to cause system misbehaviour. IV. Workaround No workaround is available. V. Solution Upgrade your vulnerable system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date, and reboot. Perform one of the following: 1) To update your vulnerable system via a binary patch: Systems running a RELEASE version of FreeBSD on the amd64, i386, or (on FreeBSD 13 and later) arm64 platforms can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install # shutdown -r +10min "Rebooting for a security update" 2) To update your vulnerable system via a source code patch: The following patches have been verified to apply to the applicable FreeBSD release branches. a) Download the relevant patch from the location below, and verify the detached PGP signature using your PGP utility. # fetch https://security.FreeBSD.org/patches/SA-22:01/vt.patch # fetch https://security.FreeBSD.org/patches/SA-22:01/vt.patch.asc # gpg --verify vt.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch c) Recompile your kernel as described in and reboot the system. VI. Correction details This issue is corrected by the corresponding Git commit hash or Subversion revision number in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/13/ 9352de39c3dc stable/13-n247428 releng/13.0/ 3e0a1e124169 releng/13.0-n244773 stable/12/ r370674 releng/12.2/ r371491 - ------------------------------------------------------------------------- For FreeBSD 13 and later: Run the following command to see which files were modified by a particular commit: # git show --stat Or visit the following URL, replacing NNNNNN with the hash: To determine the commit count in a working tree (for comparison against nNNNNNN in the table above), run: # git rev-list --count --first-parent HEAD For FreeBSD 12 and earlier: Run the following command to see which files were modified by a particular revision, replacing NNNNNN with the revision number: # svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base Or visit the following URL, replacing NNNNNN with the revision number: VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAmHd1f4ACgkQ05eS9J6n 5cIgEBAAkXpnKSElsT96dj4RYWJLkqB4+OBkGoOGrsZj8zd5Ei85oohhL38xiYAE jQpSwblgYCqmOxRL4hGgKN6fBPMnc/zXCdZhJzAfgkKXsn4eY5mObN1jus7owsmC RnFNOLSr1VVJZs8H1RAeAjJT2I6DF0oLb/f1u3ik+bPFJ8Y4hvPEliSH7rpzVBq7 hpmiH1HxAArVwtJ15N+7u6vNUce57dWSh4NzPHLduzMRpatPKVqtkC7UJIvqisxl bQTK46MYo454SgbZjRPistwnV9NFKjuKy5Rh38/FURbnBxg8w2HVkabidMy5lJyU geSOvV4wc2LraRdSvJHZlNXu1BJKnPpTpsl6XNr8ePzAl9rRPjZKo8cEBMmTlqK0 KdMeKsf1OfspA/8L6mCpg4NDeOoHktCrICWTi4/E6nGX/e1hZrCXKcxf0KYbhcfO xNvrYtKkCtCbEnbzZbW6rjY/RAmRwwMNngVw2FWRuSWU6BCmfKZndUXFO7aghj6Q JKISfctwtcHWn/QzI2BN9pNWZlzAJ8BfxR+/bV6VJNuRILOhrvgjnUzpies1xv7z GRN9JlpxzqihhlX8JED7jDOm99YflEG0Ep7Cr1OYXLDVx1xxh8dQLCOwl5qjnKgd ELae8IKnUn5pI1Og44AsjY9xWOvxxz28luwFxsbYf+3UMo6M4eE= =hcWy -----END PGP SIGNATURE-----