cveboard RSS feed

CVE-2026-45985

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

ext4: don't set EXT4_GET_BLOCKS_CONVERT when splitting before submitting I/O

In the Linux kernel, the following vulnerability has been resolved: ext4: don't set EXT4_GET_BLOCKS_CONVERT when splitting before submitting I/O When allocating blocks during within-EOF DIO and writeback with dioread_nolock enabled, EXT4_GET_BLOCKS_PRE_IO was set to split an existing large unwritten extent. However, EXT4_GET_BLOCKS_CONVERT was set when calling ext4_split_convert_extents(), which may potentially result in stale data issues. Assume we have an unwritten extent, and then DIO writes the second half. [UUUUUUUUUUUUUUUU] on-disk extent U: unwritten extent [UUUUUUUUUUUUUUUU] extent status tree |<- ->| ----> dio write this range First, ext4_iomap_alloc() call ext4_map_blocks() with EXT4_GET_BLOCKS_PRE_IO, EXT4_GET_BLOCKS_UNWRIT_EXT and EXT4_GET_BLOCKS_CREATE flags set. ext4_map_blocks() find this extent and call ext4_split_convert_extents() with EXT4_GET_BLOCKS_CONVERT and the above flags set. Then, ext4_split_convert_extents() calls ext4_split_extent() with EXT4_EXT_MAY_ZEROOUT, EXT4_EXT_MARK_UNWRIT2 and EXT4_EXT_DATA_VALID2 flags set, and it calls ext4_split_extent_at() to split the second half with EXT4_EXT_DATA_VALID2, EXT4_EXT_MARK_UNWRIT1, EXT4_EXT_MAY_ZEROOUT and EXT4_EXT_MARK_UNWRIT2 flags set. However, ext4_split_extent_at() failed to insert extent since a temporary lack -ENOSPC. It zeroes out the first half but convert the entire on-disk extent to written since the EXT4_EXT_DATA_VALID2 flag set, but left the second half as unwritten in the extent status tree. [0000000000SSSSSS] data S: stale data, 0: zeroed [WWWWWWWWWWWWWWWW] on-disk extent W: written extent [WWWWWWWWWWUUUUUU] extent status tree Finally, if the DIO failed to write data to the disk, the stale data in the second half will be exposed once the cached extent entry is gone. Fix this issue by not passing EXT4_GET_BLOCKS_CONVERT when splitting an unwritten extent before submitting I/O, and make ext4_split_convert_extents() to zero out the entire extent range to zero for this case, and also mark the extent in the extent status tree for consistency.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
b8a8684502a0fc852afa0056c6bb2a9273f6fcc0affectedgit77e407967cd872cd75d7e4a691908e49c8e6b4d4UnavailableNone listed
b8a8684502a0fc852afa0056c6bb2a9273f6fcc0affectedgit37555690f39f78ef69af347d9aff897e07445949UnavailableNone listed
b8a8684502a0fc852afa0056c6bb2a9273f6fcc0affectedgit67cdb7bd7442bd3cdc6d6088bbb2df9be2fe936cUnavailableNone listed
b8a8684502a0fc852afa0056c6bb2a9273f6fcc0affectedgit2920ec61c98b9476781359f05b94da84e80f54d4UnavailableNone listed
b8a8684502a0fc852afa0056c6bb2a9273f6fcc0affectedgit2698731d25823267c29190cb578da9296a0c0d7bUnavailableNone listed
b8a8684502a0fc852afa0056c6bb2a9273f6fcc0affectedgit716e7439a5a9b18c3ff882c2f8c834b9ced1aaecUnavailableNone listed
b8a8684502a0fc852afa0056c6bb2a9273f6fcc0affectedgitfeaf2a80e78f89ee8a3464126077ba8683b62791UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
3.15affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver3.15UnavailableNone listed
5.10.253unaffectedsemverUnavailable5.10.*None listed
5.15.203unaffectedsemverUnavailable5.15.*None listed
6.6.130unaffectedsemverUnavailable6.6.*None listed
6.12.77unaffectedsemverUnavailable6.12.*None listed
6.18.17unaffectedsemverUnavailable6.18.*None listed
6.19.4unaffectedsemverUnavailable6.19.*None listed
7.0unaffectedoriginal_commit_for_fixUnavailable*None listed