From nobody Mon Mar 21 19:38:55 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 90D901A28430 for ; Mon, 21 Mar 2022 19:38:55 +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 4KMlKq3nYRz4Tc2; Mon, 21 Mar 2022 19:38:55 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647891535; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=ZewUCruvMJCr0wDF171TpRM8sm/+6gLyxhDWx4ltwmw=; b=WXFys/eE0gc+CwH2svEVPIPEc2kiLSqX/TpnBD8lqLt+SsAfDrN19K6LjGbBSso2gK21SS V9uHXHhEyyLvBOrbiJY4Ye8kWYr97RkNtWitRy7r/ECm3hgF3IjClU/rtqeQRK1+hkTR1X dS+uNwzWhkUE4UacN94PC8ei4K8plDM+dlx7Y74MKKhPMNexMQnDhPslqNMAIil7C73IZe 2Ber6AP6moIrqpUS2JYh3c+9OOE8l4hh9CQcK3qXdrtOYLWXyP48iYmWLod2DmIuEUaWmt O8s+pCiGOrOKu5Pk23TjlrlcmwhY6oVrvNJxxQUYhB7whKvC9UkLJNNtaxrfZg== Received: by freefall.freebsd.org (Postfix, from userid 945) id 6AA231B19E; Mon, 21 Mar 2022 19:38:55 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Subject: FreeBSD Errata Notice FreeBSD-EN-22:13.zfs Reply-To: freebsd-stable@freebsd.org Precedence: bulk Message-Id: <20220321193855.6AA231B19E@freefall.freebsd.org> Date: Mon, 21 Mar 2022 19:38:55 +0000 (UTC) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647891535; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=ZewUCruvMJCr0wDF171TpRM8sm/+6gLyxhDWx4ltwmw=; b=bk09woh+o50nrhWu46X8eOdEfZdzmruop4q/bZVBm6TowFauHNMnOAR2FUmIeGCyfku+u/ yMD2VnDHrw+YuWbzeXh/JYO0yE4x2AXahRwYT6OOkisP95lcRxLfleJHesbyLrcAyjxlY4 JwUpuysVxS8skzXNQWADorEVBOhmd2oNwKSZbeEMV9YlHEGPh/fxgQcpyzHMpByTCGifMG 8TYPXkg+Z3hzMmlHHkyoG8y2EYfnTIsCM0BMt+NCTcQsopsSa0UJkbB95ha6/8hKsW8DEF yU3zc6oQUooX6+zzSbFwPpRFHW0tvTCP4jwFJ34jXfzAyWLBmFH5DHuhs8sdkQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647891535; a=rsa-sha256; cv=none; b=nk4tPdCqVWGBgXh+djE8k4oBV2iLbGRjJyuX/zoEazO9LxxivAg1Shgcv9xVG37K5V7AAI ZjtenwZMf1iUdcZGKbir/sSTtdzMsurIzzaEMPmCDry6iBvqsNpGLPZx2vcfWRrGxOt7Jp XuSIkVqMrWHb238o+/fe5tABm0htvjpndr5Fi4K1yXDfgFCHK4a65FZYl9mnO6G0Epfv5T pUP3TZJVaQ4tiXGJ8W1QWz09+t5lFUwrhsw7lGWONFIpKueK1a2JsY6yJbn3RfgoA9WaDx 4AXU4HLuDg1B9P+P+DRyg5noMGOhrkdeRlAS2isFwC7R3VUdkG2JVro0h3t6wg== 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:13.zfs Errata Notice The FreeBSD Project Topic: ZFS data loss Category: contrib Module: zfs Announced: 2022-03-21 Affects: FreeBSD 13.0-p8 Corrected: 2022-03-20 14:10:36 UTC (releng/13.0, 13.0-RELEASE-p9) 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 ZFS is one of several filesystems available on FreeBSD. ZFS supports many advanced features, including checksumming, transparent compression, and snapshots. II. Problem Description Erratum FreeBSD-EN-22:11.zfs was addressed by a patch which modified a ZFS kernel function that determines whether the in-memory copy of a filesystem object is dirty with respect to its representation on stable storage. The modification contained a bug which could cause the function to return false negatives. III. Impact Under heavy load, files written to a ZFS filesystem may not be correctly saved to disk. IV. Workaround No workaround is available, but systems not using ZFS are not affected. V. Solution Upgrade your 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 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 an errata update" 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:13/zfs.patch # fetch https://security.FreeBSD.org/patches/EN-22:13/zfs.patch.asc # gpg --verify zfs.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 - ------------------------------------------------------------------------- releng/13.0/ b8ae329db949 releng/13.0-n244788 - ------------------------------------------------------------------------- For FreeBSD 13 and later: Run the following command to see which files were modified by a particular commit: # git show --stat NNNNNNNNNNNN 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/A6HiuWv54gCjWNV05eS9J6n5cIFAmI4zUQACgkQ05eS9J6n 5cJN8w//cVuY7dgMFIFsxLdMUfWQevqhWKHgT3itBo+WCYgpDixBHGvXrduYbFGO gBB4Q9qlTKnNqVVR3AQvzmc7t2quJcjI+p6Sfq1UlmjyEEYmsSQndYOSUGeR0zli P8UgjMx9VDXyugZWy/jGDBIXr3tKYXdeTlfSwJ0Dxkf3k0NpOCPvvpZSCAQlrCXd dwI25I39fGOZKES8rW6TPcN8K2uSvlHu4i2v3MYfPHkRVOwdbMA33YaX/bCvTwHa h8hg2hnwLNGUWhQZ6cwW/kPBjp7yVuDc0VIqfCyA7DqgUbo6juYm7ZD+EHUaVfAV 32FFrMY/crH6UoZ1LXYK7I/xmyec5o66VewoGYsiY+5bFb0jNC8Pv/fmtzFPOFGW rHPxsLP/2rFpqwoNnhTX9wohqxHLOoN/DtjcTzznlL+VutOdQqNuU+U9o8wG5tea e+8tfNbvxSV2qvEZ/gqliSkpICe70jM04/ZkBw+eFdFqRZdV/tIIfEonzutqCi3x h/9r335b+6gJvpEkyq1VHesuydY5K21aPPnyETEOGKQAGfPMNyB67LNSd29gATHi CjJDkylMhMMf/qaTBxViMYSEZ3mzkbTkIQE9Oph2M2YMbZoh8VwNfu0mU6kxBBfT kSeGF1QZjnHeHWeRpd/lsKxFbNfElwVeoQc8e9evYHqNEdeyle8= =085i -----END PGP SIGNATURE-----