[Intel-gfx] [PATCH 6/8] drm: Fix use-after-free in drm_gem_vm_close()

2011-03-18 Thread Chris Wilson
As we may release the last reference, we need to store the device in a local variable in order to unlock afterwards. [ 60.140768] BUG: unable to handle kernel paging request at 6b6b6b9f [ 60.140973] IP: [c1536d11] __mutex_unlock_slowpath+0x5a/0x111 [ 60.141014] *pdpt = 24a54001 *pde

Re: [Intel-gfx] [PATCH 6/8] drm: Fix use-after-free in drm_gem_vm_close()

2011-03-18 Thread Keith Packard
On Fri, 18 Mar 2011 08:02:08 +, Chris Wilson ch...@chris-wilson.co.uk wrote: As we may release the last reference, we need to store the device in a local variable in order to unlock afterwards. Reviewed-by: Keith Packard kei...@keithp.com -- keith.pack...@intel.com pgpHcqpgV3keH.pgp