Re: [BUG] ntfs3: IOMAP_INLINE mapping exceeds its page - BUG_ON in iomap

Mihai Brodschi <[email protected]> Thu, 6 Aug 2026 00:34:14 +0300
Newsgroups gmane.linux.file-systems
Message-ID <[email protected]>
> Hi,
>
> Up front, so nobody wastes time on a wrong assumption: the analysis and
> the wording of this report were produced by an AI assistant (Assisted-by
> tag at the end). I work in software but not on kernels; I read it through
> and it holds together as far as I can judge, but I cannot independently
> verify the reasoning or the source reading behind it.
>
> What is mine is the data. The machine, the seven crashes, the traces and
> the probe runs are real and reproducible here. Please treat the measured
> output as evidence and the analysis as a hypothesis to check.
>
> Buffered writes to small (resident) files on an ntfs3 volume reliably
> trigger a kernel BUG in the iomap layer: 7 times in 11 days of normal
> desktop use, on both 7.0.0-28 and 7.0.0-29. It points at
> ntfs_iomap_begin() in fs/ntfs3/inode.c building an IOMAP_INLINE mapping
> whose length is not bounded by the page holding iomap->inline_data.

Hi Lukas,

This bug has been reported multiple times.
It was fixed in v7.2-rc1 and recently in stable v7.1.5 as well.
However, there are still other issues which cause fs corruption
with Steam.

Regards,
Mihai Brodschi