Race Condition Vulnerability in Linux Kernel's ext4 Filesystem
CVE-2025-68261
What is CVE-2025-68261?
A vulnerability exists in the Linux kernel's ext4 filesystem related to the handling of inline data destruction. When the function ext4_destroy_inline_data_nolock() modifies the inode data layout by clearing the EXT4_INODE_INLINE_DATA and setting the EXT4_INODE_EXTENTS flag, there is a potential race condition. This occurs because another thread can simultaneously call ext4_map_blocks(), which checks for EXT4_INODE_EXTENTS to determine the correct mapping function (either ext4_ext_map_blocks() or ext4_ind_map_blocks()). In the absence of i_data_sem protection, this can lead to ext4_ind_map_blocks() receiving an inode flagged with EXT4_INODE_EXTENTS, resulting in assert failures, and consequently, causing kernel panics and unmounting of the filesystem.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
Linux c755e251357a0cee0679081f08c3f4ba797a8009
Linux c755e251357a0cee0679081f08c3f4ba797a8009 < 61e03dc3794ebf77a706b85e5a36c9c6d70be6de
Linux c755e251357a0cee0679081f08c3f4ba797a8009 < 5b266cf6851ce72b11b067fe02adf5a8687104ad