syzbot


WARNING in f2fs_is_valid_blkaddr
Status: upstream: reported C repro on 2020/09/21 17:33
Reported-by: syzbot+b259e679db0095a9fa0c@syzkaller.appspotmail.com
First crash: 610d, last: 8h19m
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in f2fs_is_valid_blkaddr C done 2521 7h18m 611d 1/22 upstream: reported C repro on 2020/09/21 09:51
linux-4.14 WARNING in f2fs_is_valid_blkaddr C 671 6h26m 617d 0/1 upstream: reported C repro on 2020/09/15 10:39

Sample crash report:
F2FS-fs (loop0): Magic Mismatch, valid(0xf2f52010) - read(0x0)
F2FS-fs (loop0): Can't find valid F2FS filesystem in 2th superblock
F2FS-fs (loop0): invalid crc value
F2FS-fs (loop0): access invalid blkaddr:5578753
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8076 at fs/f2fs/checkpoint.c:166 f2fs_is_valid_blkaddr+0x35d/0xa20 fs/f2fs/checkpoint.c:166
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8076 Comm: syz-executor146 Not tainted 4.19.211-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+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:f2fs_is_valid_blkaddr+0x35d/0xa20 fs/f2fs/checkpoint.c:166
Code: 7a 06 00 00 48 8b 7d 00 44 89 e1 48 c7 c2 40 1a a8 88 48 c7 c6 e0 18 a8 88 e8 bf fa fd ff 48 c7 c7 80 1a a8 88 e8 fe 34 de 04 <0f> 0b 45 31 ed e9 3f fe ff ff e8 84 03 4d fe 48 8d bd 40 01 00 00
RSP: 0018:ffff8880a1a6f740 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed101434deda
RBP: ffff8880b13c01c0 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000552001
R13: ffff8880af4b5a00 R14: 0000000000004000 R15: 0000000000000400
 f2fs_submit_page_bio+0x138/0x1580 fs/f2fs/data.c:450
 read_node_page+0x496/0x630 fs/f2fs/node.c:1303
 __get_node_page.part.0+0x9b/0x14b0 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/0x4ce0 fs/f2fs/inode.c:439
 f2fs_fill_super+0x34b4/0x7050 fs/f2fs/super.c:3056
 mount_bdev+0x2fc/0x3b0 fs/super.c:1158
 mount_fs+0xa3/0x310 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:2492 [inline]
 do_mount+0x115c/0x2f50 fs/namespace.c:2822
 ksys_mount+0xcf/0x130 fs/namespace.c:3038
 __do_sys_mount fs/namespace.c:3052 [inline]
 __se_sys_mount fs/namespace.c:3049 [inline]
 __x64_sys_mount+0xba/0x150 fs/namespace.c:3049
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f336160649a
Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdfbc7b3d8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffdfbc7b430 RCX: 00007f336160649a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffdfbc7b3f0
RBP: 00007ffdfbc7b3f0 R08: 00007ffdfbc7b430 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00000000200002d8
R13: 0000000000000003 R14: 0000000000000004 R15: 0000000000000009
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1503):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-19 2022/05/24 06:50 linux-4.19.y 3f8a27f9e27b e7f9308d .config log report syz C WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/02/12 11:18 linux-4.19.y 3f8a27f9e27b 8b9ca619 .config log report syz C WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2021/12/23 22:43 linux-4.19.y 3f8a27f9e27b 6caa12e4 .config log report syz C WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2021/06/25 04:59 linux-4.19.y eb575cd5d7f6 0edbbe31 .config log report syz C WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2021/06/09 19:13 linux-4.19.y 1722257b8ece 84fe5d96 .config log report syz C WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2021/06/08 11:54 linux-4.19.y 1722257b8ece 5c2fe346 .config log report syz C WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2021/05/09 16:48 linux-4.19.y 3c8c23092588 bc5434be .config log report syz C WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2020/10/13 06:46 linux-4.19.y a1b977b49b66 d32b0bbf .config log report syz C
ci2-linux-4-19 2020/10/08 08:45 linux-4.19.y a1b977b49b66 1880b4a9 .config log report syz C
ci2-linux-4-19 2020/10/04 14:34 linux-4.19.y b09c34517e1a 5ef9c291 .config log report syz C
ci2-linux-4-19 2020/09/23 02:01 linux-4.19.y 015e94d0e37b 3e8f6c27 .config log report syz C
ci2-linux-4-19 2020/09/21 18:11 linux-4.19.y 015e94d0e37b c81d99c8 .config log report syz C
ci2-linux-4-19 2022/05/25 03:57 linux-4.19.y 3f8a27f9e27b 647c0e27 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/24 06:30 linux-4.19.y 3f8a27f9e27b e7f9308d .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/23 03:51 linux-4.19.y 3f8a27f9e27b 7268fa62 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/22 18:00 linux-4.19.y 3f8a27f9e27b 7268fa62 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/22 12:34 linux-4.19.y 3f8a27f9e27b 7268fa62 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/21 16:25 linux-4.19.y 3f8a27f9e27b 7268fa62 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/18 12:25 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/18 05:20 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/18 03:38 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/17 19:23 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/17 15:57 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/17 05:39 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/16 11:17 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/16 04:00 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/15 22:31 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/15 19:51 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/15 02:28 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/14 19:07 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/14 15:08 linux-4.19.y 3f8a27f9e27b 744a39e2 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/13 12:55 linux-4.19.y 3f8a27f9e27b 7ce5a022 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/13 07:57 linux-4.19.y 3f8a27f9e27b 9ad6612a .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/12 17:34 linux-4.19.y 3f8a27f9e27b 9ad6612a .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/12 12:46 linux-4.19.y 3f8a27f9e27b beb0b407 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/11 10:31 linux-4.19.y 3f8a27f9e27b 8d7b3b67 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/11 04:06 linux-4.19.y 3f8a27f9e27b 8d7b3b67 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/11 03:02 linux-4.19.y 3f8a27f9e27b 8d7b3b67 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/09 15:50 linux-4.19.y 3f8a27f9e27b 8b277b8e .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/05 02:43 linux-4.19.y 3f8a27f9e27b dc9e5259 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/03 21:22 linux-4.19.y 3f8a27f9e27b dc9e5259 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/03 16:10 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/03 13:54 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/03 09:21 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/02 13:23 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/02 06:34 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/01 07:17 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/05/01 01:56 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/04/30 16:27 linux-4.19.y 3f8a27f9e27b 2df221f6 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/04/30 08:54 linux-4.19.y 3f8a27f9e27b ad6b95d8 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/04/30 04:01 linux-4.19.y 3f8a27f9e27b ad6b95d8 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/04/29 18:14 linux-4.19.y 3f8a27f9e27b 44a5ca63 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/04/29 13:33 linux-4.19.y 3f8a27f9e27b e9076525 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/04/29 11:24 linux-4.19.y 3f8a27f9e27b e9076525 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2022/04/29 08:35 linux-4.19.y 3f8a27f9e27b e9076525 .config log report info WARNING in f2fs_is_valid_blkaddr
ci2-linux-4-19 2021/01/17 10:38 linux-4.19.y 675cc038067f 813be542 .config log report info
ci2-linux-4-19 2020/09/21 17:33 linux-4.19.y 015e94d0e37b c81d99c8 .config log report info