[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAA_GA1eYHi4zWZwKp5KGi4gP7V8bfnSF=aLKMiN-Wi5JyLaCdw@mail.gmail.com>
Date: Mon, 5 Nov 2012 12:14:50 +0800
From: Bob Liu <lliubbo@...il.com>
To: Michel Lespinasse <walken@...gle.com>,
Sasha Levin <levinsasha928@...il.com>
Cc: Sasha Levin <sasha.levin@...cle.com>, hughd@...gle.com,
Andrew Morton <akpm@...ux-foundation.org>,
linux-mm <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Dave Jones <davej@...hat.com>
Subject: Re: mm: NULL ptr deref in anon_vma_interval_tree_verify
On Mon, Nov 5, 2012 at 11:31 AM, Michel Lespinasse <walken@...gle.com> wrote:
> On Sun, Nov 4, 2012 at 6:20 PM, Bob Liu <lliubbo@...il.com> wrote:
>> The loop for each entry of vma->anon_vma_chain in validate_mm() is not
>> protected by anon_vma lock.
>> I think that may be the cause.
>>
>> Michel, What's your opinion?
>
> Good catch, I think that's it. Somehow it had not occured to me to
Hmm, I attached a simple fix patch.
Sasha,
Could you have a test to see whether it can fix your issue?
Thanks,
-Bob
Download attachment "0001-mm-add-anon_vma_lock-to-validate_mm.patch" of type "application/octet-stream" (3679 bytes)
Powered by blists - more mailing lists