Re: [syzbot] [ntfs3?] WARNING in ntfs_evict_inode

From: syzbot

Date: Tue Sep 22 2026 - 02:25:12 EST


Hello,

syzbot has tested the proposed patch but the reproducer is still triggering an issue:
WARNING in ntfs_evict_inode

------------[ cut here ]------------
ifs_up != folio_up
WARNING: fs/iomap/buffered-io.c:298 at ifs_free+0x352/0x420 fs/iomap/buffered-io.c:298, CPU#1: syz-executor/6284
Modules linked in:
CPU: 1 UID: 0 PID: 6284 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:ifs_free+0x352/0x420 fs/iomap/buffered-io.c:298
Code: e8 83 47 61 ff 90 0f 0b 90 e9 d5 fe ff ff e8 75 47 61 ff 90 0f 0b 90 e9 12 ff ff ff e8 67 47 61 ff 41 c1 ee 03 40 0f b6 f5 90 <0f> 0b 90 48 c7 c7 20 94 81 8b 44 89 f2 e8 ac 11 c2 fe eb b0 44 89
RSP: 0018:ffffc900048f7698 EFLAGS: 00010202
RAX: ffffffff826553d9 RBX: 1ffffd4000301458 RCX: ffff8880275a9f40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 000000008265d200 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff94000301459 R12: ffff88802c03d384
R13: ffff88802c03d300 R14: 0000000000000001 R15: 0000000000000000
FS: 00005555916b9500(0000) GS:ffff888125ccb000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000033ac226b9000 CR3: 0000000039800000 CR4: 00000000003526f0
Call Trace:
<TASK>
folio_invalidate mm/truncate.c:140 [inline]
truncate_cleanup_folio+0xcb/0x190 mm/truncate.c:160
truncate_inode_pages_range+0x2c4/0xd80 mm/truncate.c:404
ntfs_evict_inode+0x19/0x40 fs/ntfs3/inode.c:2012
evict+0x624/0xb50 fs/inode.c:822
dispose_list fs/inode.c:864 [inline]
evict_inodes+0x7e3/0x870 fs/inode.c:918
generic_shutdown_super+0xaa/0x2d0 fs/super.c:741
kill_block_super+0x44/0xa0 fs/super.c:1904
ntfs3_kill_sb+0x44/0x1c0 fs/ntfs3/super.c:1940
deactivate_locked_super+0xbc/0x110 fs/super.c:589
cleanup_mnt+0x3d3/0x460 fs/namespace.c:1317
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fded076f397
Code: a2 c7 05 5c 43 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffc86ca8078 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007fded08044bb RCX: 00007fded076f397
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc86ca8130
RBP: 00007ffc86ca8130 R08: 00007ffc86ca9130 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc86ca91c0
R13: 00007fded08044bb R14: 0000000000027906 R15: 00007ffc86ca9200
</TASK>


Tested on:

commit: 238650ef Merge tag 'powerpc-7.3-4' of git://git.kernel..
git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
console output: https://syzkaller.appspot.com/x/log.txt?x=15e3d805580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b454dc6b1b7acd30
dashboard link: https://syzkaller.appspot.com/bug?extid=3db654d91b471c4d7a7d
compiler: Debian clang version 22.1.8 (++20260613092233+e80beda6e255-1~exp1~20260613092250.77), Debian LLD 22.1.8
patch: https://syzkaller.appspot.com/x/patch.diff?x=17ca6805580000