[Bug 100727] [skl] [drm] BUG: unable to handle kernel NULL pointer dereference at (null) [drm_kms_helper]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 1 10:53:23 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=100727

--- Comment #16 from Jiri Slaby <jirislaby at gmail.com> ---
I hit it with 4.15.14 right now. I don't know how to reproduce though. 

What about this (mgr->mst_primary seems to be NULL here)?
@@ -1288,7 +1288,10 @@ static struct drm_dp_mst_branch
*drm_dp_get_mst_branch_device(struct drm_dp_mst_
                        }
                }
        }
-       kref_get(&mstb->kref);
+       if (WARN_ON_ONCE(!mstb))
+               ;
+       else
+               kref_get(&mstb->kref);
 out:
        mutex_unlock(&mgr->lock);
        return mstb;

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180401/ab37ac66/attachment-0001.html>


More information about the intel-gfx-bugs mailing list