From: Dan Carpenter Date: Tue, 29 Oct 2013 19:06:04 +0000 (+0300) Subject: uml: check length in exitcode_proc_write() X-Git-Tag: v3.12~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=201f99f170df14ba52ea4c52847779042b7a623b;p=pandora-kernel.git uml: check length in exitcode_proc_write() 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 Cc: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed