From nobody Tue Jan 11 19:39:02 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 24624193A296 for ; Tue, 11 Jan 2022 19:39:03 +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 4JYLbp6F4lz3Hct; Tue, 11 Jan 2022 19:39:02 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641929942; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=4Gm7Lf80VYmt5sZ+DpwOD9f2wgeGjG2Cgz5/t5ekiCM=; b=GBljTKpBM4Su7ggGrs1QKAr2syTsS+Ax6YMMYXV1TnX/KvTOFZ6GA091rUSDnx9wb3Wtwy 3a8TEvQooJ+ONhdC9D405IrcY0C8QDKC7zCywwFoJ7H0rjH9a3O46c88kBhSv+CeSgbIZi w2bvuiC7/uEcNOJe/K6HK0Xj2jCi5wr1DfgOp1GIvetj5ElNHiKu2gdGTNdxLyaNPImh10 PRDzv0vxKvkEajy9AR0yHgAUHlXaE52tSFZn9vkWcxxecCPTLVXdDcxArBQUzW6shR+Wkg SeueuMD4KndtS2aiibOqnCRR/DC9FL5k8xyzmYoqlZ3T802komLuFz7HYNIT8w== Received: by freefall.freebsd.org (Postfix, from userid 945) id B40921D6EE; Tue, 11 Jan 2022 19:39:02 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Subject: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-22:03.hyperv Reply-To: freebsd-stable@freebsd.org Precedence: bulk Approved: BingGo! Message-Id: <20220111193902.B40921D6EE@freefall.freebsd.org> Date: Tue, 11 Jan 2022 19:39:02 +0000 (UTC) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641929942; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=4Gm7Lf80VYmt5sZ+DpwOD9f2wgeGjG2Cgz5/t5ekiCM=; b=ABaVBWHXRLCegKSacdlQzZ+WnrX4lA6kV4tbX7XfGymLA4uOPi6iMdDLE7+T54CJewwIK0 Id8nTAiE7PF5V3BqBe546WdUv+s5cT/8tw6Wkjoi4vLpiz1RGOTSS2BK3NMhOLQfEgsZT0 myY8xa+RyDZqmWEpQR9YBukoJOPxUnpxtE+tUS2VzMTApRCn3uz5whOh/cvphbd+Z76QJ9 /R3jYwquJykRF5MsX3Cx9RkN7V0EK8Pd1RSbXYeiDMxqcJo0kjCwk8Ppnu7TLGdu4GxmKv wBRj5ZZD7IgtfIoJKtw1rB93z9XR6lI6SOK2t8/LeV8kwmMi1Zu1d6I3gtAaMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641929942; a=rsa-sha256; cv=none; b=M5kH8dpHk0A8ZHcvhZ3rrFecDsuNPYOycCWcEw3I8Rdlly4pl6iutt0ETUBq+dJ9oTRAPb zUbL4tZC89MoXVgkfFmDnXGTTU5s2isxJ6FNiRjbJNx4DtT90LRWzXdP7izN1dxnsCAr6g A6XDkBOLgLxDvEioicU4YGaVAOo2Uxm1OpIpFEG3jzAEfk8D3Ljtab0KCMILWpG+Eq7Y8M faLpfajAATaxgaGJMKgLvE5/+Hy2SanzwAHCHTzCe7hSzf/hpBdwWaLD6q/7BiqfH5i7so zVXmoCtkz4aMduAv2SRhzmAkwr6NWQ3B1EU9lbG7vXqTkJAuZ4iwWQaiPTlrYw== 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:03.hyperv Errata Notice The FreeBSD Project Topic: vPCI compatibility improvements with certain Hyper-V releases Category: core Module: hyperv Announced: 2022-01-11 Credits: Microsoft OSTC Affects: All supported versions of FreeBSD. Corrected: 2021-11-30 07:43:32 UTC (stable/13, 13.0-STABLE) 2022-01-11 18:14:59 UTC (releng/13.0, 13.0-RELEASE-p6) 2021-12-14 12:20:17 UTC (stable/12, 12.3-STABLE) 2022-01-11 18:19:26 UTC (releng/12.3, 12.3-RELEASE-p1) 2022-01-11 18:33:14 UTC (releng/12.2, 12.2-RELEASE-p12) 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 Hyper-V is a hypervisor provided on Windows server by Microsoft. It supports vPCI, which is a virtualized bus driver used to expose hardware devices to virtual machines. FreeBSD provides drivers II. Problem Description A Hyper-V vPCI emulation change can cause SR-IOV (Single-Root I/O Virtualization) and DDA (Discrete Device Assignment) devices to fail to operate correctly under Hyper-V. In recent Hyper-V releases on Windows Server 2022, the vPCI code does not initialize the last 4 bit of device registers. This behavior change could result in failure to initialize guest drivers for SR-IOV or DDA devices. III. Impact SR-IOV and DDA devices may not work in FreeBSD running under certain Hyper-V releases. IV. Workaround No workaround is available, however systems not running within Hyper-V or Azure are unaffected. V. Solution Upgrade your system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date. A reboot is required. 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 A reboot is required. 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:03/hyperv.patch # fetch https://security.FreeBSD.org/patches/EN-22:03/hyperv.patch.asc # gpg --verify hyperv.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/ d11e9de955ea stable/13-n248279 releng/13.0/ dfca965af4e1 releng/13.0-n244770 stable/12/ r371235 releng/12.3/ r371484 releng/12.2/ r371489 - ------------------------------------------------------------------------- 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/A6HiuWv54gCjWNV05eS9J6n5cIFAmHd1f0ACgkQ05eS9J6n 5cJOLw//UcDfEZpVJqRvHm3e5B5c/rXCFLUWSS8NOQ7c4ioAOFZdOIs2D4u17Mbf EJwiYLTdknv1mT2BkE8hr1fgPb/m1+FLyyEuhfaIRpJuqzn2l4YW4v9lwpBNl0I7 neuKqK4/j3SIjgdq7HZeiBEAyhIq5BGzzjnkPSbtW+RvGI8TCaAM7MgJYzCk1GKs kaIHyc0tyFIkoW0RDTjWt3g6UD+VVn7VU6/8xfiBBF9WUBKOay8MtgjAQMpNXcLK SZY2gLM9SMcdHZaKN0M5C0uly1bsXYn8eGOTy+dwGVOiJU2J0rFkcPdFjAIiWARb c9fotcunUzv53dy2ZiP0VWv4chdqv8Yel9wm6D0jkqZ1QKTq3jFnHzaPCmcWPII5 92+YyGF5Yg+pm/s42AqVaMblN0vH/y8GlwOsp9zQBn4jjIhgUENYRdJMfY0KBopH 7SqWtC9C9yUli0PQHN79z6/u7ZIzEPugsGk19WAZUktcWIj+kTkRq7PGBSm3CL/E tSpfRkhx1nMWa6c2ujZkFVCW7+HBaGtv9rlCb450g6Uzv6/7aYPGvxh7RCT8mQYK 9ao05vSkdCrbdGSTlCDG7iSjGTGPVLj7LH2eGp6mfXiZo9UmfItwu24J88QfRhmO nUW3NY9Ff5dYKRLUw7G1nNIynzWsEz8NKyV/HwY2bkd53090CrI= =wXdl -----END PGP SIGNATURE-----