New: Null dereference in npramin_finit
https://bugs.freedesktop.org/show_bug.cgi?id=87576
Bug ID: 87576
Summary: Null dereference in npramin_finit
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: blocker
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: [email protected]
Reporter: [email protected]
Created attachment 111144
--> https://bugs.freedesktop.org/attachment.cgi?id=111144&action=edit
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
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
[Bug 87576] Null dereference in npramin_finit
In reply to a message not in the archivehttps://bugs.freedesktop.org/show_bug.cgi?id=87576
Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> ---
*** This bug has been marked as a duplicate of bug 87554 ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau