Re: Reiserfs.c bug in 3.2-rc5

Jan Kara
2012-01-03T01:08:32Z

Hello,

On Mon 02-01-12 21:47:29, Jorge Bastos wrote:
> > > No SELinux, the only change is from 3.1.1 to 3.2-rc5.
> > > Tried the new 3.2-rc7 and the problem persists.
> > OK, so do I understand right that 3.1.1 is OK but 3.2-rc5/rc7 have
> > the problem?
> >
> > > Is there a way that the ReiserFS people can commit the fix?
> > Sure, we just have to find where the problem is. Can you please run
> > with the attached debugging patch applied and send me kernel output
> > when the system crashes? Thanks.
>
> Yes, till 3.1.6 everything works, with 3.2-rc7 (or rc5) it doesn't.
>
> Here are the images with the output, I can't copy the text since this is a
> VM.
>
> http://neotrix.decimal.pt/bugs/reiserfs_1.jpg
> http://neotrix.decimal.pt/bugs/reiserfs_2.jpg
> http://neotrix.decimal.pt/bugs/reiserfs_3.jpg
> http://neotrix.decimal.pt/bugs/reiserfs_4.jpg
>
> Does this help? If not let me know further instructions.
Yes, thanks! So we see that reiserfs_security_init() returned bogus
number 790797. This is caused by security_old_inode_init_security() either
returning some bogus number or setting sec->length to something bogus. In
any case it's some security module problem so I'm adding Mimi Zohar who did
the changes in this code recently to CC. I'm also adding Rafael since this
is a regression.

Also I think he might use your kernel config so can you please send it?
Thanks.

Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR