Linux
ext2: Fix lost inode updates for IS_SYNC inodes
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().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 55e66d84b5272c425b324a2b247cdacacf1e10b9
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b879565effd88fc119c2efea3f3868a9997ed9ba
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e54de654423bee98d1ba50379b09daf97c7854a6
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5481766125041e71662f2e32ee0e91ad5f4d07f4
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5efb3350230fef831167740e69e6db2861101186
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 356984d1a5c32e94810cbb6c8dc7d8ff2d4d919a
Fixed in 55e66d84b5272c425b324a2b247cdacacf1e10b9, b879565effd88fc119c2efea3f3868a9997ed9ba, e54de654423bee98d1ba50379b09daf97c7854a6, 5481766125041e71662f2e32ee0e91ad5f4d07f4, 5efb3350230fef831167740e69e6db2861101186, 356984d1a5c32e94810cbb6c8dc7d8ff2d4d919a
- 2.6.12
Fixed in 0, 6.1.191, 6.6.160, 6.12.114, 6.18.57, 7.2.4, 7.3
Mitigation
Upgrade Linux to 55e66d84b5272c425b324a2b247cdacacf1e10b9 or b879565effd88fc119c2efea3f3868a9997ed9ba or e54de654423bee98d1ba50379b09daf97c7854a6 or 5481766125041e71662f2e32ee0e91ad5f4d07f4 or 5efb3350230fef831167740e69e6db2861101186 or 356984d1a5c32e94810cbb6c8dc7d8ff2d4d919a or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.57 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.