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 987495 - nullpointer dereference causes xorg-server segfault when nouveau DRI driver is loaded
Summary: nullpointer dereference causes xorg-server segfault when nouveau DRI driver i...
Keywords:
Status: CLOSED DUPLICATE of bug 957790
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: mesa
Version: 6.4
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 6.5
Assignee: Dave Airlie
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-23 13:53 UTC by Martin Schuppert
Modified: 2018-12-03 19:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 862466
Environment:
Last Closed: 2013-11-25 15:25:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
upstream patch (522 bytes, patch)
2013-07-23 13:56 UTC, Martin Schuppert
no flags Details | Diff

Description Martin Schuppert 2013-07-23 13:53:41 UTC
Description of problem:
Application can crash Xorg when the nouveau DRI driver is loaded. This is due to a nullpointer dereference.

Upstream BUG:
https://bugs.freedesktop.org/show_bug.cgi?id=61947

Upstream bug 61947 is fixed in mesa 9.1.2. This bug causes a crash in LabVIEW when dealing with the 3D Math Plot controls. The fix does stop the crash from happening in LabVIEW and restarting X. Upstream bug mention same thing using Chromium.

Version-Release number of selected component (if applicable):
mesa-dri-drivers-9.0-0.8.el6_4.3.x86_64 

mesa-20120924/src/mesa/drivers/dri/nouveau/nouveau_driver.c:
     69                 __DRIdri2LoaderExtension *dri2 = screen->dri2.loader;
     70                 __DRIdrawable *drawable = nctx->dri_context->driDrawablePriv;
     71 
     72                 dri2->flushFrontBuffer(drawable, drawable->loaderPrivate);
     73         }
     74 }

How reproducible:
always

Steps to Reproduce:


Actual results:
crash

Expected results:
no crash

Additional info:
* Upstream patch:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=17f1cb1d99e66227d1e05925ef937643f5c1089a

--- Mesa-9.1/src/mesa/drivers/dri/nouveau/nouveau_driver.c.orig	2013-03-05 22:45:04.381790793 +0000
+++ Mesa-9.1/src/mesa/drivers/dri/nouveau/nouveau_driver.c	2013-03-05 22:47:45.307338871 +0000
@@ -69,7 +69,9 @@
 		__DRIdri2LoaderExtension *dri2 = screen->dri2.loader;
 		__DRIdrawable *drawable = nctx->dri_context->driDrawablePriv;
 
-		dri2->flushFrontBuffer(drawable, drawable->loaderPrivate);
+		if (drawable && drawable->loaderPrivate) {
+			dri2->flushFrontBuffer(drawable, drawable->loaderPrivate);
+		}
 	}
 }

* Bug 862466 - [abrt] firefox-15.0.1-1.fc17: nouveau_flush: Process /usr/lib/firefox/firefox was killed by signal 11 (SIGSEGV)

Comment 2 Martin Schuppert 2013-07-23 13:56:55 UTC
Created attachment 777332 [details]
upstream patch

Comment 4 RHEL Program Management 2013-10-14 03:03:29 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.


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