Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2023 13:48:29 -0400
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        mike tancsa <mike@sentex.net>, 0x1eef <0x1eef@protonmail.com>, "freebsd-security@freebsd.org" <freebsd-security@freebsd.org>
Subject:   Re: Zenbleed
Message-ID:  <20230727174829.les2d7wvabekkiu7@mutt-hbsd>
In-Reply-To: <c7f4e796-01ce-b51e-e7ab-ba4d0884ce8a@FreeBSD.org>
References:  <G8KdlREJ53JvhucNV2MkjySsZ4qqs6ZdHFXJaFqDIvXj5usSBEr3pOe29JoQVHgjtctmrIOR7O1PHwchvf_cGLr53jbwNGPy_F7_9OstBCE=@protonmail.com> <20230726214636.yblem2s4sgapb6cw@mutt-hbsd> <b87b0b4e-617d-1c0c-10f5-d5b407d8b485@sentex.net> <ea4be08a-0b8f-e17c-9b71-e072f7e74447@FreeBSD.org> <c7f4e796-01ce-b51e-e7ab-ba4d0884ce8a@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <sys/sysinfo.h>
> > > =A0=A0=A0=A0=A0=A0=A0=A0=A0 ^~~~~~~~~~~~~~~
> > > 1 error generated.
> > > gmake: *** [<builtin>: 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230727174829.les2d7wvabekkiu7>