NetBSD-Bugs archive

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

Re: kern/53261: kernel crash during test run



The following reply was made to PR kern/53261; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/53261: kernel crash during test run
Date: Wed, 23 May 2018 14:10:23 +0200

 On Wed, May 23, 2018 at 12:05:00PM +0000, Kamil Rytarowski wrote:
 >  In the mmap() case we can get legal input and output arguments within
 >  the 32-bit range.
 
 No, we can't and the kernel will crash.
 
 A userland program *never* should be able to crash the kernel.
 
 An alternative is to make the syscall handling code in arm a lot more
 complex and check for specific misalignments, but then we would punish
 everyone for a stupid test interface that should just go away.
 
 Martin
 


Home | Main Index | Thread Index | Old Index