Summary: | Null dereference in npramin_finit | ||
---|---|---|---|
Product: | Mesa | Reporter: | Bob Gleitsmann <rjgleits> |
Component: | Drivers/DRI/nouveau | Assignee: | Nouveau Project <nouveau> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | blocker | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | fix null dereference oops in nouveau.ko |
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.
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