[patch] drm: use after free in drm_pci_exit()

Daniel Vetter daniel.vetter at ffwll.ch
Mon Mar 17 03:24:19 PDT 2014


On Fri, Mar 14, 2014 at 5:19 PM, Aaron Plattner <aplattner at nvidia.com> wrote:
> On 01/20/2014 02:31 AM, Dan Carpenter wrote:
>>
>> We can't use "dev" after we freed it on the line before.
>>
>> Fixes: b3f2333de8e8 ('drm: restrict the device list for shadow attached
>> drivers')
>> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
>
>
> I just ran into this same problem, and this change fixes it.
>
> Tested-by: Aaron Plattner <aplattner at nvidia.com>
> Reviewed-by: Aaron Plattner <aplattner at nvidia.com>
>
> and since he just sent me an independently-developed identical change,
>
> Reviewed-by: John Hubbard <jhubbard at nvidia.com>

Hey, I have such a patch too!

http://patchwork.freedesktop.org/patch/19163/

Dave? I think I'll just send a pull for my random pile of drm core
patches I've shepharded ...

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch


More information about the dri-devel mailing list