GPU VulnDB

Database/Kernel, userspace & hypervisor

Linux kernel iomap: io_size underflows to a huge value when a concurrent truncate moves EOF below the ioend start

CVSS 8.8CVE-2026-72367Kernel, userspace & hypervisorcurated

Impact

The writeback path trims ioend->io_size to what lies inside EOF by subtracting io_offset from end_pos. If EOF has moved to or below io_offset - a concurrent truncate shrinking the file after end_pos was sampled, or writeback running past byte-level EOF to a block-aligned boundary - the subtraction goes negative and wraps in the size_t io_size to an enormous value. Filesystem end_io paths consume io_size to decide on-disk EOF updates and unwritten/COW completion ranges, so a wrapped value can mislead append detection and corrupt completion-time size handling. The practical exposure on a GPU node is a local workload writing and truncating the same file concurrently on an iomap-based filesystem (XFS, and others using iomap writeback) - checkpoint writers and dataset shards are plausible triggers. This is local and requires the right race, not something a remote peer reaches; the risk is data integrity on the node's filesystem rather than tenant escape. The fix clamps io_size to zero when EOF has moved to or before the ioend start.

Who can reach it

A local user or workload able to write to and truncate a file on an iomap-based filesystem, which on a shared node includes any tenant with a writable mount. No special privileges; needs a race with writeback.

What to do

Take the stable kernel that carries the iomap clamp fix and reboot each node to pick it up - there is no module reload or runtime mitigation for a writeback path change. Batch it with the next kernel maintenance window rather than scheduling an emergency drain, given the local-only, race-dependent exposure.

References

Related entries

All Kernel, userspace & hypervisor entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.