From nobody Wed Feb 08 19:08:09 2023 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 4PBqJp3FVtz3nnyb for ; Wed, 8 Feb 2023 19:08:10 +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 4PBqJp1k2Fz4585; Wed, 8 Feb 2023 19:08:10 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675883290; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=enLrhIuuf5TyVyyvzSaWSSWPp4mrt0MCrWM9GwEeGIw=; b=T4C8CaEhNoz9No8GUGABlGWA1eQFTBxDZmMEPTl/TOtGcKVVWxLVVIO0nJHXP4JIriwHHj 3CkYlFdnvLVrlOZDevadm7bjTrWOaGjNNysFxK/UQ1JXNpRUH48Gdp5z+woJYRt+Sj43Gm QhxupwRAq/unel9ZgPevdqOMlWD30lcyXPJPr75HdQTdLnbPsPdiy1aH9S80hxn+i7etZS uw+xvW4w4kdDBQDTEMgt2jBHoxoYlTtb3wlrPMBRAw6kCvc5C6BXom3Df9hx/lToIsOqhC byYZk+eLbN2dqjkk01n8GXj6Aw6DSVmGB83J76QStJkfiL4XUJYfZJG1Qt3iaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675883290; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=enLrhIuuf5TyVyyvzSaWSSWPp4mrt0MCrWM9GwEeGIw=; b=qLz46M+5UaeAIXRG7pIz9jnnUujrhB7wdyH6SFXgAo5BDH8yH7HPYhCTLGYi4ZAgCKFbad c97Bg7s7G5rJMxSHdpRaNXf9dL8tYL9vytg41R+kIkYyNVpEWqCzkcWaxG4EdO4g81k/R3 OaFEbRLYEEzabO6JrM2MZ4dQel0b7fcjXo7IGYWPQOS72H3mWtW4rR2ZaMTu8VQYjY/9VK VNEhi+wdLcv9rL9UEHUw8JEtj/fxafZo6ECv/pJu0BY3ixavXDq4ihxrO3ZvQZdhrpCHMb wniWiDETWpxk7ks98bzv3Bc92piS7/Uh6ZKuTNP2vuaQ8DexbUTXWz0XAfMaCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675883290; a=rsa-sha256; cv=none; b=QQW0S9Ed/6DUqQQFRgyMiCsCWB5autTV/CtpieHsE2wLm3o639a2ARIgFrExpP4+ZPuViF 25mc9jqYmAFQBEmQxA054caM/YeKscAqH3ZJIhM/WUQJaC+A5YvxF1gqZYE7ra3JXyXEsH 56lJXAbvmkbsdF3E5G/AQDZlB/8EzhZs1Xft3QdWvcnEJuArHxp5exCtByQDRz885TiMMx 9I8TWuPdYO16v21lw0wUOtI2wLYSRIo98S/PauzVmcOpsXk/v0yeYu757vmAzYy8rnvOFr CtY0LSlP8RKuIXWVFRhwl2KQcqa9eAc2J6D/q/dIQKDHySnDMJqyVmimqpnfWw== Received: by freefall.freebsd.org (Postfix, from userid 945) id 00B0186D5; Wed, 8 Feb 2023 19:08:09 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Subject: FreeBSD Errata Notice FreeBSD-EN-23:02.sdhci Reply-To: freebsd-stable@freebsd.org Precedence: bulk Message-Id: <20230208190810.00B0186D5@freefall.freebsd.org> Date: Wed, 8 Feb 2023 19:08:09 +0000 (UTC) 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-23:02.sdhci Errata Notice The FreeBSD Project Topic: sdhci(4) broken write-protect settings Category: core Module: sdhci Announced: 2023-02-08 Affects: FreeBSD 13.1 Corrected: 2022-03-29 22:24:27 UTC (stable/13, 13.1-STABLE) 2023-02-08 16:16:32023-02-08 16:16:31.1-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 sdhci(4) driver supports PCI devices with class 8 and subclass 5 according to the SD Host Controller Specification. One of the devices supported is the Marvell Xenon SDHCI controller. II. Problem Description The write-protect flag on Marvell Xenon SDHCI controllers was incorrectly handled, resulting in devices being erroneously marked as read-only. III. Impact On affected systems, SD cards cannot be written to; where an SD card is used as the root device, this may result in the system failing to boot. IV. Workaround No workaround is available. 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 (on FreeBSD 13 and later) arm64 platforms can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install # shutdown -r +5min "Installing 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-23:02/sdhci.patch # fetch https://security.FreeBSD.org/patches/EN-23:02/sdhci.patch.asc # gpg --verify sdhci.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/ 693af80b7435 stable/13-n250156 releng/13.1/ 4b31a7861af0 releng/13.1-n250176 - ------------------------------------------------------------------------- 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----- iQIzBAEBCgAdFiEEthUnfoEIffdcgYM7bljekB8AGu8FAmPj8BMACgkQbljekB8A Gu9itxAAupVjrBaZYIMnSf9NWwMzG3fUStINrAO8ys8VHOsFxl72C0BcPBKffQw4 cKgvpcMSK/MO3i+a8Xk8gbGlUcdLdvcL3F+MZI4RM6V8lkp22iz558tzh3c3H7z3 /uJNC9r9PvUUi9jDgPYfhXKub72Gr0Uae8K27tNoSaeTvZelXNJYHGKs/aB/LVdE V6f+k7gyIdPjcScHVFG20+Wp5GrongMknZm26Mch+tGMtT2lqPT/5xj/KHHADj53 pFkxrDWTagpae2Ibr2nsBJUKQ5X6adPQdUEK7TLucQvqsDe/y+WQnzf0YJDUc0ZA VNg+FcIU1cEuAo4R5yLBrcan436cVGWE4VpjdruxnHOCvCyYaOARk9GK+ZyuIiWw KtN21MthBljIURJMjaMpKRmb7Dv0IqXHojVps6x6dELIAIo98IEMM14feDHzC1l0 E7gb2LYOOB+MV71GMWcC2URgcMXDhP3Ew46UGuYJT/G+K6Y/XpmproVR8Mw2SELB 0aTk5qmE+T3j05tThaOt4SkCs/cFkFKqbx8Ix9/ohOzA32293KsPfbKdOYcbOLE9 aC8/mMmRSF5SJ8spOFApd8PFaHlR6G+KDVuQ3NVfX6ezHzECYVnO2B/SWbVSWBll Bl0oGrbmhWhrTvBG5hsox/+0NzAqF1U8cSR+IYE33WygQ/o8E3s= =7hux -----END PGP SIGNATURE-----