Subject: Re: port-mips/26410: fp.S not updated for siginfo
To: Matthew Orgass <darkstar@city-net.com>
From: Simon Burge <simonb@wasabisystems.com>
List: netbsd-bugs
Date: 07/23/2004 14:13:09
Hi Matthew,
Matthew Orgass wrote:
> >Number: 26410
> >Category: port-mips
> >Synopsis: fp.S not updated for siginfo
> >Confidential: no
> >Severity: critical
> >Priority: high
> The arch/mips/mips/fp.S file has not been updated for siginfo. I
> believe this means it is possible for an unpriviledged user to induce a
> kernel TLB miss on any MIPS CPU. Also, I think e_trapsignal should be
> called by this code, not trapsignal directly.
>
> >How-To-Repeat:
>
> I triggered this cancelling a ftp transfer on a softfloat machine,
> possibly assisted by a different problem I am investigating.
>
> >Fix:
>
> I think the right thing to do would be to pass the info to a C function
> in trap.c that sets up the ksi and calls e_trapsignal.
Is this easily reproducable? If so, can you see if the patches in
http://mail-index.netbsd.org/port-mips/2004/07/03/0002.html
from Matthias Drochner fixes your problem?
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/