[Nouveau] [Bug 38196] New: Null pointer dereference in nouveau_gpuobj_channel_takedown

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 11 18:11:41 PDT 2011


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

           Summary: Null pointer dereference in
                    nouveau_gpuobj_channel_takedown
           Product: Mesa
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Drivers/DRI/nouveau
        AssignedTo: nouveau at lists.freedesktop.org
        ReportedBy: rjgleits at bellsouth.net


The code for this procedure includes (line 878) assignment to a pointer of type
struct nv50_display_crtc. However nv50_display(dev) is null for earlier cards
(e.g., nv40). This causes a kernel oops if for example a program using mesa is
terminated.
I tried skipping the loop containing this line if nv50_display(dev) is null and
this worked on my 6800 Ultra. 

Best Wishes,

Bob Gleitsmann

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list