Re: Debugging General Protection Faultʼs

From: Jiri Kosina
Date: Thu Aug 20 2015 - 07:03:23 EST


On Tue, 18 Aug 2015, Muni Sekhar wrote:

> [ Please keep me in CC as I'm not subscribed to the list]
>
> Hello,
>
> I have a doubt regarding debugging general protection faultâs.
> I am running the driver tests on Intel(R) Core(TM)2 Duo CPU.
> During the tests I see system hangs after continuous occurrence of
> general protection faultâs.
>
> First fault occurred on CPU: 0 , but it is not related to our driver,

There is no evidence that this is not caused by your driver. It's #GP in
__kmalloc(), which might very well be caused by use after free in your
driver, corrupting slab metadata or so.

--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/