Linux EXT4 FS development
 help / color / mirror / Atom feed
* [BUG] WARNING in ext4_journalled_invalidate_folio
@ 2026-08-28  5:45 Farhad Alemi
  2026-08-28 14:30 ` Theodore Tso
  0 siblings, 1 reply; 2+ messages in thread
From: Farhad Alemi @ 2026-08-28  5:45 UTC (permalink / raw)
  To: Theodore Ts'o, Alexander Viro, Christian Brauner
  Cc: falemi, linux-ext4, linux-fsdevel, linux-kernel

Hello,

As part of the kernel research at ASU's SEFCOM
lab, we hit the crash below. Crash reports can be found here:

  https://github.com/farhad-alemi/public_bug_reports/tree/main/172-warning-in-ext4-journalled-invalidate-folio/

  __ext4_journalled_invalidate_folio(folio, offset, length) < 0
  WARNING: fs/ext4/inode.c:3432 at
ext4_journalled_invalidate_folio+0x4a/0x50 fs/ext4/inode.c:3432,
CPU#0: syz.3.369/14887
  RIP: 0010:ext4_journalled_invalidate_folio+0x4a/0x50 fs/ext4/inode.c:3432
  Call Trace:
   ext4_journalled_invalidate_folio+0x4a/0x50 fs/ext4/inode.c:3432
   folio_invalidate mm/truncate.c:140 [inline]
   truncate_inode_partial_folio+0x33e/0x8d0 mm/truncate.c:249
   truncate_inode_pages_range+0x5de/0xdf0 mm/truncate.c:416
   ext4_truncate_failed_write fs/ext4/truncate.h:21 [inline]
   ext4_journalled_write_end+0x8f2/0xc70 fs/ext4/inode.c:1608
   generic_perform_write+0x611/0x8d0 mm/filemap.c:4346
   ext4_buffered_write_iter+0xce/0x3a0 fs/ext4/file.c:316
   ext4_file_write_iter+0x298/0x1bf0
   vfs_write+0x6f3/0xda0 fs/read_write.c:688

Our reproducer.c is available upon request.

Happy to test a patch if that would help.

Regards,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-08-28 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28  5:45 [BUG] WARNING in ext4_journalled_invalidate_folio Farhad Alemi
2026-08-28 14:30 ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox