Re: CRED: Fix get_task_cred() and task_state() to not resurrect dead credentials

From: Lina Lu
Date: Wed May 18 2011 - 10:41:15 EST

Hi David,

I found your get_cred patch on the community website and put the patch in my linux
system to avoid cred problems. But the system got two abnormal situations.

One is that the kernel got a bug at line 168 in kernel/cred.c after running about seven

The other is kernel panic with the following backtrace.
CRED: put_cred_rcu() sees ffff88008626e800 with usage -3.
I got confused, how the usage -3 was generated.

The kernel trace information is as follows:


Task tree:
process:swapper (pid:0, tgid:0)

I am looking forward to your reply. Any reply is appreciated.

Thank you very much!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at