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: <4f2872c0-01b4-416d-ba7c-63ff4b3b02ff@gmx.de>
Date: Thu, 16 Oct 2025 01:38:47 +0200
From: Helge Deller <deller@....de>
To: Sven Schnelle <svens@...ckframe.org>,
 John David Anglin <dave.anglin@...l.net>
Cc: linux-parisc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] parisc/entry: set W bit for !compat tasks in
 syscall_restore_rfi()

On 10/15/25 23:21, Sven Schnelle wrote:
> When the kernel leaves to userspace via syscall_restore_rfi(), the
> W bit is not set in the new PSW. This doesn't cause any problems
> because there's no 64 bit userspace for parisc. Simple static binaries
> are usually loaded at addresses way below the 32 bit limit so the W bit
> doesn't matter.
> 
> Fix this by setting the W bit when TIF_32BIT is not set.
> 
> Signed-off-by: Sven Schnelle <svens@...ckframe.org>
> ---
>   arch/parisc/kernel/asm-offsets.c | 2 ++
>   arch/parisc/kernel/entry.S       | 5 ++++-
>   2 files changed, 6 insertions(+), 1 deletion(-)

applied.

Thanks!
Helge

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ