RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 863913 - Grabbing a disabled device crashes the server
Summary: Grabbing a disabled device crashes the server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-server
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Peter Hutterer
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2013-02-21 08:04:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
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):
xorg-x11-server-Xorg-1.13.0-4.el6.x86_64

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:
https://bugs.freedesktop.org/show_bug.cgi?id=54934

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
MODIFIED

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.

http://rhn.redhat.com/errata/RHBA-2013-0299.html


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