[PATCH v2] drm: Protect drm_connector_register_all() under DRIVER_MODESET

2016-06-19 Thread Daniel Vetter
On Sat, Jun 18, 2016 at 04:41:26PM +0100, Chris Wilson wrote: > On Sat, Jun 18, 2016 at 04:25:46PM +0100, Emil Velikov wrote: > > On 18 June 2016 at 14:46, Chris Wilson wrote: > > > 0-day kbuilder found > > > > > > [1.360244] BUG: unable to handle kernel NULL pointer dereference at > > >

[PATCH v2] drm: Protect drm_connector_register_all() under DRIVER_MODESET

2016-06-18 Thread Chris Wilson
On Sat, Jun 18, 2016 at 04:25:46PM +0100, Emil Velikov wrote: > On 18 June 2016 at 14:46, Chris Wilson wrote: > > 0-day kbuilder found > > > > [1.360244] BUG: unable to handle kernel NULL pointer dereference at > > (null) > > [1.360972] IP: [] mutex_lock_nested+0x11f/0x2c3 > > [

[PATCH v2] drm: Protect drm_connector_register_all() under DRIVER_MODESET

2016-06-18 Thread Emil Velikov
On 18 June 2016 at 14:46, Chris Wilson wrote: > 0-day kbuilder found > > [1.360244] BUG: unable to handle kernel NULL pointer dereference at > (null) > [1.360972] IP: [] mutex_lock_nested+0x11f/0x2c3 > [1.361512] *pde = > [1.361827] Oops: 0002 [#1] > [1.362123]

[PATCH v2] drm: Protect drm_connector_register_all() under DRIVER_MODESET

2016-06-18 Thread Chris Wilson
0-day kbuilder found [1.360244] BUG: unable to handle kernel NULL pointer dereference at (null) [1.360972] IP: [] mutex_lock_nested+0x11f/0x2c3 [1.361512] *pde = [1.361827] Oops: 0002 [#1] [1.362123] Modules linked in: [1.362451] CPU: 0 PID: 1 Comm: swapper Not