CVE-2026-72367iomap: guard io_size EOF trim against concurrent truncate underflow
Updated under an hour ago ()
Does this affect you?
It affects Linux. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 8.8 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Received
- Record last updated
- Aug 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | 51d20d1dacbec589d459e11fc88fbca419f84a99 builds before 1f38f65bf965fce9aa159d45c5347538f56c5973; 51d20d1dacbec589d459e11fc88fbca419f84a99 builds before 7f7780abb4c0fdc9a2603aea8e985ff14ee900e0; from 51d20d1dacbec589d459e11fc88fbca419f84a99 before 55ec50d046c03b3724741957f7b007856e36dbe7; 82c59a86a247a8970d353d10f52a37e5564fb137; from 6.12.10 before 6.13 | CNA record |
References
- https://git.kernel.org/stable/c/1f38f65bf965fce9aa159d45c5347538f56c5973
- https://git.kernel.org/stable/c/7f7780abb4c0fdc9a2603aea8e985ff14ee900e0
- https://git.kernel.org/stable/c/55ec50d046c03b3724741957f7b007856e36dbe7
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.