tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Proposal: validate FFS root inode during the mount.

> During the fuzzing of FFS filesystem, we had a couple of issues
> caused by corrupted inode fields.  [...]

> To make sure that corrupted mount won't cause harm to the user, I
> want to add function to validate root inode on mount step (after
> superblock validation)

Don't you have more or less the same issue with every other non-free
inode in the filesystem?  The only thing I can see that's special about
the root inode in this regard is that it is the only inode that is used
immediately upon mount.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index