syzbot


WARNING in f2fs_submit_page_bio (3)

Status: auto-obsoleted due to no activity on 2023/04/06 18:55
Reported-by: syzbot+12176fc97b0a02a9d99a@syzkaller.appspotmail.com
First crash: 548d, last: 515d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in f2fs_submit_page_bio (2) 1 814d 814d 0/1 auto-closed as invalid on 2022/06/11 20:42
linux-4.14 WARNING in f2fs_submit_page_bio 1 1222d 1222d 0/1 auto-closed as invalid on 2021/04/29 18:18
linux-4.19 WARNING in f2fs_submit_page_bio (2) 1 906d 906d 0/1 auto-closed as invalid on 2022/03/11 11:24
linux-4.19 WARNING in f2fs_submit_page_bio 1 1062d 1062d 0/1 auto-closed as invalid on 2021/10/06 11:11

Sample crash report:
 __do_page_fault+0x68e/0xd60 arch/x86/mm/fault.c:1412
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205
RIP: 0010:__get_user_4+0x21/0x30 arch/x86/lib/getuser.S:78
Code: 50 ff 31 c0 0f 01 ca c3 90 48 83 c0 03 72 55 65 48 8b 14 25 c0 df 01 00 48 3b 82 98 14 00 00 73 43 48 19 d2 48 21 d0 0f 01 cb <8b> 50 fd 31 c0 0f 01 ca c3 66 0f 1f 44 00 00 48 83 c0 07 72 25 65
WARNING: CPU: 1 PID: 12356 at fs/f2fs/checkpoint.c:166 f2fs_is_valid_blkaddr+0x35d/0xa20 fs/f2fs/checkpoint.c:166
RSP: 0018:ffff888235f97da0 EFLAGS: 00050202
Kernel panic - not syncing: panic_on_warn set ...

RAX: 000000002026bfef RBX: 0000000000000000 RCX: 000000002026bfec
RDX: ffffffffffffffff RSI: ffffffff819a1274 RDI: 0000000000000286
RBP: ffff88809dc8a400 R08: ffffffff8cd254f0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000020336000 R14: 0000000000000000 R15: 0000000000000000
 do_pages_move mm/migrate.c:1607 [inline]
 kernel_move_pages+0x451/0x1820 mm/migrate.c:1827
 __do_sys_move_pages mm/migrate.c:1845 [inline]
 __se_sys_move_pages mm/migrate.c:1840 [inline]
 __x64_sys_move_pages+0xdd/0x1b0 mm/migrate.c:1840
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f443391e0d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f4431e6f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000117
RAX: ffffffffffffffda RBX: 00007f4433a3e050 RCX: 00007f443391e0d9
RDX: 0000000020000200 RSI: 0000000000000001 RDI: 0000000000001037
RBP: 00007f4431e6f1d0 R08: 0000000020000140 R09: 0000000000000000
R10: 000000002026bfec R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffcd7557eff R14: 00007f4431e6f300 R15: 0000000000022000
CPU: 1 PID: 12356 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
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:ffff88809696f740 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000005 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814dff01 RDI: ffffed1012d2deda
RBP: ffff88803f704900 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000431
R13: 0000000000000001 R14: 0000000000001000 R15: 0000000000000200
 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:0x7f5103ae560a
Code: 48 c7 c2 b8 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5102055f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000000105b7 RCX: 00007f5103ae560a
RDX: 00000000200105c0 RSI: 0000000020010600 RDI: 00007f5102055fe0
RBP: 00007f5102056020 R08: 00007f5102056020 R09: 0000000000400002
R10: 0000000000400002 R11: 0000000000000202 R12: 00000000200105c0
R13: 0000000020010600 R14: 00007f5102055fe0 R15: 00000000200000c0
Kernel Offset: disabled
Rebooting in 86400 seconds..
----------------
Code disassembly (best guess):
   0:	50                   	push   %rax
   1:	ff 31                	pushq  (%rcx)
   3:	c0 0f 01             	rorb   $0x1,(%rdi)
   6:	ca c3 90             	lret   $0x90c3
   9:	48 83 c0 03          	add    $0x3,%rax
   d:	72 55                	jb     0x64
   f:	65 48 8b 14 25 c0 df 	mov    %gs:0x1dfc0,%rdx
  16:	01 00
  18:	48 3b 82 98 14 00 00 	cmp    0x1498(%rdx),%rax
  1f:	73 43                	jae    0x64
  21:	48 19 d2             	sbb    %rdx,%rdx
  24:	48 21 d0             	and    %rdx,%rax
  27:	0f 01 cb             	stac
* 2a:	8b 50 fd             	mov    -0x3(%rax),%edx <-- trapping instruction
  2d:	31 c0                	xor    %eax,%eax
  2f:	0f 01 ca             	clac
  32:	c3                   	retq
  33:	66 0f 1f 44 00 00    	nopw   0x0(%rax,%rax,1)
  39:	48 83 c0 07          	add    $0x7,%rax
  3d:	72 25                	jb     0x64
  3f:	65                   	gs

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/07 18:55 linux-4.19.y 3f8a27f9e27b d88f3abb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in f2fs_submit_page_bio
2022/11/04 23:40 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in f2fs_submit_page_bio
* Struck through repros no longer work on HEAD.