Re: [syzbot] [hardening?] [mm?] BUG: bad usercopy in fpa_set

From: Russell King (Oracle)
Date: Mon Apr 15 2024 - 05:45:25 EST


On Mon, Apr 15, 2024 at 06:38:33PM +0900, Tetsuo Handa wrote:
> On 2024/04/15 18:02, Mark Rutland wrote:
> > 08626a6056aad824 ("arm: Implement thread_struct whitelist for hardened usercopy")
> >
> > That commit says that all accesses are bounce-buffered and bypass the check,
> > but AFAICT the fpa_set() code hasn't changed since then, so either that was
> > wrong or the user_regset_copyin() code has changed.
>
> Then, can we go with https://lkml.kernel.org/r/0b49d91b-511f-449e-b7c3-93b2ccce6c49@xxxxxxxxxxxxxxxxxxx ?

Have you visited that URL? It doesn't point to an email containing a
patch, so sorry, I don't know what patch you're referring to.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!