syzbot


kernel BUG in f2fs_get_meta_page_nofail

Status: upstream: reported C repro on 2021/01/17 22:43
Subsystems: f2fs
[Documentation on labels]
Reported-by: syzbot+0d5378ee766889ee3cb6@syzkaller.appspotmail.com
First crash: 1165d, last: 389d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 kernel BUG at fs/f2fs/checkpoint.c:LINE! C error 801 918d 1290d 0/1 upstream: reported C repro on 2020/09/15 08:19
linux-4.14 kernel BUG in __get_meta_page f2fs C error 3 410d 571d 0/1 upstream: reported C repro on 2022/09/04 03:21

Sample crash report:
attempt to access beyond end of device
loop0: rw=12288, want=12296, limit=8309
attempt to access beyond end of device
loop0: rw=12288, want=12296, limit=8309
------------[ cut here ]------------
kernel BUG at fs/f2fs/checkpoint.c:127!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8964 Comm: syz-executor420 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
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 3b d2 03 05 48 89 ef e8 f3 a7 02 00 <0f> 0b e8 1c e4 82 fe eb 80 be 04 00 00 00 e8 00 e8 82 fe eb d1 66
RSP: 0018:ffff88809499f880 EFLAGS: 00010293
RAX: ffff8880af0fc400 RBX: ffff88809449c6c0 RCX: ffffffff831805c1
RDX: 0000000000000000 RSI: ffffffff83157e3d RDI: 0000000000000005
RBP: ffff8880b30d1e00 R08: ffffffff8cd41ae0 R09: 0000000000000001
R10: 0000000000000005 R11: 0000000000074071 R12: 0000000000000286
R13: ffff8880b30d22f8 R14: 0000000000000080 R15: dffffc0000000000
FS:  00007f617c444700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f617c445000 CR3: 0000000098fd9000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 get_current_sit_page fs/f2fs/segment.c:3524 [inline]
 build_sit_entries fs/f2fs/segment.c:3935 [inline]
 f2fs_build_segment_manager+0x5e97/0xad90 fs/f2fs/segment.c:4230
 f2fs_fill_super+0x31d9/0x7050 fs/f2fs/super.c:3016
 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:0x7f617c49935a
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 a8 00 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:00007f617c444168 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f617c49935a
RDX: 0000000020000040 RSI: 0000000020000080 RDI: 00007f617c444180
RBP: 0000000000000045 R08: 00007f617c4441c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000286 R12: 00007f617c4446b8
R13: 00007f617c444180 R14: 00007f617c4441c0 R15: 0000000000000000
Modules linked in:
---[ end trace 0f18206f9e4efdeb ]---
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 3b d2 03 05 48 89 ef e8 f3 a7 02 00 <0f> 0b e8 1c e4 82 fe eb 80 be 04 00 00 00 e8 00 e8 82 fe eb d1 66
RSP: 0018:ffff88809499f880 EFLAGS: 00010293
RAX: ffff8880af0fc400 RBX: ffff88809449c6c0 RCX: ffffffff831805c1
RDX: 0000000000000000 RSI: ffffffff83157e3d RDI: 0000000000000005
RBP: ffff8880b30d1e00 R08: ffffffff8cd41ae0 R09: 0000000000000001
R10: 0000000000000005 R11: 0000000000074071 R12: 0000000000000286
R13: ffff8880b30d22f8 R14: 0000000000000080 R15: dffffc0000000000
FS:  00007f617c444700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f617c445000 CR3: 0000000098fd9000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2582):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/09 01:03 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/12/27 06:00 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/14 00:12 linux-4.19.y 3f8a27f9e27b b884348d .config console log report syz C ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/08/20 08:11 linux-4.19.y 3f8a27f9e27b 26a13b38 .config console log report syz C ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/05/12 05:21 linux-4.19.y 3f8a27f9e27b beb0b407 .config console log report syz C ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/01/01 06:56 linux-4.19.y 3f8a27f9e27b e1768e9c .config console log report syz C ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2021/01/27 00:20 linux-4.19.y 2263955bf7e7 55a7d4df .config console log report syz C ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2021/01/17 23:06 linux-4.19.y c110fed0e606 fd103621 .config console log report syz C ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2023/03/04 16:07 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/12/27 04:34 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/12/19 12:00 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/12/19 08:06 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/12/18 01:15 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/12/17 19:18 linux-4.19.y 3f8a27f9e27b 05494336 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/10/08 16:34 linux-4.19.y 3f8a27f9e27b aea5da89 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/29 00:42 linux-4.19.y 3f8a27f9e27b a41a2080 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/28 18:18 linux-4.19.y 3f8a27f9e27b 75c78242 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/28 12:14 linux-4.19.y 3f8a27f9e27b 75c78242 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/28 04:20 linux-4.19.y 3f8a27f9e27b 75c78242 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/28 02:13 linux-4.19.y 3f8a27f9e27b 75c78242 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/25 10:35 linux-4.19.y 3f8a27f9e27b 0042f2b4 .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/25 05:26 linux-4.19.y 3f8a27f9e27b 0042f2b4 .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/22 19:15 linux-4.19.y 3f8a27f9e27b 0042f2b4 .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/22 04:32 linux-4.19.y 3f8a27f9e27b 60af5050 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/21 16:09 linux-4.19.y 3f8a27f9e27b 380f82fb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/21 02:32 linux-4.19.y 3f8a27f9e27b c4b8ccfd .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/20 21:11 linux-4.19.y 3f8a27f9e27b c4b8ccfd .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/20 21:11 linux-4.19.y 3f8a27f9e27b c4b8ccfd .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/20 18:30 linux-4.19.y 3f8a27f9e27b c4b8ccfd .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/20 14:43 linux-4.19.y 3f8a27f9e27b 7c41a9ba .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/20 11:12 linux-4.19.y 3f8a27f9e27b 7c41a9ba .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/20 02:54 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/19 22:32 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/19 00:43 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/18 20:25 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/18 01:09 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/15 23:35 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/14 19:13 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/14 18:08 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/14 12:18 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/14 08:48 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/14 02:28 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/14 01:12 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/13 22:18 linux-4.19.y 3f8a27f9e27b b884348d .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/13 19:01 linux-4.19.y 3f8a27f9e27b a08652b0 .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/13 04:13 linux-4.19.y 3f8a27f9e27b f371ed7e .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/12 03:35 linux-4.19.y 3f8a27f9e27b 356d8217 .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/11 23:42 linux-4.19.y 3f8a27f9e27b 356d8217 .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2022/09/11 21:36 linux-4.19.y 3f8a27f9e27b 356d8217 .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
2021/01/17 22:42 linux-4.19.y c110fed0e606 fd103621 .config console log report info ci2-linux-4-19 kernel BUG in f2fs_get_meta_page_nofail
* Struck through repros no longer work on HEAD.