WARNING in ext4_write_inode

Status: auto-closed as invalid on 2020/06/22 14:27
First crash: 1313d, last: 1313d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in ext4_write_inode 6 1313d 1314d 0/1 auto-closed as invalid on 2020/06/22 22:10
upstream WARNING in ext4_write_inode ext4 13 1304d 1311d 17/25 fixed on 2020/05/10 10:41
upstream WARNING in ext4_write_inode (2) ext4 53 39d 594d 0/25 upstream: reported on 2022/02/12 00:47
linux-5.15 WARNING in ext4_write_inode 1 185d 185d 0/3 auto-obsoleted due to no activity on 2023/07/26 10:16
linux-6.1 WARNING in ext4_write_inode 5 107d 189d 0/3 auto-obsoleted due to no activity on 2023/09/21 16:26

Sample crash report:
XFS (loop3): metadata I/O error in "xfs_trans_read_buf_map" at daddr 0x2 len 1 error 117
XFS (loop3): xfs_imap_lookup: xfs_ialloc_read_agi() returned error -117, agno 0
XFS (loop3): Failed to read root inode 0xd88, error 117
WARNING: CPU: 0 PID: 2914 at fs/ext4/inode.c:5425 ext4_write_inode+0x453/0x510 fs/ext4/inode.c:5425
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2914 Comm: xfsaild/loop3 Not tainted 4.19.105-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x197/0x210 lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x53 kernel/panic.c:541
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x204/0x360 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037
RIP: 0010:ext4_write_inode+0x453/0x510 fs/ext4/inode.c:5425
Code: 78 ff ff ff e8 5e 2d 7f ff 4d 85 ed 74 0d e8 54 2d 7f ff 4c 89 ef e8 dc 8d ce ff e8 47 2d 7f ff e9 21 fe ff ff e8 3d 2d 7f ff <0f> 0b 45 31 ff e9 12 fe ff ff 41 bf fb ff ff ff e9 07 fe ff ff e8
RSP: 0018:ffff88820d8275c8 EFLAGS: 00010293
RAX: ffff88808282e140 RBX: 1ffff11041b04eba RCX: ffffffff81ebabf3
RDX: 0000000000000000 RSI: ffffffff81ebaf83 RDI: 0000000000000005
RBP: ffff88820d827678 R08: ffff88808282e140 R09: ffffed1015d04733
R10: ffffed1015d04732 R11: ffff8880ae823993 R12: ffff88807f7467f0
R13: 0000000000000800 R14: dffffc0000000000 R15: 0000000000000003
 write_inode fs/fs-writeback.c:1230 [inline]
 __writeback_single_inode+0xc74/0x12c0 fs/fs-writeback.c:1429
 writeback_single_inode+0x2c1/0x420 fs/fs-writeback.c:1483
 sync_inode fs/fs-writeback.c:2520 [inline]
 sync_inode_metadata+0xa8/0xe0 fs/fs-writeback.c:2540
 __generic_file_fsync+0x169/0x200 fs/libfs.c:992
 ext4_sync_file+0x826/0x1450 fs/ext4/fsync.c:120
 vfs_fsync_range+0x141/0x230 fs/sync.c:197
 generic_write_sync include/linux/fs.h:2746 [inline]
 ext4_file_write_iter+0x7a0/0x1060 fs/ext4/file.c:281
 call_write_iter include/linux/fs.h:1820 [inline]
 new_sync_write fs/read_write.c:474 [inline]
 __vfs_write+0x587/0x810 fs/read_write.c:487
 __kernel_write+0x110/0x390 fs/read_write.c:506
 do_acct_process+0xd37/0x1150 kernel/acct.c:520
 slow_acct_process kernel/acct.c:579 [inline]
 acct_process+0x568/0x61e kernel/acct.c:605
 do_exit+0x17fa/0x30d0 kernel/exit.c:870
 kthread+0x2c3/0x420 kernel/kthread.c:248
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/23 14:26 linux-4.19.y 4fccc2503536 2c36e7a7 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.