[syzbot ci] Re: ntfs: trim the sizes after a short write
From: syzbot ci
Date: Thu Dec 03 2026 - 08:40:03 EST
syzbot ci has tested the following series
[v12] ntfs: trim the sizes after a short write
https://lore.kernel.org/all/20261127031053.3695758-1-zhanxusheng1024@xxxxxxxxx
* [PATCH v12] ntfs: trim the sizes after a short write
and found the following issue:
WARNING in iomap_iter
Full report is available here:
https://ci.syzbot.org/series/e9a896ef-5d0c-4800-ab40-719f4503c10a
***
WARNING in iomap_iter
tree: torvalds
URL: https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux
base: 0810bd27d7bbccb4f579f1fbb1afc98687c4c7c3
arch: amd64
compiler: Debian clang version 22.1.8 (1~deb13u5), Debian LLD 22.1.8
config: https://ci.syzbot.org/builds/a1ab6509-642b-4ccb-aaa7-76aab177bec7/config
syz repro: https://ci.syzbot.org/findings/87f90618-fd87-4cea-9211-3e100f96a1bd/syz_repro
------------[ cut here ]------------
iter->iomap.offset + iter->iomap.length <= iter->pos
WARNING: fs/iomap/iter.c:39 at iomap_iter_done fs/iomap/iter.c:39 [inline], CPU#1: syz.0.20/6344
WARNING: fs/iomap/iter.c:39 at iomap_iter+0x541/0xa80 fs/iomap/iter.c:125, CPU#1: syz.0.20/6344
Modules linked in:
CPU: 1 UID: 0 PID: 6344 Comm: syz.0.20 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:iomap_iter_done fs/iomap/iter.c:39 [inline]
RIP: 0010:iomap_iter+0x541/0xa80 fs/iomap/iter.c:125
Code: 0f 0b 90 e9 3b fb ff ff e8 2c 2c 4f ff 90 0f 0b 90 e9 30 fc ff ff e8 1e 2c 4f ff 90 0f 0b 90 e9 61 fc ff ff e8 10 2c 4f ff 90 <0f> 0b 90 e9 c9 fc ff ff e8 02 2c 4f ff 90 0f 0b 90 e9 fb fc ff ff
RSP: 0018:ffffc9000380eeb8 EFLAGS: 00010293
RAX: ffffffff827a33a0 RBX: ffffc9000380efa8 RCX: ffff888171c50000
RDX: 0000000000000000 RSI: 0000000000150000 RDI: 000000000013e000
RBP: 000000000013e000 R08: ffff88811d6f788f R09: 1ffff11023adef11
R10: dffffc0000000000 R11: ffffed1023adef12 R12: 1ffff92000701dfb
R13: 1ffff92000701df5 R14: ffffc9000380efa0 R15: 0000000000150000
FS: 00007fd630c3f6c0(0000) GS:ffff8882a77ed000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbdec814440 CR3: 000000011f964000 CR4: 00000000000006f0
Call Trace:
<TASK>
iomap_readahead+0x3e9/0xf20 fs/iomap/buffered-io.c:751
ntfs_readahead+0x202/0x270 fs/ntfs/aops.c:251
read_pages+0x193/0x5a0 mm/readahead.c:174
page_cache_ra_unbounded+0x754/0x9d0 mm/readahead.c:315
do_page_cache_ra mm/readahead.c:348 [inline]
page_cache_ra_order+0xb47/0xee0 mm/readahead.c:558
do_sync_mmap_readahead+0x74b/0x960 mm/filemap.c:3466
filemap_fault+0x73d/0x12c0 mm/filemap.c:3620
__do_fault+0x138/0x2a0 mm/memory.c:5693
do_cow_fault mm/memory.c:6174 [inline]
do_fault mm/memory.c:6280 [inline]
do_pte_missing+0xfc9/0x3570 mm/memory.c:4800
handle_pte_fault mm/memory.c:6697 [inline]
__handle_mm_fault mm/memory.c:6849 [inline]
handle_mm_fault+0x1807/0x2f80 mm/memory.c:7016
faultin_page mm/gup.c:1140 [inline]
__get_user_pages+0x102b/0x1e90 mm/gup.c:1442
populate_vma_page_range+0x311/0x3f0 mm/gup.c:1878
__mm_populate+0x25f/0x390 mm/gup.c:1981
mm_populate include/linux/mm.h:4513 [inline]
vm_mmap_pgoff+0x36e/0x520 mm/util.c:586
ksys_mmap_pgoff+0x4dc/0x760 mm/mmap.c:619
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd62fda9b59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd630c3f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007fd630035fa0 RCX: 00007fd62fda9b59
RDX: 000000000000000b RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007fd62fe3a18b R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000022852 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd630036038 R14: 00007fd630035fa0 R15: 00007ffd16543888
</TASK>
***
If these findings have caused you to resend the series or submit a
separate fix, please add the following tag to your commit message:
Tested-by: syzbot@xxxxxxxxxxxxxxxxxxxxxxxxx
---
This report is generated by a bot. It may contain errors.
syzbot ci engineers can be reached at syzkaller@xxxxxxxxxxxxxxxx.