* Null pointer dereference in pti_exit()
@ 2012-03-26 14:31 Stanislaw Gruszka
2012-03-28 17:40 ` J Freyensee
0 siblings, 1 reply; 2+ messages in thread
From: Stanislaw Gruszka @ 2012-03-26 14:31 UTC (permalink / raw)
To: J Freyensee; +Cc: linux-kernel
Hi
We have this bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=783561
Crash when someone load module and do not have actual pti device.
Then misc_deregister(&pti_char_driver) called from pti_exit() will be
done without misc_register(&pti_char_driver), which is called from
pti_pci_probe().
It is not super critical issue since if somebody who do not have
pti device have no reason to load modules, but I guess would be
good to fix this.
Thanks
Stanislaw
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Null pointer dereference in pti_exit()
2012-03-26 14:31 Null pointer dereference in pti_exit() Stanislaw Gruszka
@ 2012-03-28 17:40 ` J Freyensee
0 siblings, 0 replies; 2+ messages in thread
From: J Freyensee @ 2012-03-28 17:40 UTC (permalink / raw)
To: Stanislaw Gruszka; +Cc: linux-kernel
On 03/26/2012 07:31 AM, Stanislaw Gruszka wrote:
> Hi
>
> We have this bug report:
> https://bugzilla.redhat.com/show_bug.cgi?id=783561
>
> Crash when someone load module and do not have actual pti device.
> Then misc_deregister(&pti_char_driver) called from pti_exit() will be
> done without misc_register(&pti_char_driver), which is called from
> pti_pci_probe().
>
> It is not super critical issue since if somebody who do not have
> pti device have no reason to load modules, but I guess would be
> good to fix this.
>
Thanks for the email. I just got back from a 3 month sabbatical so I am
slowly getting back into the real world and how to be a computer engineer.
Yes, I am not sure why someone would want to configure their kernel to
load a PTI module when there is not one on the platform to begin with.
So that is a configuration problem of a user. But I'll look at it and
see if I think of anything; be a good exercise to re-jog my memory.
Thanks,
Jay
> Thanks
> Stanislaw
--
J (James/Jay) Freyensee
Storage Technology Group
Intel Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-03-28 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-26 14:31 Null pointer dereference in pti_exit() Stanislaw Gruszka
2012-03-28 17:40 ` J Freyensee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox