Re: Reiserfs.c bug in 3.2-rc5

From: Jan Kara
Date: Mon Jan 02 2012 - 20:08:31 EST


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@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/