From nobody Tue Jan 11 19:38: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 53C811939545 for ; Tue, 11 Jan 2022 19:38:15 +0000 (UTC) (envelope-from security-advisories@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 4JYLZt6YlFz3HHh; Tue, 11 Jan 2022 19:38: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=1641929895; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=EfVrgY2i1qyfYQHm1BhhQ7WY0XA5BV3T+UVlPV7bXhQ=; b=mcE7B3BWb6bG23W1/CwzNSGZCXVRgl3xpL61hxnTX8zM5Z8swmX8suIqDGTGBJf2KLjHQn xP1wNw6oMG3KiaSWtQntqAL6i8nNXRsowj3JS//x6tVoV7KErnui608ZzPBbLlZbB3/kTo ODY0Boer/k3HvGecpzArI/bLy945MCPFmOdybLyoyNJlHaUOZhGWEVbbrG0w3eNm8H8bF3 hwVaLFUtcHY5UQuSjqOHiYjGVhyd/qku96ACNxeNSrGAjYsYmBkvIjhfNwRKa1w9X2j10s vP1nicpggTs2+FiJS+ROyA8Rw9t40OoOragADVC7NyhWQL63VwoGOMby4t7uKg== Received: by freefall.freebsd.org (Postfix, from userid 945) id BBD631DA09; Tue, 11 Jan 2022 19:38:14 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Subject: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-22:01.fsck_ffs Reply-To: freebsd-stable@freebsd.org Precedence: bulk Approved: BingGo! Message-Id: <20220111193814.BBD631DA09@freefall.freebsd.org> Date: Tue, 11 Jan 2022 19:38:14 +0000 (UTC) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641929894; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=EfVrgY2i1qyfYQHm1BhhQ7WY0XA5BV3T+UVlPV7bXhQ=; b=b8drEUp3C4rRK65711x0gH2lwHo9llAXvPkBoGP1F8zZE09tZ1gQNCNJriWj8PeKjhPi4A yrjz75ET5aOXGhh12fOFhxzIdyJmwZbAPE4d6OLmo7auZAD5nLWrp4KTV3xYrA8SBZ7DzL yVDUaOexdy5+QLcgT0n3kdyM5whq0k3D37s4JtBy7Ve3+qD5MoOLoh1WbRiR62h6Z/PsiF do9V9w6sZgOuvEi+28NHwfneAX0cP9VfqhJv6R1glLVErHwfDt8BC4Ub4iWSE6PlX/9gcF 6GmPKwRhaLLU1DWK2ubwEECHkm0iKF03YcVS1nvZCyH01vlChd0+z3WRL+2/9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641929894; a=rsa-sha256; cv=none; b=mBarZIt2oVe7IFP1RgC29fh7ZmOVAcHVOZVFbyUH1emySdPuPyJxWPGzxBmBgW0unm8b5X /pXTRbxA7HMOoKDIIObtkvrx38vgto+kZLyjXF3P/aE0tHWjD8UPyzq5Aa4sDNzF+IenmU pCcpmMb3bWcD4AxBLBlsuMTTCRqPfcM3r/Rzgf1HRoX+9xv+kB390xnLhxBU5fBGA4tZdt 2FmezpTo0Y16N+6PqHaXBq+DdcApKCITGQCguBBKtQs4sN3ow9Hsiv84PiDO4gB0QpdgQC iMU3ERmC87XwtpUj+gdFe2MCXLK2I6RRMuzNDLuLgp2o+2luhL2DosrftZs4gA== 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-EN-22:01.fsck_ffs Errata Notice The FreeBSD Project Topic: fsck_ffs fails to correct certain errors Category: base Module: fsck_ffs Announced: 2022-01-11 Affects: FreeBSD 13.0 Corrected: 2021-05-19 21:38:21 UTC (stable/13, 13.0-STABLE) 2022-01-11 18:14:57 UTC (releng/13.0, 13.0-RELEASE-p6) For general information regarding FreeBSD Errata Notices and Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit . I. Background The fsck_ffs(8) program checks and corrects errors in the UFS/FFS filesystem. One error that it detects and corrects is when two different files both claim the same block on the disk. This error occurs rarely and is usually caused by hardware failure. II. Problem Description fsck_ffs(8) was not able to correct blocks claimed by multiple files. III. Impact When duplicate block allocation has occurred, the filesystem is unusable until it is corrected. IV. Workaround No practical workaround is available. Duplicate blocks can be eliminated using the fsdb(8) program, but requires hours of work by a filesystem expert. V. Solution Upgrade your system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date. Perform one of the following: 1) To update your system via a binary patch: Systems running a RELEASE version of FreeBSD on the amd64, i386, or arm64 platforms can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install 2) To update your 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/EN-22:01/fsck_ffs.patch # fetch https://security.FreeBSD.org/patches/EN-22:01/fsck_ffs.patch.asc # gpg --verify fsck_ffs.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch c) Recompile the operating system using buildworld and installworld as described in . 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/ e198c1dc8f6f stable/13-n245745 releng/13.0/ 3286a8dc8382 releng/13.0-n244768 - ------------------------------------------------------------------------- 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 VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAmHd1fMACgkQ05eS9J6n 5cKY0hAAhYQC9fvksfYxoWdsDW8KQX2LdTRVPZ9zfZ/Y1AAPfDU46C41SI1sTIn9 0AunPHMVqnku5H8dh+TrL2o9PAW1CktxoTnHA+sFZX0/2hbox6UB/Spr/Iq/auzB iyAZ/9jskb4YQuh1HPHp7P4uCdAKfY5lHFE9bn4nLNpH+05AwIc6AFCQ8xilTaRK K6eu++DuxJ4p3WLJmRERjuBFK0HAIEnV72diPfZvJH6HOpgTqRTsvURai4GkAsH8 zyexLlHNUGWY+Kbl2t915i7Fu8ApIQV1HJ1sxi5NwyRwm4e/Azif5kjtAlgFOUws gwOfsbqEfGqmzopFSaCk1d7DcjhAnH0GkZ/SGO/WFCiQYV58rXoqs8q8GLpTBenF fwQ4IZakrjz/2qlUxNTMM2YbSyf35GpxuvV0jnigHlzXhN+I11yHS3r/GycTUJ1s z+Hk0JrV6f6fBxCDqC8hrthaxbf9jqcSsrYKRcaIUkcCB/gJ6wz3AApCkW9Z0ii+ 7sRpnNlvPQYJm2PhDTegCfASGRPd0GamXZNVwzohn+c8u+AVUQ5IiPabd7JNfbXD BhPnMj14/1uFuj1TtQ6c9/g+dtLvM7r0p9W/pbPFh1+PRkpyTGWyN5WWCjY3e7wa VOkMVapFXnfe0VLK5VFOCcb7lLbd2uDeaxkGRyP+4rBNqd4MC6s= =J7Og -----END PGP SIGNATURE-----