add fstest xfs/554 and patch v2

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

 



Hi Dave & Darrick:

To reproduce this problem add xfs/554 [1].
And, I resend a patch v2 [2], considering the situation mentioned by Darrick,
Meanwhile, check the i_disk_size or get dir blocks at xfs_dir3_leaf_check_int
looks a little strange. So in my opinion, we can just add judgment in that
situation, avoiding UAF and return EFSCORRUPTED, xfs_repair will help us fix it.

[1] https://lore.kernel.org/all/20220902094046.3891252-1-guoxuenan@xxxxxxxxxx/
[2] https://lore.kernel.org/all/20220831121639.3060527-1-guoxuenan@xxxxxxxxxx/



thanks
Xueanan



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux