Affected versions
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
In the Linux kernel, the following vulnerability has been resolved: ext2: Fix lost inode updates for IS_SYNC inodes ext2_setsize() and ext2_xattr_set2() had a construct like: if (IS_SYNC(inode)) { sync_inode_metadata(inode, 1); } else { mark_inode_dirty(inode); } which leads to lost inode updates for IS_SYNC inodes because sync_inode_metadata() does anything only if the inode is already dirty and hence inode updates may be simply lost. Fix the problem by unconditionally marking the inode dirty and then call sync_inode_metadata().
A flaw was found in the Linux kernel's ext2 filesystem. This vulnerability occurs in the ext2_setsize() and ext2_xattr_set2() functions, where inode updates for IS_SYNC inodes may be lost. This happens because the sync_inode_metadata() function only processes inodes that are already marked as dirty, leading to potential data corruption or loss of metadata if the inode is not unconditionally marked dirty beforehand. A local attacker could potentially exploit this to cause data integrity issues.

