Skip to contentSkip to conversation

Security: List corruption occured during file system automation test

PATCH Shivnandan Kumar 1 participant 1 message Aug 21, 2014 SELinux security module

lore
Share & tools
lore
#0 lore raw


Dear Eric Paris,

Sorry for the late reply.
Yes I have back trace and I am attaching it.
First time the issue is reproduced then I have added some debug statement in the file kernel/security/selinux/hooks.c to narrow down the problem  and then we reproduce the issue again. I am attaching  complete back trace as well as my additional debug patch for your reference.

Thanks,
Shivnandan
------- Original Message -------
Sender: Eric Paris<[email protected]>
Date: Aug 14, 2014 05:27 (GMT+09:00)
Title: Re: [PATCH] Security: List corruption occured during file system automation test

Do you have a backtrace?

Quoted 8 lines · Al Viro
Quoted 5 lines · On Wed, Aug 13, 2014 at 05:04:13PM +0530, [email protected] wrote:

From: Shivnandan Kumar

List element was freed by  inode_free_security and then it uses rcu element to point inode_free_rcu, since it inside a union so it shares memory, sb_finish_set_opts now also try to free list element,

How in hell does it find that element?


Thanks and Regards,
Shivnandan Kumar