From: Andrew Morton <akpm@osdl.org>
To: Eric Dumazet <dada1@cosmosbay.com>
Cc: Jonathan Corbet <corbet@lwn.net>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Prevent an oops in vmalloc_user()
Date: Thu, 9 Nov 2006 14:41:43 -0800 [thread overview]
Message-ID: <20061109144143.11fbca6d.akpm@osdl.org> (raw)
In-Reply-To: <4553ABCE.2050006@cosmosbay.com>
On Thu, 09 Nov 2006 23:29:34 +0100
Eric Dumazet <dada1@cosmosbay.com> wrote:
> Jonathan Corbet a __crit :
> > Prevent an oops in vmalloc_user()
> >
> > If an attempt to allocate memory with vmalloc_user() fails, the result
> > will be an oops when it tries to tweak the flags in the (non-existent)
> > VMA. One could argue that __find_vm_area() should not return a random
> > pointer on failure, but vmalloc_user() requires a check regardless.
> >
>
> Yes, I already posted a patch for that, and other problem as well.
>
> http://lkml.org/lkml/2006/10/23/86
>
> Maybe it was lost...
>
It's in -mm but I'd queued it for 2.6.20 because you went and mixed a bunch
of things into the same patch.
Whatever - I'll push it for 2.6.19.
prev parent reply other threads:[~2006-11-09 22:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-09 22:00 Jonathan Corbet
2006-11-09 22:29 ` Eric Dumazet
2006-11-09 22:41 ` Andrew Morton [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061109144143.11fbca6d.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=corbet@lwn.net \
--cc=dada1@cosmosbay.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®