drm: NULL pointer dereference in drm_mode_object_find()

2016-09-21 Thread David Herrmann
Hi On Tue, Sep 20, 2016 at 11:25 AM, Alexander Potapenko wrote: > On Tue, Sep 20, 2016 at 11:21 AM, David Herrmann > wrote: >> Hi >> >> On Mon, Sep 5, 2016 at 10:30 AM, Dmitry Vyukov wrote: >>> On Fri, Aug 19, 2016 at 7:10 PM, Alexander Potapenko >>> wrote: Hello, the program

drm: NULL pointer dereference in drm_mode_object_find()

2016-09-20 Thread Alexander Potapenko
On Tue, Sep 20, 2016 at 11:21 AM, David Herrmann wrote: > Hi > > On Mon, Sep 5, 2016 at 10:30 AM, Dmitry Vyukov wrote: >> On Fri, Aug 19, 2016 at 7:10 PM, Alexander Potapenko >> wrote: >>> Hello, >>> >>> the program below triggers a NULL deref in DRM code when ran on QEMU: >>> >>>

drm: NULL pointer dereference in drm_mode_object_find()

2016-09-20 Thread David Herrmann
Hi On Mon, Sep 5, 2016 at 10:30 AM, Dmitry Vyukov wrote: > On Fri, Aug 19, 2016 at 7:10 PM, Alexander Potapenko > wrote: >> Hello, >> >> the program below triggers a NULL deref in DRM code when ran on QEMU: >> >> === >> BUG: unable to handle kerne

drm: NULL pointer dereference in drm_mode_object_find()

2016-09-20 Thread Guenter Roeck
AFAICS the only drm driver built with "make defconfig" is i915. CONFIG_DRM=y CONFIG_DRM_MIPI_DSI=y CONFIG_DRM_KMS_HELPER=y CONFIG_DRM_KMS_FB_HELPER=y CONFIG_DRM_FBDEV_EMULATION=y CONFIG_DRM_I915=y CONFIG_DRM_I915_USERPTR=y CONFIG_DRM_PANEL=y CONFIG_DRM_BRIDGE=y Guenter On Tue, Sep 20, 2016 at 2:

drm: NULL pointer dereference in drm_mode_object_find()

2016-09-05 Thread Dmitry Vyukov
On Fri, Aug 19, 2016 at 7:10 PM, Alexander Potapenko wrote: > Hello, > > the program below triggers a NULL deref in DRM code when ran on QEMU: > > === > BUG: unable to handle kernel NULL pointer dereference at (null) > IP: [< inline