From nobody Thu Jul 27 17:48:29 2023 X-Original-To: freebsd-security@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 4RBdXx6mfbz4pwq5 for ; Thu, 27 Jul 2023 17:48:33 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RBdXx4vWLz3qMc for ; Thu, 27 Jul 2023 17:48:33 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-3466725f0beso5201645ab.1 for ; Thu, 27 Jul 2023 10:48:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; t=1690480111; x=1691084911; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=WuVA+EEX/EDtIvgH2yNJYHle/UOzNmYEWfumucDCFgY=; b=K31kf1+LNFBX4COOkBbxsqHqKU/diW749EDDd8CNhEDFrmyRvFm/F9/WlILKtIPjN9 xSHzCO6i9CTJpMKFGEQz0N6Iu8ozZu+KJYFQZYuyffArr6NYOCVxAyYia44I9w4Kx1O9 BY8zCvRKhVKQVA+2FmsZ52kC7F+nI9JDMHQLOq81yMy2WS3zH6e3HO5aFY95m9nlt7d/ C1p+oNEso/e/vaswyxXGW4DMjzqKFhpdoyMDwGJ0OS1dBe4qBIm0lJFaReU1pJOrmk8B 6INLxjQbP14v5kBlcvmUHX30n2gpiy1zs5yeR6jc8vhJS5xwlqglFa9c738iw/O5RR3L bDRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690480111; x=1691084911; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WuVA+EEX/EDtIvgH2yNJYHle/UOzNmYEWfumucDCFgY=; b=F7aixaskPEBuP9UTAPi9y1CXQA/gqgvx62pVZLSX+3Ycugo3bZrNbyC9ycNz+v4MdL elxteF+Kfx9wpCcRxI2IpqfH6L3Dx+jgUqegUyXADSQ/8EYrc+iK+lczPwWc6PUG49yZ +/Xphn9bN5+ZZF6xZBzu08Z6mfaqrJ9eHfZ/jAZtwZ1hW+HKN9pFl+E2yhWIjgzFyVK2 oxEPm8p6vRbgLlGBsYo4Mq5e4Yyk8xKx3cTHCoIuEw1s7JCxj+Dq4ziNKZR+OUmzJmQF RfCbdS7vdVkTv/f/Rm8wsMxef6CqDKKQIw+csi44CiovZ8cVeCTEDdPPRz5Vkd4OoruO VQUg== X-Gm-Message-State: ABy/qLbFkTeTSkABiGJxd+JD9PTE0VercC7DV/AjqTWCayLgiGeEZ4jA PbJpj0JDC5ex5/KbvHjvp5+5tA== X-Google-Smtp-Source: APBJJlGkQ+2yrHpb7zfaxVWeXYf7d2c5ljLkqNBf1jVIZsKHZ0Ixs8Ktav13WNDLloC2pDXRKx7Cfw== X-Received: by 2002:a05:6e02:e14:b0:348:d654:7ff6 with SMTP id a20-20020a056e020e1400b00348d6547ff6mr145972ilk.4.1690480111063; Thu, 27 Jul 2023 10:48:31 -0700 (PDT) Received: from mutt-hbsd ([98.38.198.52]) by smtp.gmail.com with ESMTPSA id t10-20020a92c0ca000000b0033e23a5c730sm604893ilf.88.2023.07.27.10.48.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 10:48:30 -0700 (PDT) Date: Thu, 27 Jul 2023 13:48:29 -0400 From: Shawn Webb To: Jung-uk Kim Cc: mike tancsa , 0x1eef <0x1eef@protonmail.com>, "freebsd-security@freebsd.org" Subject: Re: Zenbleed Message-ID: <20230727174829.les2d7wvabekkiu7@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-CURRENT-HBSD FreeBSD 14.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <20230726214636.yblem2s4sgapb6cw@mutt-hbsd> List-Id: Security issues List-Archive: https://lists.freebsd.org/archives/freebsd-security List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-security@freebsd.org X-BeenThere: freebsd-security@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="y5m4gu5y7rxwb2ja" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4RBdXx4vWLz3qMc X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --y5m4gu5y7rxwb2ja Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 27, 2023 at 01:38:09PM -0400, Jung-uk Kim wrote: > On 23. 7. 27., Jung-uk Kim wrote: > > On 23. 7. 27., mike tancsa wrote: > > > On 7/26/2023 5:46 PM, Shawn Webb wrote: > > > > On Wed, Jul 26, 2023 at 08:34:56PM +0000, 0x1eef wrote: > > > > > Hello, > > > > >=20 > > > > > I was curious if there are plans to apply the "chicken bit" > > > > > workaround for the Ryzen line of processors. A firmware > > > > > update is not scheduled to be released until Nov or Dec > > > > > at the earliest. Thanks. > > > > For those that would like to test if their systems are affected, th= is > > > > proof-of-concept was reported to work on at least one system: > > > >=20 > > > > https://git.hardenedbsd.org/shawn.webb/zenbleed/-/tree/shawn.webb/b= sd/main > > > >=20 > > > > Building it depends on gmake and nasm. You'll want to be on the > > > > shawn.webb/bsd/main branch. > > >=20 > > > Thanks for that. Is there a way to compile on RELENG_12 or is it 13 > > > only ? > > >=20 > > > % gmake > > > cc -O0 -ggdb3 -march=3Dznver2=A0=A0 -c -o pattern.o pattern.c > > > pattern.c:15:10: fatal error: 'sys/sysinfo.h' file not found > > > #include > > > =A0=A0=A0=A0=A0=A0=A0=A0=A0 ^~~~~~~~~~~~~~~ > > > 1 error generated. > > > gmake: *** [: pattern.o] Error 1 > >=20 > > I guess you checked out a wrong branch.=A0 Please see the attached mini= mal > > patch I made for FreeBSD.=A0 I think it will work on any supported Free= BSD > > branches.=A0 Note the original exploit is available from here: > >=20 > > https://lock.cmpxchg8b.com/files/zenbleed-v5.tar.gz Awesome! Thanks! I'll incorporate that patch later today. Thanks again, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --y5m4gu5y7rxwb2ja Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmTCrecACgkQ/y5nonf4 4fo7xQ/+ISDEwYlLwCxxI2RHiu5zMomZf0s+KHe5gKEl93SRoWT6tiTTPt8baBfE 8tFnxbBZpUQBxQ7nbBz0gvd+k1PmypmAyCSES+eRtKocpn1GVxmE1aiPAUsz6DfN CN/ledV5vhm/Svca6plf2JRruAToXKLV77GmlRnWsmiqInOT4LgM0fP8XuaJHm4k QIBwHtXz1Ajp0J+iHqE2CtmGZZBDOeondpqt6xYxkNzuKbIH/U/JTN77SO1iXZ/1 kfsg+TkFKtK2DIT9ahgynygqdIsD7t1dGXnwOgb5LuTbEZ3XTVenw84EcOZNmx62 Rhwjym0Fb+i+jGIMl4r2/9m0Zb23jS8zZzfd1RKi+tdWz99FZPvpExVKw0am+1hV Sv4w9oUaP3nuoijTMBPirapR/SRWbpkTCyXCW0+hAwlkGHAdJNpXipamQhzxQnLf BYgXjdWKOxD/CwP/+UmRKTZ0RRqBBxVaHG3obmaSEmHG7/427qrNcS2S4+Me5QRy 1wv5cU2fuOMPkVy8ch+Vj3vKSKeHN07Xm2ecVOC2FEQct+ZAzuKEqaQTy9hEvtZa XMJRfJz0acpxVigRch3qA21/stUOrKFF+Fb/GvYkba59M5gKzurYmPEYHz9fyFZK rxyRPppulKzcAjlWdCaipuGXqawko45qi8cptWOqOJ/bwwwvC0A= =gmwQ -----END PGP SIGNATURE----- --y5m4gu5y7rxwb2ja--