Hello,
syzbot found the following issue on:
HEAD commit: 015e94d0 Linux 4.19.146
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1723c8d3900000
kernel config:
https://syzkaller.appspot.com/x/.config?x=243dd74ad58a8a57
dashboard link:
https://syzkaller.appspot.com/bug?extid=b259e679db0095a9fa0c
compiler: gcc (GCC) 10.1.0-syz 20200507
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+b259e6...@syzkaller.appspotmail.com
------------[ cut here ]------------
WARNING: CPU: 0 PID: 22463 at fs/f2fs/checkpoint.c:166 f2fs_is_valid_blkaddr+0x5bd/0xa90 fs/f2fs/checkpoint.c:166
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 22463 Comm: syz-executor.3 Not tainted 4.19.146-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+0x22c/0x33e lib/dump_stack.c:118
panic+0x2ac/0x565 kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/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+0x1e1/0x330 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:f2fs_is_valid_blkaddr+0x5bd/0xa90 fs/f2fs/checkpoint.c:166
Code: 90 04 00 00 48 8b 7d 00 44 89 e1 48 c7 c2 80 ce 47 88 48 c7 c6 a0 cb 47 88 e8 0f d8 fd ff 48 c7 c7 c0 ce 47 88 e8 82 f0 23 fe <0f> 0b 45 31 e4 e9 e3 fb ff ff e8 44 75 3a fe 48 8d bd 5c 0d 00 00
RSP: 0018:ffff8880491cf720 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff815b523f RDI: ffffed1009239ed6
RBP: ffff88804f21d240 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000001400 R14: 0000000000004000 R15: ffff88804f21d380
f2fs_submit_page_bio+0x19a/0x15e0 fs/f2fs/data.c:450
read_node_page+0x496/0x660 fs/f2fs/node.c:1303
__get_node_page.part.0+0x9b/0x1540 fs/f2fs/node.c:1348
__get_node_page fs/f2fs/node.c:38 [inline]
f2fs_get_node_page+0x109/0x1a0 fs/f2fs/node.c:1394
do_read_inode fs/f2fs/inode.c:306 [inline]
f2fs_iget+0x22a/0x4e90 fs/f2fs/inode.c:439
f2fs_fill_super+0x243d/0x7920 fs/f2fs/super.c:3056
mount_bdev+0x2fc/0x3b0 fs/super.c:1158
mount_fs+0xa3/0x318 fs/super.c:1261
vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
vfs_kern_mount fs/namespace.c:951 [inline]
do_new_mount fs/namespace.c:2469 [inline]
do_mount+0x51c/0x2f10 fs/namespace.c:2799
ksys_mount+0xcf/0x130 fs/namespace.c:3015
__do_sys_mount fs/namespace.c:3029 [inline]
__se_sys_mount fs/namespace.c:3026 [inline]
__x64_sys_mount+0xba/0x150 fs/namespace.c:3026
do_syscall_64+0xf9/0x670 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x46004a
Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 fd 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 da 89 fb ff c3 66 0f 1f 84 00 00 00 00 00
RSP: 002b:00007fccd3ce0a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fccd3ce0b20 RCX: 000000000046004a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fccd3ce0ae0
RBP: 00007fccd3ce0ae0 R08: 00007fccd3ce0b20 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020014b00
Kernel Offset: disabled
Rebooting in 86400 seconds..