Re: 2.6.36-rc1 oopses at boot time in kobject allocation

From: Ming Lei
Date: Fri Aug 20 2010 - 09:53:39 EST


2010/8/20 Benjamin Gilbert <bgilbert@xxxxxxxxxx>:
> On 08/19/2010 04:34 PM, Greg KH wrote:
>> On Thu, Aug 19, 2010 at 04:22:33PM -0400, Benjamin Gilbert wrote:
>>> 2.6.36-rc1 and 2.6.36-rc1-127-g763008c fail to boot for me:
>>
>> Can you run 'git bisect' to try to track this down?
>
> commit f8a4bd3456b988fc73b2c291b9e01b434c8fa940
> Author: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> Date:   Fri Jun 4 00:54:43 2010 -0700
>
>    firmware loader: embed device into firmware_priv structure

This commit does introduce one possible double free, maybe is related with
the issue, please try the attachment patch to see if the oops can be fixed.


--
Lei Ming

Attachment: fix_possible_double_free.patch
Description: Binary data