[Nouveau] [Bug 87576] New: Null dereference in npramin_finit

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 21 22:07:26 PST 2014


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

            Bug ID: 87576
           Summary: Null dereference in npramin_finit
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: Drivers/DRI/nouveau
          Assignee: nouveau at lists.freedesktop.org
          Reporter: rjgleits at bellsouth.net

Created attachment 111144
  --> https://bugs.freedesktop.org/attachment.cgi?id=111144&action=edit
fix null dereference oops in nouveau.ko

This problem manifests when chipset is < nv50. In this case, pramin_init
returns NULL. mthd->data is then set to this value in shadow_method. Later,
mthd-> data is passed as a parameter to pramin_fini. The result is a kernel
oops. The attached patch takes care of that.

Best Wishes,

Bob Gleitsmann

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20141222/83bac410/attachment.html>


More information about the Nouveau mailing list