Linux kernel: iomap: guard io_size EOF trim against concurrent truncate underflow
Overview
In the Linux kernel, the following vulnerability has been resolved: iomap: guard io_size EOF trim against concurrent truncate underflow iomap: fix zero padding data issue in concurrent append writes changed ioend accounting so that io_size tracks only valid data within EOF. This trims io_size when a writeback range extends past end_pos: ioend->io_size += map_len; if (ioend->io_offset + ioend->io_size > end_pos) ioend->io_size = end_pos - ioend->io_offset; However, if end_pos ends up below ioend->io_offset, the subtraction becomes negative and is stored in size_t io_size, causing an unsigned wrap to a huge value. This can happen when writeback continues past byte-level EOF up to a block-aligned range, or when a concurrent truncate shrinks the file after end_pos was sampled in iomap_writeback_handle_eof(). A wrapped io_size can mislead append detection and corrupt completion-time size handling, since filesystem end_io paths consume io_size for decisions such as on-disk EOF updates and unwritten/COW completion ranges. Fix this by clamping io_size to zero when EOF has moved to or before the ioend start offset. This preserves the original intent of trimming io_size to valid in-EOF data while avoiding the underflow.
- Published
- 8/15/2026
- Last modified
- 10/21/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
Linux Linux | ≥ 82c59a86a247a8970d353d10f52a37e5564fb137, < cc1d6af0bee27d6595908b497424f338161299fc | Verify advisory | Source |
Linux Linux | ≥ 51d20d1dacbec589d459e11fc88fbca419f84a99, < 1f38f65bf965fce9aa159d45c5347538f56c5973 | Verify advisory | Source |
Linux Linux | ≥ 51d20d1dacbec589d459e11fc88fbca419f84a99, < 7f7780abb4c0fdc9a2603aea8e985ff14ee900e0 | Verify advisory | Source |
Linux Linux | ≥ 51d20d1dacbec589d459e11fc88fbca419f84a99, < 55ec50d046c03b3724741957f7b007856e36dbe7 | Verify advisory | Source |
Linux Linux | ≥ 6.12.10, < 6.12.114 | Verify advisory | Source |
Linux Linux | 6.13 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 8.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.