Bug 607045 - DGA client can crash the server
DGA client can crash the server
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-server (Show other bugs)
6.0
All Linux
low Severity medium
: rc
: ---
Assigned To: Peter Hutterer
desktop-bugs@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-22 23:02 EDT by Peter Hutterer
Modified: 2010-11-10 16:59 EST (History)
1 user (show)

See Also:
Fixed In Version: xorg-x11-server-1.7.7-16.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-10 16:59:04 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
dga crash test (783 bytes, text/plain)
2010-06-22 23:02 EDT, Peter Hutterer
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
FreeDesktop.org 27573 None None None Never

  None (edit)
Description Peter Hutterer 2010-06-22 23:02:16 EDT
Created attachment 426141 [details]
dga crash test

Description of problem:
A DGA client registering for pointer events can crash the server if the device moved is a floating slave device.

Version-Release number of selected component (if applicable):
xorg-x11-server-1.7.7-11.el6

How reproducible:
If a floating slave generates pointer events while a DGA client has selected for input, a null-pointer dereference causes a server crash.

Steps to Reproduce:
1. find the name of a pointer device on your machine (xinput --list)
2. float the device (xinput --float <device name>)
3. compile and run the attached dga.c test program.
4. Move the device, server crashes.
  
Additional info:
Some pointer devices have keys attached to them (evtest on the device file will show this). Good devices to test are standalone USB mice (not from mouse/keyboard combos) or the trackstick found on Lenovo laptops.
Comment 1 RHEL Product and Program Management 2010-06-22 23:02:51 EDT
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.
Comment 2 Peter Hutterer 2010-06-28 20:30:57 EDT
MODIFIED

xorg-x11-server-1.7.7-16.el6 is available in brew.
Comment 4 Vladimir Benes 2010-09-21 08:26:19 EDT
following comment 0 steps:
1. xinput --float "Dell Dell USB Optical Mouse"
2. compilation and executing of dga.c (have to use -lX11 -lXxf86dga)  
3. mouse movements done

results:
no crash 

-> VERIFIED
Comment 5 releng-rhel@redhat.com 2010-11-10 16:59:04 EST
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.

Note You need to log in before you can comment on or make changes to this bug.