NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/55043: pkgsrc/security/sudo reliably crashes on mips



> On Mar 2, 2020, at 10:05 PM, Rin Okuyama <rokuyama.rk%gmail.com@localhost> wrote:
> 
> The following reply was made to PR toolchain/55043; it has been noted by GNATS.
> 
> From: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
> To: gnats-bugs%netbsd.org@localhost, Jason Thorpe <thorpej%me.com@localhost>
> Cc: 
> Subject: Re: toolchain/55043: pkgsrc/security/sudo reliably crashes on mips
> Date: Tue, 3 Mar 2020 15:00:10 +0900
> 
> Seems like GNU_RELRO v.s. 8KB-page problem observed on mips64:

Hm, more info:

[ 93016.520396] trap: pid 21349(visudo): sig 11: cause=0x80000004 epc=0x7dea4db0 va=0x7deb9421

That cause maps to T_TLB_MOD, and the VA of 0x7deb9421 would indicate that it is in fact the "sb" instruction that's faulting, so you may be right and that it's a RELRO botch (downgrading pages to RO that shouldn't be).

-- thorpej



Home | Main Index | Thread Index | Old Index