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: Thu, 24 May 2018 11:42:35 +0200

 On Wed, May 23, 2018 at 09:00:01PM +0000, Robert Elz wrote:
 >  Regardless of what happens with syscall() that is necessary - user programs
 >  don't necessarily use nice C interfaces with prototypes, ...  they can do
 >  anything at all, including constructing completely bogus args on a hand 
 >  constructed stack frame.    The kernel must always validate all args.   Always.
 
 Yes, the real issue that caused the crash is usage of the generic
 syscall/__syscall implementation by ARMs syscall.c - which can not work.
 
 I'll fix that shortly.
 
 Martin
 


Home | Main Index | Thread Index | Old Index