Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 22 Oct 2010 10:33:39 -0400 (EDT)
From: Josh Bressers <>
Cc: "Steven M. Christey" <>
Subject: Re: CVE request: kernel: setup_arg_pages: diagnose
 excessive argument size

Please use CVE-2010-3858



----- "Eugene Teo" <> wrote:

> "The CONFIG_STACK_GROWSDOWN variant of setup_arg_pages() does not
> check 
> the size of the argument/environment area on the stack. When it is 
> unworkably large, shift_arg_pages() hits its BUG_ON. This is
> exploitable 
> with a very large RLIMIT_STACK limit, to create a crash pretty
> easily.
> Check that the initial stack is not too large to make it possible to
> map 
> in any executable.  We're not checking that the actual executable (or
> intepreter, for binfmt_elf) will fit.  So those mappings might clobber
> part of the initial stack mapping.  But that is just userland lossage
> that userland made happen, not a kernel problem."
> Upstream commit:
> References:
> Eugene
> -- 
> main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i);
> }

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.