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] [day] [month] [year] [list]
Message-ID: <20260106103010.5577-1-lukas.gerlach@cispa.de>
Date: Tue, 6 Jan 2026 11:30:10 +0100
From: Lukas Gerlach <lukas.gerlach@...pa.de>
To: <pjw@...nel.org>
CC: <alex@...ti.fr>, <aou@...s.berkeley.edu>, <daniel.weber@...pa.de>,
	<jo.vanbulck@...euven.be>, <linux-kernel@...r.kernel.org>,
	<linux-riscv@...ts.infradead.org>, <lukas.gerlach@...pa.de>,
	<marton.bognar@...euven.be>, <michael.schwarz@...pa.de>,
	<palmer@...belt.com>, <patchwork-bot+linux-riscv@...nel.org>
Subject: Re: [PATCH 1/2] riscv: Use pointer masking to limit uaccess speculation

Thanks for the feedback.

> I would suggest to fix VA_BITS definition instead of defining a new macro here.

I can make VA_BITS branchfree at the cost of readability. Let me know
if that's preferred over a separate macro.

I agree that the guard page approach is more robust than clearing the sign
bit. Is Smnpm currently used or planned for the kernel? If not, clearing
the sign bit should be sufficient since it creates a non-canonical address
that always faults.

Thanks,
Lukas

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ