From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
Subject: [Bug 87576] New: Null dereference in npramin_finit
Date: Mon, 22 Dec 2014 06:07:26 +0000
Message-ID:
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
nouveau@lists.freedesktop.org
Reporter
rjgleits@bellsouth.net
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