Bug 863913 - Grabbing a disabled device crashes the server
Summary: Grabbing a disabled device crashes the server
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-server
Version: 6.4
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Peter Hutterer
QA Contact: Desktop QE
Depends On:
TreeView+ depends on / blocked
Reported: 2012-10-08 03:35 UTC by Peter Hutterer
Modified: 2013-02-21 08:04 UTC (History)
1 user (show)

Fixed In Version: xorg-x11-server-1.13.0-5.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2013-02-21 08:04:05 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
FreeDesktop.org 54934 0 None None None 2012-10-08 03:35:20 UTC
Red Hat Product Errata RHBA-2013:0299 0 normal SHIPPED_LIVE xorg-x11-server bug fix and enhancement update 2013-02-20 20:35:47 UTC

Description Peter Hutterer 2012-10-08 03:35:20 UTC
Description of problem:
An XI 1.x grab on a disabled device leads to a NULL-pointer dereference crashing the server.

Version-Release number of selected component (if applicable):

How reproducible:
Can be reproduced on a virtual machine (see example below), but same will happen with other devices

Steps to Reproduce:
1. xinput set-prop "ImEXPS/2 Generic Explorer Mouse" "Device Enabled" 0
2. start gimp, Edit, Preferences, Input Devices, Configure Extended Input Devices
3. change the QEMU tablet and the ImEXPS/2 mouse to mode "screen"
4. Open a canvas, click on the canvas.
Actual results:
On receiving the button event, the GIMP will grab all input devices with XGrabDevice(), causing a crash.

Additional info:

Comment 1 RHEL Program Management 2012-10-08 03:38:58 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 3 Peter Hutterer 2012-10-10 05:10:09 UTC

xorg-x11-server-1.13.0-5.el6 is available in brew

Comment 7 errata-xmlrpc 2013-02-21 08:04:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


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