Re: [PATCH] ext4: use atomic64_t for the per-flexbg free_clusters count

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

 



On Mon, Mar 11, 2013 at 11:44:44PM -0400, Theodore Ts'o wrote:
> A user who was using a 8TB+ file system and with a very large flexbg
> size (> 65536) could cause the atomic_t used in the struct flex_groups
> to overflow.  This was detected by PaX security patchset:
> 
> http://forums.grsecurity.net/viewtopic.php?f=3&t=3289&p=12551#p12551
> 
> Fix this by using an atomic64_t for struct orlav_stats's
> free_clusters.
> 
> Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>

I should note that this bug was apparently introduced by commit
9f24e4208f7e, so it's been around for a while (since 2.6.30).
Fortunately it's a pretty rare corner case...

						- Ted
--
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