Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jul 2023 18:00:41 -0400
From:      Shawn Webb <shawn.webb@hardenedbsd.org>
To:        mike tancsa <mike@sentex.net>
Cc:        Jung-uk Kim <jkim@FreeBSD.org>, 0x1eef <0x1eef@protonmail.com>, "freebsd-security@freebsd.org" <freebsd-security@freebsd.org>
Subject:   Re: Zenbleed
Message-ID:  <20230727220041.2cjcspcncsmjwqgl@mutt-hbsd>
In-Reply-To: <33df09fb-0631-3db6-694a-4d3cad754a10@sentex.net>
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> <5ca207d8-b947-12da-46b2-f83e55fcc98c@sentex.net> <c3d1ae18-207f-e6c3-456b-ef28b022608b@FreeBSD.org> <f7d60113-604c-a9e5-2f51-5cb7c79d7126@sentex.net> <ad229fc2-a024-6bef-5417-317d2c6a15ea@FreeBSD.org> <33df09fb-0631-3db6-694a-4d3cad754a10@sentex.net>

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

--ug6hkdjcv3gdi75p
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 27, 2023 at 04:46:22PM -0400, mike tancsa wrote:
> On 7/27/2023 4:42 PM, Jung-uk Kim wrote:
> > Can you please the attached patch?=A0 Sorry about the trouble.
> >=20
> thank you for all the help! Looks good on RELENG_12 now
>=20
> % gmake
> nasm=A0 -O0 -felf64 -o zenleak.o zenleak.asm
> cc -O0 -ggdb3 -march=3Dznver2=A0=A0 -c -o pattern.o pattern.c
> cc -O0 -ggdb3 -march=3Dznver2=A0=A0 -c -o workqueue.o workqueue.c
> cc -O0 -ggdb3 -march=3Dznver2=A0=A0 -c -o util.o util.c
> cc -O0 -ggdb3 -march=3Dznver2=A0 -pthread -Wl,-z,noexecstack zenbleed.c
> zenleak.o pattern.o workqueue.o util.o=A0=A0 -o zenbleed
>=20
> % ./zenbleed -v3
> *** EMBARGOED SECURITY ISSUE --=A0 DO NOT DISTRIBUTE! ***
> ZenBleed Testcase -- taviso@google.com
>=20
> NOTE: Try -h to see configuration options
>=20
> Spawning 32 Threads...
> Thread 0x800686500 running on CPU 0Thread 0x800687400 running on CPU 3
>=20
> Thread 0x800687900 running on CPU 4
> Thread 0x800687e00 running on CPU 5
> Thread 0x800688800 running on CPU 7
> Thread 0x800689200 running on CPU 9
> Thread 0x800688300 running on CPU 6
> Thread 0x800686a00 running on CPU 1
> Thread 0x800688d00 running on CPU 8
> Thread 0x800689700 running on CPU 10
> Thread 0x800689c00 running on CPU 11
> Thread 0x80068a100 running on CPU 12
> Thread 0x80068a600 running on CPU 13
> Thread 0x800774000 running on CPU 15
> Thread 0x800774500 running on CPU 16
> Thread 0x800774a00 running on CPU 17
> Thread 0x800774f00 running on CPU 18
> Thread 0x800775400 running on CPU 19
> Thread 0x800775900 running on CPU 20
> Thread 0x800775e00 running on CPU 21
> Thread 0x800776300 running on CPU 22
> Thread 0x800776800 running on CPU 23
> Thread 0x800776d00 running on CPU 24
> Thread 0x800777200 running on CPU 25
> Thread 0x800777700 running on CPU 26
> Thread 0x800777c00 running on CPU 27
> Thread 0x800778100 running on CPU 28
> Thread 0x800778600 running on CPU 29
> Thread 0x800778b00 running on CPU 30
> Thread 0x803253000 running on CPU 31
> Thread 0x80068ab00 running on CPU 14
> Thread 0x800686f00 running on CPU 2
>=20
>=20
> CPU: AMD EPYC 7302P 16-Core Processor=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0 (3000.06-MHz K8-class
> CPU)

I've reverted the old work in favor of Jung-uk Kim's patch in my
feature branch (shawn.webb/bsd/main).

My next commit will be to remove gmake as a dependency (in favor of
in-base BSD Make).

Perhaps I'll submit a ports entry when I feel the codebase is ready.

Thanks,

--=20
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A=
4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

--ug6hkdjcv3gdi75p
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmTC6QMACgkQ/y5nonf4
4foEYQ/8Dx2dgUI3uyE0pX4z/oGrR4iMqbgyKwejsvwsTV+3mR2w1RH0hcmYtVCO
8t2waliSy+j5e8L+/8htgfU2Q89VpmivzdpJch1LoRlJ9m3uEDGRBj09FGoVbV2h
8SZNkZGs4HYm83YhKftyu/hRAt846Lkz74feO/jIBq/TmW8DLaep23vftGmBl20U
ZheSpqJtix6MXOqL/Ei0V1eVCDjW+YcVauArfl5Q9OTJ5hOziK5j/vcd4FlGWFyo
b/uZSCXUK3aw3FGxIxukZy1Z+OWqgDdTEsZhjCAixzRiJ7PL/B0KyCDtOQ6zFVXZ
hzAG3l+1XCcQWoDrKE/AxOlGB2ujDanrSpjGXuTce0YrpUQbV1KOopalGbxK8T7E
JC2aYzWgCHw7zNZY6DqkhhYqjj5Es3DqZl3Grfig7ucfhKZ7O4JC5PT/GchUK7Cl
9g8lYydXO7hsYGcYo+VEPmy15abyA3R0/mKe8geFfIzaoYUXlmSxxBQMBhd0JB+3
P2mMKoM9b7iKSuOPX9NWJox48kkbzFRKwbxTE7zRCAZoHNfi50vQI1sEjnQdZFqu
ug03WYPWIamXUKCWT+HAzo8ulIxWj0ZvQ/pseAsSwgOQLEm8qEidNq45TzLbBBBl
F8x/DUq3kQZthJyxrLyDUTtWfHYHeLHS8mcXlyuLj9fv5x/4Qgs=
=EP61
-----END PGP SIGNATURE-----

--ug6hkdjcv3gdi75p--



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