From owner-freebsd-announce@freebsd.org Wed Sep 2 17:45:25 2020 Return-Path: Delivered-To: freebsd-announce@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 327883DE7D8 for ; Wed, 2 Sep 2020 17:45:25 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BhWYd0Tvgz3b7m; Wed, 2 Sep 2020 17:45:25 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1599068725; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=qj4l4/PaJlfzmbYbkvEYkqbfaQqYHXp9PKCITPLMh3I=; b=Jyi9LdokfxPOdX3+PfC9EcUOUP01Lbgh/iF0TPTdnVKNhDfFaNdhEnaaosxvnMdFe7kecY uIvgQskxjgqjT+Mh2uroP8zG0nFlS+jjtqmRGAoTdPvxeCOj1C2DYOVnkM7jFsMO/SkoNy q1a0dTvdHwkEfcODiJrsBTs0DV/qL/e7IyjlVJJdOE0zMGFqvmjnPudlFAc0M1tVD2PVWK oRBKd9oJDNH4l/7I8ctvubcHpAY2Dik6+6Bzv4ftWsYLMNoLLk1Nx69wRD8tiHdhBaQ4dX j/zAOB+4M4pwUbPP2lka1JkBWfyJkRarlDeuxqZWBmDdxMn39kmW/lkjOtwIoA== Received: by freefall.freebsd.org (Postfix, from userid 945) id F3AEEC921; Wed, 2 Sep 2020 17:45:24 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Reply-To: freebsd-stable@freebsd.org Precedence: bulk Message-Id: <20200902174524.F3AEEC921@freefall.freebsd.org> Date: Wed, 2 Sep 2020 17:45:24 +0000 (UTC) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1599068725; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=qj4l4/PaJlfzmbYbkvEYkqbfaQqYHXp9PKCITPLMh3I=; b=QlQ2WWgeJcjg9JxbVA6WGEkrjv16XpgNeCA7lHTECUziqb9/Gbwx0yeObdQ7Pz2ill3Fv6 KQxeVPPFO05/k+L4bSNXXuVp52jMOVFDjd7djuMOMoQ+xoWF6tT5VGc8ePCR1MFElHLva+ iipVoL+VJbwDnGRwF8DN3q05b+d2wCm+DC2ZoLAA5IRWYtlos6Klllo+NwR3jnxHMlQyMa r6U51jhuoqNXpL/WQRVVUYa7ib2alhBlLV0Jll7f33oa5qhuljfgF/62IGi5hLlM/lzEYm pCP0ixBdq7RS5SDCrnn9Tnlrbod0iGMTONtaTU9LznademNdHd1Keu15IJq1kA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1599068725; a=rsa-sha256; cv=none; b=aF87K5VwQlsKJHF1W5Vm1SfeJ3P/nXc63K8+3Kd0XH4F6xes7f9LoIG0VyhJXuj+XkkiQW Y0/RpkXuGJ2u+V0p64VB/TWPq9Zfc3nrq7NOFZV2XVWi3mUK7h9ccnDLfdX3PjqqPT500u TWsTctaxoDKHioa8lQX5GLGj+Kl6M43RX45IP6RWRbWhZ+1YbxLZAWvsHF7NjxdUxNBDp4 60a+bQ7uoSc/Gp9C6KhPf4JLsx1IdwBdaq1RQ5TJRkBGRHe2+1P6kz8sGaxwi/Div7BJuV brn6T7xFEuXi5zb8f5DvlYnl6sriTxgw6pVRuYYqDZ3v1P8NWG12fuHf4KUb8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Subject: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-20:17.linuxthread X-BeenThere: freebsd-announce@freebsd.org X-Mailman-Version: 2.1.33 List-Id: "Project Announcements \[moderated\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2020 17:45:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-EN-20:17.linuxthread Errata Notice The FreeBSD Project Topic: FreeBSD Linux ABI kernel panic Category: core Module: kernel Announced: 2020-09-02 Credits: Martin Filla Henrique L. Amorim, Independent Security Researcher Rodrigo Rubira Branco (BSDaemon), Amazon Web Services Affects: All supported versions of FreeBSD. Corrected: 2020-06-25 05:24:35 UTC (stable/12, 12.1-STABLE) 2020-09-02 16:21:27 UTC (releng/12.1, 12.1-RELEASE-p9) 2020-06-25 05:35:46 UTC (stable/11, 11.4-STABLE) 2020-09-02 16:21:27 UTC (releng/11.4, 11.4-RELEASE-p3) 2020-09-02 16:21:27 UTC (releng/11.3, 11.3-RELEASE-p13) 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 Linux ABI layer (Linuxulator) allows Linux binaries to be executed on a FreeBSD kernel. II. Problem Description The kernel function handling exec(3) of a Linux binary did not correctly handle a calling process with multiple threads. III. Impact A multithread non-Linux process execing a Linux binary would fail a kernel assertion, resuting in a kernel panic "thread_detach: emuldata not found." IV. Workaround No workaround is available. Systems not using the Linux ABI layer 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 i386 or amd64 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-20:17/linuxthread.patch # fetch https://security.FreeBSD.org/patches/EN-20:17/linuxthread.patch.asc # gpg --verify linuxthread.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 The following list contains the correction revision numbers for each affected branch. Branch/path Revision - ------------------------------------------------------------------------- stable/12/ r362605 releng/12.1/ r365253 stable/11/ r362606 releng/11.4/ r365253 releng/11.3/ r365253 - ------------------------------------------------------------------------- To see which files were modified by a particular revision, run the following command, replacing NNNNNN with the revision number, on a machine with Subversion installed: # 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----- iQKTBAEBCgB9FiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAl9PzRZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZD MEU4NzhBRTVBRkU3ODgwMjhENjM1NUQzOTc5MkY0OUVBN0U1QzIACgkQ05eS9J6n 5cIZEw//QwJJ3DX0k1PnOwRDdl5KSORAZq1Qfa0Rdo4N3QK31Ap/GiAmW+6wZRr1 Cb3dAywlfjw8F+Hnxc6za1V0W7Ckr/tbJHGt1XXsq8Pjpc6+GdNGRZi7eiAQHvU7 I9xkL1jnerBY0l5hq8A6ti1vhraNEFvA0/0lluhqCpgFPEtc/vbvKemyC0RAKVzF wAz7P3/OyQqcd5qVHBIYfOziau/lfQ2/qD+6hLSZ5pgGX4e/tB1NrYVSd0vNevOl d3P9LDQYxSIzQ5jHbfLSFOPkT471ItJ6+QW+pAIZQ0Sv4hTQPBRHOL4ZfXG/IDgr +mVBa6L8lykeC+xh9Teih+dKqZRY5SzKuZVUqURCY2P6miq8C5A2eiTtGIIuwgFF okqTJx0a+ECAEc7dmaEAM8snqKiPYgu1cCOXKrvAPpkB/Ss1w0Zr/YxLW6v3lMmO nFOUGeXF9hLxDIINdKRNdaum8aqy1Vtg6xKNfP6z/H4V6saLSLrWk0M2HDKNOyts MHc/P7zg7hMw1ft/VhiOEWgCk7Se3Q1D2IY53BsUNgtbs5ti29mEeOkNO09FkPYL t9f3uIOZD9PLg1kDIDA97DulL95gXyX2K10wHciOnDgU+UitHCOqXAnkYGKbezfS ID1JRdq4uHHIjPOTOiUkTYJDnR/Lgz2572KkTjM5d7YOviS8nS0= =1pOR -----END PGP SIGNATURE-----