Bug 61947 - nullpointer dereference causes xorg-server segfault when nouveau DRI driver is loaded
Summary: nullpointer dereference causes xorg-server segfault when nouveau DRI driver i...
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: 9.1
Hardware: All Linux (All)
: medium critical
Assignee: Nouveau Project
QA Contact:
Depends on:
Reported: 2013-03-07 08:51 UTC by Jan de Groot
Modified: 2013-03-07 19:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Patch that fixes the segfault (522 bytes, text/plain)
2013-03-07 08:51 UTC, Jan de Groot

Description Jan de Groot 2013-03-07 08:51:39 UTC
Created attachment 76086 [details]
Patch that fixes the segfault

Chromium can crash Xorg when the nouveau DRI driver is loaded. This is due to a nullpointer dereference.

Archlinux bug (Xorg crash): https://bugs.archlinux.org/task/33994
Fedora bug (Application crash, same cause): https://bugzilla.redhat.com/show_bug.cgi?id=862466

As suggested in the Fedora bug, comment 15, attached is a patch that fixes this issue (confirmed on Archlinux). This is the same check the Intel DRI driver does, so I think it's needed there.
Comment 1 Marcin Slusarz 2013-03-07 19:00:48 UTC
Thanks. I pushed it to master and marked as stable candidate.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.