Re: Detect list corruption at early stage to avoid BUG hitting?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 4, 2013 at 5:49 AM, Ritesh Harjani <ritesh.harjani@xxxxxxxxx> wrote:
> Hi Everyone,
>
> Many times we see the following warning, which causes some kernel Bug to
> hit. I googled for any solution to detect list corruption so as to avoid the
> bug hit, but couldnt find any.
> Do you guys have any info ?? Does kernel provide any generic solution to do
> this?
>
> Warning: list_del corruption. next->prev should be xxxxxx, but was yyyyy.

Is your code dealing with lists?
If yes, looks like you are using the list API in a wrong manner.
E.g. double list_add().

Or your code corrupts memory...

-- 
Thanks,
//richard

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux