On 01/16/2015 09:07 AM, Stephen Smalley wrote:
> On 01/16/2015 04:24 AM, Avijit Das wrote:
>> Hi All,
>>
>>  
>>
>> I am seeing kernel panic in selinux code sometime during boot up and on
>> random scenarios. Has anyone encountered similar issue. Any help in this
>> is highly appreciated. 
>>
>>  
>>
>> *Case 1:*
>>
>> Device crashes during boot time. The crash happened at task_has_perm()
>> as the real_cred->security was 0x7(freed) . so I think this is a race
>> condition between calling task_has_perm and switching credential data of
>> the task.
>>
>>  
>>
>> *Case 2: *
>>
>> kernel panic at security_cred_free->kfree
> 
> Those would appear to be bugs in the kernel credential handling code
> rather than in SELinux; SELinux is just the messenger.  What kernel
> version are you using?

I do see some fixes in the mainline kernel for races in the
kernel/exit.c wait code, so perhaps this could be related?

_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to