From nobody Thu Mar 28 07:50:41 2024 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 4V4wh14W87z5GQRX for ; Thu, 28 Mar 2024 07:50:41 +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 4V4wh13h41z4lm7; Thu, 28 Mar 2024 07:50:41 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711612241; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=9F4RGQNdQ0VPVtc4rHI4uxvfqMsWV9Aceei5yy+dmxA=; b=ZxUN98v69R4h3bZIud8fLPpleCmRmQlKNDYxf71OZ/qB1qvHFePzS0HLc+BAEaHCC1LwSu E8qrbsIXHKJ/NrePM5cBwyic7CHezDBG5ShyMBeugnbG4Qu7dLY8164Ew8KF5c2liRqbJH YeJ2wf4qMP6U3pCcL6I/fPKuCLFyjb0LlZc0T8uFmvLcJSxhL8MnZ7lUdgVej6VMBzq+gz 7d9HXo7aDm+8eg2vdt/rFAWnKpH2az4cMPAsRg/aYxWsj/2J9CYtWrOYECEaTd4JTOO8iC 1JiifDNFpg7kD31s/OrGfXWpmp8CrLFg0iI9Jv4vpLDP7w5ono2ZStk8YpUIJQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711612241; a=rsa-sha256; cv=none; b=gvUW4Tt8Khwb0FGMzZtmO9e0cJfs0oA+Zxjdr5bThBBMK02c1GwEOEc0LNeUGC2243lLrT /1CtXYjjml4XqoCr5Ul5lC+kLoWbsrjErTmWvGlw98W/fPTXynmzfzF0QzZ3mvgDK0sgCe 7Tk5lBf1EGUb3jjgtTC4M5XiQWd2iyVtVEVCyPuooiziLRgzbtxXAAJcKOiFbHGO6c+Mqx gj+9oSicV8il2motJYBU4olqVciNss9lagKb0CGIkV74D0C33q3kSe93d1uZURNn14NPvC FNN/1OxskYetaWj6Zt3p4AImiN42oeOWHY/FrD0qmPGwoXrshBDUfvAxz0uaxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711612241; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=9F4RGQNdQ0VPVtc4rHI4uxvfqMsWV9Aceei5yy+dmxA=; b=ALHKDimLkcgOr8kkA+LOvisHiB2rUD4996YH7RpvOyY6fSdC1GTV6PgWN6ICS6FynIwDyB flS9InuU5rHmPHaq8kXc5hVIOKf+x1mW2yqT37xvWVk86lmAODDdBbRba08kzxe/T/2J3p w22SaZnD7qh+BQ4VMUR3M3aLBPwT+vPBKC8ndTR3zPqSnOu2OqN10GwjYHwRmhIcWgGUso fyjaA0D+xN9nXiGD7yA9xEhTSC1GPdVrOtRdy105E0a0iTItFU7RuTlEKRgVEbGZ/2tPKa IkpVznXZ04TTsE7tdN4/opMTl9K6WSx8jxnEoTM7frdvk0pAKpHqUmMAQNldyw== Received: by freefall.freebsd.org (Postfix, from userid 945) id 6C0DC316F; Thu, 28 Mar 2024 07:50:41 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Subject: FreeBSD Errata Notice FreeBSD-EN-24:07.clang Reply-To: freebsd-stable@freebsd.org Precedence: bulk Message-Id: <20240328075041.6C0DC316F@freefall.freebsd.org> Date: Thu, 28 Mar 2024 07:50:41 +0000 (UTC) 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-24:07.clang Errata Notice The FreeBSD Project Topic: Clang crash when certain optimization is enabled Category: contrib Module: clang Announced: 2024-03-28 Affects: FreeBSD 14.0 and FreeBSD 13.3 Corrected: 2024-03-08 08:19:28 UTC (stable/14, 14.0-STABLE) 2024-03-28 05:06:23 UTC (releng/14.0, 14.0-RELEASE-p6) 2024-03-08 08:19:49 UTC (stable/13, 13.3-STABLE) 2024-03-28 07:14:20 UTC (releng/13.3, 13.3-RELEASE-p1) 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 FreeBSD includes the Clang C/C++ compiler in the base system. FreeBSD 14.0 and FreeBSD 13.3 include Clang version 17. II. Problem Description Clang 17 has a bug that results in a crash under certain circumstances. III. Impact The compiler crashes instead of generating an object file. IV. Workaround Avoid use of -fzero-call-used-regs, or install a version of Clang other than 17 from ports or packages. 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 or arm64 platforms, or the i386 platform on FreeBSD 13, 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-24:07/clang.patch # fetch https://security.FreeBSD.org/patches/EN-24:07/clang.patch.asc # gpg --verify clang.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 as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/14/ fc31d474c40a stable/14-n266942 releng/14.0/ 711422d54795 releng/14.0-n265413 stable/13/ 961271f952fc stable/13-n257558 releng/13.3/ 26059a4f2c14 releng/13.3-n257430 - ------------------------------------------------------------------------- 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----- iQIzBAEBCgAdFiEEthUnfoEIffdcgYM7bljekB8AGu8FAmYFGaoACgkQbljekB8A Gu/y4RAAqXAE1WeZIk1tYMnlgqcw1SM5ojKvzK2iZegpPND0Yov7gzkwmNYNqCGY GLEKVJcVqS5hagCowAZkptq0dh8JtHusBVWq53IZdI5RB81xQOa2yYp+87GkVacn j8UnnbmAbb0rfMQyzVbMc5Kv3fkeAkZYZxiKmm+2iKt1cFHXv8yU4DIsTkxLAOUM AlextCl+SO6NLyZ6+64XkArc9ekcrrTs4QpKhZwHcBWNOogDzvFxCokObVGM98cb AN9pS09BTquuN5Yq5kXgFVzp8KLM0uruFKuEy+yNTCFJMMix1/9hj84yA2STm1iu AGd0lp8N7JXfnGKdktBZ4YeOL7GRTTgrInixJ3KbzjFbwmwrgQSzBC1neZqjPbAf iomKNIo23wsaMpjDh+RBBIOpDZnfPOO+imWh6A4ErdObMWyNw3+2MqUSHgMI9STO qqWIAHvQQwlB0lZAYvh6/iHntfLfIa3vdUH+g7kl8d5xzZlV18HkqsF6LtzbXbE5 tJ6QxtqlZjLa7eq/7qyg5bQFk7eJ0bhN7al+P5FOjezJo/tCFOIStWaFgTWntNep FkysAdgJUnkMreaccWT3YrIKKKyjBUVYvh1UWf6GudSdPs9ZPzsAR3X1RmixGO6H Y5EjL5hvuaNdqM3RiCF2/Vm/sVwF8KkEJs1rDbFFhM1HKCt9000= =lTOH -----END PGP SIGNATURE-----