Re: [PATCH] crypto: pcrypt - Fix use after free on padata_free

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 26, 2010 at 04:49:15PM +0800, Herbert Xu wrote:
> On Fri, Nov 26, 2010 at 08:49:17AM +0100, Steffen Klassert wrote:
> > kobject_put is called from padata_free for the padata kobject.
> > The kobject's release function frees the padata instance,
> > so don't call kobject_put for the padata kobject from pcrypt.
> > 
> > Reported-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> > Signed-off-by: Steffen Klassert <steffen.klassert@xxxxxxxxxxx>
> > Tested-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx>
> 
> Linus has already taken this patch.
> 

Ok, I applied it on top of crypto-2.6. So I did not notice that it
is already in Linus tree.

Steffen
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux