WARNING in f2fs_submit_page_bio

5 views
Skip to first unread message

syzbot

unread,
Jun 8, 2021, 7:11:23 AM6/8/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 1722257b Linux 4.19.193
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=16fe4a67d00000
kernel config: https://syzkaller.appspot.com/x/.config?x=fd6b8809ec913bf1
dashboard link: https://syzkaller.appspot.com/bug?extid=b5c5ddabb0191892c14f

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+b5c5dd...@syzkaller.appspotmail.com

should_fail_alloc_page mm/page_alloc.c:3088 [inline]
prepare_alloc_pages mm/page_alloc.c:4346 [inline]
__alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393
------------[ cut here ]------------
WARNING: CPU: 1 PID: 26937 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 ...

alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161
shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494
shmem_alloc_and_acct_page+0x15a/0x850 mm/shmem.c:1519
shmem_getpage_gfp+0x4e9/0x37f0 mm/shmem.c:1797
shmem_getpage mm/shmem.c:132 [inline]
shmem_file_read_iter+0x2b0/0xcb0 mm/shmem.c:2523
call_read_iter include/linux/fs.h:1815 [inline]
generic_file_splice_read+0x44a/0x6d0 fs/splice.c:308
do_splice_to+0x10e/0x160 fs/splice.c:881
splice_direct_to_actor+0x2b9/0x8d0 fs/splice.c:959
do_splice_direct+0x1a7/0x270 fs/splice.c:1068
do_sendfile+0x550/0xc30 fs/read_write.c:1447
__do_sys_sendfile64 fs/read_write.c:1508 [inline]
__se_sys_sendfile64+0x147/0x160 fs/read_write.c:1494
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665d9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ff7dd77d188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000005
RBP: 00007ff7dd77d1d0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000eefffdef R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffdbaabc59f R14: 00007ff7dd77d300 R15: 0000000000022000
CPU: 1 PID: 26937 Comm: syz-executor.4 Not tainted 4.19.193-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
f2fs_msg: 49 callbacks suppressed
F2FS-fs (loop2): invalid crc value
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 80 15 a8 88 48 c7 c6 20 14 a8 88 e8 bf fa fd ff 48 c7 c7 c0 15 a8 88 e8 fc 4e dd 04 <0f> 0b 45 31 ed e9 3f fe ff ff e8 14 1a 4d fe 48 8d bd 40 01 00 00
RSP: 0018:ffff88804c7af740 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814df6b1 RDI: ffffed10098f5eda
RBP: ffff8880a636cd40 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000001400 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:2469 [inline]
do_mount+0x113c/0x2f10 fs/namespace.c:2799
F2FS-fs (loop2): Found nat_bits in checkpoint
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/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x467afa
Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe3f33bafa8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
F2FS-fs (loop2): f2fs_check_nid_range: out-of-range nid=1, run fsck to fix.
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 0000000000467afa
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007fe3f33bb000
RBP: 00007fe3f33bb040 R08: 00007fe3f33bb040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 00007fe3f33bb000 R15: 0000000020015000
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This report 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 issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Oct 6, 2021, 7:11:16 AM10/6/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages