i_file_acl bug with 64-bit

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

 



I was just looking at a problem with s_mmp_block and its
incorrect check to be within the filesystem - it was checking
that the 64-bit MMP block was below s_blocks_count (i.e. the
low 32 bits) instead of using ext2fs_blocks_count() (a patch
for this will follow).

However, a much bigger problem is that it appears i_file_acl
is being used directly in many places without checking for
i_file_acl_high, so xattr blocks written beyond 2^32 may
incorrectly be considered corrupt by e2fsck, since it is
checking the 32-bit truncated block number.

Unfortunately, I'm on my way out of the house for vacation, but
I thought I'd at least send a note about this.

Cheers, Andreas





--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux