WARNING in ext4_write_inode

25 views
Skip to first unread message

syzbot

unread,
Feb 22, 2020, 7:30:13 AM2/22/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 98db2bf2 Linux 4.14.171
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=130e4265e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=365f8162d5a0794b
dashboard link: https://syzkaller.appspot.com/bug?extid=859db306344ed5e16985
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+859db3...@syzkaller.appspotmail.com

XFS (loop1): metadata I/O error: block 0x2 ("xfs_trans_read_buf_map") error 117 numblks 1
XFS (loop1): xfs_imap_lookup: xfs_ialloc_read_agi() returned error -117, agno 0
XFS (loop1): failed to read root inode
PF_BRIDGE: RTM_SETLINK with unknown ifindex
------------[ cut here ]------------
WARNING: CPU: 0 PID: 28134 at fs/ext4/inode.c:5253 ext4_write_inode+0x3a0/0x450 fs/ext4/inode.c:5253
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 28134 Comm: xfsaild/loop1 Not tainted 4.14.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x142/0x197 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x2f/0x2f kernel/panic.c:547
report_bug+0x216/0x254 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x1bb/0x310 arch/x86/kernel/traps.c:295
do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:314
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:963
RIP: 0010:ext4_write_inode+0x3a0/0x450 fs/ext4/inode.c:5253
RSP: 0018:ffff88807f7af730 EFLAGS: 00010297
RAX: ffff888099754400 RBX: 1ffff1100fef5ee7 RCX: ffff888099754c80
RDX: 0000000000000000 RSI: ffff88807f7af898 RDI: ffff888099754424
RBP: ffff88807f7af7c0 R08: ffff888099754400 R09: 0000000000000003
R10: 0000000000000000 R11: ffff888099754400 R12: ffff8880958a4970
R13: dffffc0000000000 R14: ffff88807f7af798 R15: ffff888099754400
write_inode fs/fs-writeback.c:1227 [inline]
__writeback_single_inode+0xb44/0x1120 fs/fs-writeback.c:1426
writeback_single_inode+0x1fa/0x380 fs/fs-writeback.c:1480
sync_inode fs/fs-writeback.c:2508 [inline]
sync_inode_metadata+0x8c/0xb0 fs/fs-writeback.c:2528
__generic_file_fsync+0x130/0x1a0 fs/libfs.c:992
ext4_sync_file+0x755/0x12d0 fs/ext4/fsync.c:120
vfs_fsync_range+0x10e/0x260 fs/sync.c:196
generic_write_sync include/linux/fs.h:2677 [inline]
ext4_file_write_iter+0x68a/0xe90 fs/ext4/file.c:279
call_write_iter include/linux/fs.h:1777 [inline]
new_sync_write fs/read_write.c:469 [inline]
__vfs_write+0x4a7/0x6b0 fs/read_write.c:482
__kernel_write+0xfc/0x370 fs/read_write.c:501
do_acct_process+0xc66/0x10b0 kernel/acct.c:520
slow_acct_process kernel/acct.c:579 [inline]
acct_process+0x3a5/0x43d kernel/acct.c:605
do_exit+0x17d5/0x2cd0 kernel/exit.c:848
kthread+0x2d2/0x430 kernel/kthread.c:234
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Feb 23, 2020, 9:27:13 AM2/23/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 4fccc250 Linux 4.19.105
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13daa3d9e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=d603c1cf5fa8b03d
dashboard link: https://syzkaller.appspot.com/bug?extid=3f515eb812e96ae69540
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+3f515e...@syzkaller.appspotmail.com

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

syzbot

unread,
Jun 22, 2020, 10:27:07 AM6/22/20
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.

syzbot

unread,
Jun 22, 2020, 6:10:13 PM6/22/20
to syzkaller...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages