Bug 87576 - Null dereference in npramin_finit
Summary: Null dereference in npramin_finit
Status: RESOLVED DUPLICATE of bug 87554
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium blocker
Assignee: Nouveau Project
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-22 06:07 UTC by Bob Gleitsmann
Modified: 2014-12-22 06:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
fix null dereference oops in nouveau.ko (450 bytes, text/plain)
2014-12-22 06:07 UTC, Bob Gleitsmann
Details

Description Bob Gleitsmann 2014-12-22 06:07:26 UTC
Created attachment 111144 [details]
fix null dereference oops in nouveau.ko

This problem manifests when chipset is < nv50. In this case, pramin_init returns NULL. mthd->data is then set to this value in shadow_method. Later, mthd-> data is passed as a parameter to pramin_fini. The result is a kernel oops. The attached patch takes care of that.

Best Wishes,

Bob Gleitsmann
Comment 1 Ilia Mirkin 2014-12-22 06:15:59 UTC

*** This bug has been marked as a duplicate of bug 87554 ***


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.