lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202406271113.1B28E51@keescook>
Date: Thu, 27 Jun 2024 11:24:56 -0700
From: Kees Cook <kees@...nel.org>
To: Mark Brown <broonie@...nel.org>
Cc: Jinjie Ruan <ruanjinjie@...wei.com>, catalin.marinas@....com,
	will@...nel.org, oleg@...hat.com, tglx@...utronix.de,
	peterz@...radead.org, luto@...nel.org, wad@...omium.org,
	rostedt@...dmis.org, arnd@...db.de, ardb@...nel.org,
	mark.rutland@....com, rick.p.edgecombe@...el.com,
	leobras@...hat.com, linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 3/3] arm64: entry: Convert to generic entry

On Thu, Jun 27, 2024 at 06:15:36PM +0100, Mark Brown wrote:
> On Thu, Jun 27, 2024 at 10:01:11AM -0700, Kees Cook wrote:
> 
> > I've really struggled to get MTE working with qemu, so likely real
> > hardware would be needed for that... I'm hoping the ARM folks have
> > access to something that would work well for this. :)
> 
> What issues have you been running into?

It was so slow to emulate that I couldn't finish booting.

However, looking at my qemu scripts, it seems I may have solved this at
some point. I remembered wrong! I can test MTE. :P

This is what I'm using currently:

        -cpu max,pauth-impdef=on \
        -machine virtualization=true \
        -machine virt,gic-version=max,mte=on \

It seems PAC was the issue. Using "pauth-impdef=on" solved it. "The
architected QARMA5 and QARMA3 algorithms have good cryptographic
properties, but can be quite slow to emulate."
https://qemu-project.gitlab.io/qemu/system/arm/cpu-features.html

I will go test MTE with this series...

-- 
Kees Cook

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ