Please do not reply to this email: if you want to comment on the bug, go to     
     
the URL shown below and enter yourcomments there.   
 
https://bugs.freedesktop.org/show_bug.cgi?id=2119        
   
           Summary: via: insufficient security checks on DMA init IOCTL
           Product: DRI
           Version: DRI CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: DRM modules
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The DRM_IOCTL_VIA_DMA_INIT can be called as a normal user. 
This is of course easy to change, but Mesa 3D uses it to check whether AGP DMA
has been initialized and if  not, uses the PCI path. 

Either a separate user-callable IOCTL that checks wether AGP DMA has been
initialized is needed or a check for caller privileges is needed for
VIA_INIT_DMA and VIA_CLEANUP_DMA functions, whereas VIA_DMA_INITIALIZED should
be allowed as normal user.

Suggestions are appreciated.

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to