Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 13 Nov 2009 15:47:36 -0500 (EST)
From: Josh Bressers <>
Cc: "Steven M. Christey" <>
Subject: Re: CVE request - kernel: NOMMU: Dont pass NULL
 pointers to fput() in do_mmap_pgoff()

While this is a bit obscure, let's give it an ID anyway.




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

> From upstream patch:
> "Don't pass NULL pointers to fput() in the error handling paths of the
> NOMMU do_mmap_pgoff() as it can't handle it.
> The following can be used as a test program:
> int main() { static long long a[1024 * 1024 * 20] = { 0 }; return a;}
> Without the patch, the code oopses in atomic_long_dec_and_test() as 
> called by fput() after the kernel complains that it can't allocate
> that 
> big a chunk of memory.  With the patch, the kernel just complains
> about 
> the allocation size and then the program segfaults during execve() as
> execve() can't complete the allocation of all the new ELF program
> segments."
> Doesn't affect if CONFIG_MMU=y.
> Thanks, Eugene


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.