[uml-devel] [patch] uml: check length in exitcode_proc_write()

2013-10-29 Thread Dan Carpenter
We don't cap the size of buffer from the user so we could write past the end of the array here. Only root can write to this file. Reported-by: Nico Golde Reported-by: Fabian Yamaguchi Signed-off-by: Dan Carpenter diff --git a/arch/um/kernel/exitcode.c b/arch/um/kernel/exitcode.c index 829df49

Re: [uml-devel] fuzz tested 32 bit user mode linux image hangs at in hostfs

2013-10-29 Thread Toralf Förster
On 10/22/2013 07:29 PM, Richard Weinberger wrote: > Am 22.10.2013 18:23, schrieb Toralf Förster: >> On 10/22/2013 06:12 PM, Richard Weinberger wrote: >>> On Tue, Oct 22, 2013 at 5:16 PM, Toralf Förster >>> wrote: When I fuzz testing a 32 bit UML at a 32 bit host (guest 3.12.-rc6-x, host