syzbot


kernel BUG at fs/f2fs/checkpoint.c:LINE!

Status: upstream: reported C repro on 2020/09/15 08:19
Reported-by: syzbot+12dd46421e9fd572ebf3@syzkaller.appspotmail.com
First crash: 1558d, last: 1186d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 kernel BUG in __get_meta_page f2fs C error 3 678d 839d 0/1 upstream: reported C repro on 2022/09/04 03:21
linux-4.19 kernel BUG in f2fs_get_meta_page_nofail f2fs C error 2582 657d 1433d 0/1 upstream: reported C repro on 2021/01/17 22:43
Fix bisection attempts (11)
Created Duration User Patch Repo Result
2021/10/21 16:46 11m bisect fix linux-4.19.y error job log
2021/09/21 16:18 23m bisect fix linux-4.19.y OK (0) job log log
2021/08/22 09:10 29m bisect fix linux-4.19.y OK (0) job log log
2021/07/23 07:42 24m bisect fix linux-4.19.y OK (0) job log log
2021/06/23 06:57 21m bisect fix linux-4.19.y OK (0) job log log
2021/05/24 06:16 25m bisect fix linux-4.19.y OK (0) job log log
2021/04/23 20:56 23m bisect fix linux-4.19.y OK (0) job log log
2021/03/24 19:45 22m bisect fix linux-4.19.y OK (0) job log log
2021/02/22 19:20 25m bisect fix linux-4.19.y OK (0) job log log
2021/02/18 23:48 18m bisect fix linux-4.19.y error job log
2021/02/16 03:14 0m bisect fix linux-4.19.y error job log

Sample crash report:
attempt to access beyond end of device
loop0: rw=12288, want=20488, limit=16368
attempt to access beyond end of device
loop0: rw=12288, want=20488, limit=16368
------------[ cut here ]------------
kernel BUG at fs/f2fs/checkpoint.c:127!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8120 Comm: syz-executor031 Not tainted 4.19.155-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:f2fs_get_meta_page_nofail+0x12d/0x150 fs/f2fs/checkpoint.c:127
Code: e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 75 23 83 8b 84 00 00 00 08 4c 89 e6 4c 89 ef e8 eb db f7 04 48 89 ef e8 83 a7 02 00 <0f> 0b e8 1c 4d 7d fe eb 80 be 04 00 00 00 e8 00 51 7d fe eb d1 0f
RSP: 0018:ffff8880905b78d0 EFLAGS: 00010293
RAX: ffff888094de0180 RBX: ffff8880aff04cc0 RCX: ffffffff832031c1
RDX: 0000000000000000 RSI: ffffffff831daaad RDI: 0000000000000005
RBP: ffff888093f91080 R08: ffffffff8cd187d8 R09: 0000000000000001
R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000286
R13: ffff888093f91578 R14: 0000000000000000 R15: ffff888093f91080
FS:  00000000024a4880(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f52a6aee000 CR3: 000000009df3a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __f2fs_build_free_nids+0x338/0x1020 fs/f2fs/node.c:2287
 f2fs_build_free_nids fs/f2fs/node.c:2328 [inline]
 f2fs_build_node_manager+0x24c5/0x31d0 fs/f2fs/node.c:3052
 f2fs_fill_super+0x31fd/0x7050 fs/f2fs/super.c:3022
 mount_bdev+0x2fc/0x3b0 fs/super.c:1158
 mount_fs+0xa3/0x30c 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
 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:0x447e0a
Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d a3 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 5a a3 fb ff c3 66 0f 1f 84 00 00 00 00 00
RSP: 002b:00007ffc939f09d8 EFLAGS: 00000297 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffc939f0a30 RCX: 0000000000447e0a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffc939f09f0
RBP: 00007ffc939f09f0 R08: 00007ffc939f0a30 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000297 R12: 0000000000000008
R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003
Modules linked in:
---[ end trace 444fc2baf02348a8 ]---
RIP: 0010:f2fs_get_meta_page_nofail+0x12d/0x150 fs/f2fs/checkpoint.c:127
Code: e0 07 38 c2 0f 9e c1 84 d2 0f 95 c0 84 c1 75 23 83 8b 84 00 00 00 08 4c 89 e6 4c 89 ef e8 eb db f7 04 48 89 ef e8 83 a7 02 00 <0f> 0b e8 1c 4d 7d fe eb 80 be 04 00 00 00 e8 00 51 7d fe eb d1 0f
RSP: 0018:ffff8880905b78d0 EFLAGS: 00010293
RAX: ffff888094de0180 RBX: ffff8880aff04cc0 RCX: ffffffff832031c1
RDX: 0000000000000000 RSI: ffffffff831daaad RDI: 0000000000000005
RBP: ffff888093f91080 R08: ffffffff8cd187d8 R09: 0000000000000001
R10: 0000000000000005 R11: 0000000000000001 R12: 0000000000000286
R13: ffff888093f91578 R14: 0000000000000000 R15: ffff888093f91080
FS:  00000000024a4880(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efe0c03c028 CR3: 000000009df3a000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (801):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/07 13:28 linux-4.19.y b94de4d19498 cba33199 .config console log report syz C ci2-linux-4-19
2020/11/07 07:53 linux-4.19.y b94de4d19498 cba33199 .config console log report syz C ci2-linux-4-19
2020/09/15 13:51 linux-4.19.y a87f96283793 9e681632 .config console log report syz C ci2-linux-4-19
2021/01/17 03:14 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2021/01/17 02:21 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2021/01/16 08:10 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2021/01/16 03:52 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2021/01/16 02:07 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2021/01/15 19:51 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2021/01/15 10:42 linux-4.19.y 675cc038067f 65a7a854 .config console log report info ci2-linux-4-19
2021/01/15 02:26 linux-4.19.y 675cc038067f 468dbb55 .config console log report info ci2-linux-4-19
2021/01/14 22:45 linux-4.19.y 675cc038067f 468dbb55 .config console log report info ci2-linux-4-19
2021/01/14 03:00 linux-4.19.y 675cc038067f 269d24e8 .config console log report info ci2-linux-4-19
2021/01/13 21:41 linux-4.19.y 675cc038067f a945f0a3 .config console log report info ci2-linux-4-19
2021/01/13 19:52 linux-4.19.y 675cc038067f a945f0a3 .config console log report info ci2-linux-4-19
2021/01/13 14:32 linux-4.19.y 675cc038067f a945f0a3 .config console log report info ci2-linux-4-19
2021/01/13 09:07 linux-4.19.y 675cc038067f 0cdd6185 .config console log report info ci2-linux-4-19
2021/01/13 06:20 linux-4.19.y 675cc038067f 0cdd6185 .config console log report info ci2-linux-4-19
2021/01/13 02:46 linux-4.19.y 675cc038067f 0cdd6185 .config console log report info ci2-linux-4-19
2021/01/12 09:00 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/12 07:41 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/12 05:30 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/11 17:14 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/10 16:53 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/10 15:44 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/10 07:56 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/10 01:35 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/10 00:31 linux-4.19.y 610bdbf6a174 2c1f2513 .config console log report info ci2-linux-4-19
2021/01/09 19:05 linux-4.19.y 610bdbf6a174 a6c52263 .config console log report info ci2-linux-4-19
2021/01/09 16:31 linux-4.19.y 610bdbf6a174 a6c52263 .config console log report info ci2-linux-4-19
2021/01/09 05:23 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/09 00:17 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/08 16:19 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/08 13:16 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/07 20:59 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/07 14:27 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/07 13:22 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/07 02:52 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/07 01:51 linux-4.19.y 4143d798313f c104d4a3 .config console log report info ci2-linux-4-19
2021/01/06 13:42 linux-4.19.y 3207316b3bee fff20c29 .config console log report info ci2-linux-4-19
2021/01/06 04:47 linux-4.19.y 3207316b3bee b1c228e1 .config console log report info ci2-linux-4-19
2021/01/06 01:24 linux-4.19.y 3207316b3bee b1c228e1 .config console log report info ci2-linux-4-19
2021/01/05 19:24 linux-4.19.y 3207316b3bee a0234d98 .config console log report info ci2-linux-4-19
2021/01/05 17:19 linux-4.19.y 3207316b3bee a0234d98 .config console log report info ci2-linux-4-19
2020/09/15 08:18 linux-4.19.y a87f96283793 9e681632 .config console log report info ci2-linux-4-19
* Struck through repros no longer work on HEAD.