[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20111115225408.GA31763@kroah.com>
Date: Tue, 15 Nov 2011 14:54:08 -0800
From: Greg KH <greg@...ah.com>
To: David Howells <dhowells@...hat.com>
Cc: torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
linux-security-module@...r.kernel.org, keyrings@...ux-nfs.org,
linux-kernel@...r.kernel.org, Jeff Layton <jlayton@...hat.com>,
Neil Horman <nhorman@...hat.com>,
Steve Dickson <steved@...hat.com>,
James Morris <jmorris@...ei.org>
Subject: Re: [PATCH] KEYS: Fix a NULL pointer deref in the user-defined key
type
On Tue, Nov 15, 2011 at 10:09:45PM +0000, David Howells wrote:
> Fix a NULL pointer deref in the user-defined key type whereby updating a
> negative key into a fully instantiated key will cause an oops to occur when the
> code attempts to free the non-existent old payload.
>
> This results in an oops that looks something like the following:
>
> BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
> IP: [<ffffffff81085fa1>] __call_rcu+0x11/0x13e
> PGD 3391d067 PUD 3894a067 PMD 0
> Oops: 0002 [#1] SMP
> CPU 1
> Modules linked in:
>
> Pid: 4354, comm: keyctl Not tainted 3.1.0-fsdevel+ #1140 /DG965RY
Ah, so this patch should also go into the 3.1-stable tree? Any older
ones as welL?
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists