syzbot


WARNING in gfs2_check_blk_type

Status: upstream: reported C repro on 2022/12/12 07:03
Subsystems: cluster (incorrect?)
Reported-by: syzbot+092b28923eb79e0f3c41@syzkaller.appspotmail.com
First crash: 104d, last: 11d

Cause bisection: failed (error log, bisect log)

Sample crash report:
gfs2: fsid=syz:syz.0: first mount done, others may mount
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3635 at fs/gfs2/rgrp.c:2628 gfs2_rbm_from_block fs/gfs2/rgrp.c:279 [inline]
WARNING: CPU: 0 PID: 3635 at fs/gfs2/rgrp.c:2628 gfs2_check_blk_type+0x43d/0x660 fs/gfs2/rgrp.c:2627
Modules linked in:
CPU: 0 PID: 3635 Comm: syz-executor328 Not tainted 6.1.0-rc8-syzkaller-00164-g4cee37b3a4e6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:gfs2_check_blk_type+0x43d/0x660 fs/gfs2/rgrp.c:2628
Code: 85 c6 01 00 00 8b 1b 89 df 44 89 f6 e8 1c ae cd fd 4c 89 74 24 10 44 39 f3 76 21 e8 6d ac cd fd 45 31 ed eb 6d e8 63 ac cd fd <0f> 0b 41 bf f9 ff ff ff 48 8b 5c 24 18 e9 41 01 00 00 e8 4c ac cd
RSP: 0018:ffffc90003c0f8c0 EFLAGS: 00010293
RAX: ffffffff83bcf389 RBX: 0000000000000012 RCX: ffff88802243ba80
RDX: 0000000000000000 RSI: 0000000000000012 RDI: 0000000000000013
RBP: ffffc90003c0f9d0 R08: ffffffff83bcf37f R09: ffffed100e7a15dd
R10: ffffed100e7a15dd R11: 1ffff1100e7a15dc R12: 1ffff1100ea34806
R13: ffff8880751a4000 R14: 1ffff1100ea34805 R15: 0000000000000013
FS:  0000555556210300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055bda9265e90 CR3: 000000001d27a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 gfs2_inode_lookup+0xb66/0xd90 fs/gfs2/inode.c:173
 gfs2_lookup_by_inum+0x4d/0xe0 fs/gfs2/inode.c:241
 gfs2_get_dentry fs/gfs2/export.c:139 [inline]
 gfs2_fh_to_dentry+0x12d/0x1f0 fs/gfs2/export.c:162
 exportfs_decode_fh_raw+0x115/0x600 fs/exportfs/expfs.c:435
 exportfs_decode_fh+0x38/0x70 fs/exportfs/expfs.c:575
 do_handle_to_path fs/fhandle.c:152 [inline]
 handle_to_path fs/fhandle.c:207 [inline]
 do_handle_open+0x485/0x950 fs/fhandle.c:223
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f27f5ae1799
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd97d6fbf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f27f5ae1799
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 00007f27f5aa1030 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000124d6 R11: 0000000000000246 R12: 00007f27f5aa10c0
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (20):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci2-upstream-fs 2022/12/12 00:22 upstream 4cee37b3a4e6 67be1ae7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/03/14 21:41 upstream 4979bf866825 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/03/06 04:44 upstream f915322fe014 f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/02/28 03:30 upstream 982818426a0f 95aee97a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/02/20 16:03 upstream c9c3395d5e3d bcdf85f8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/02/09 08:06 upstream 0983f6bf2bfc 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/01/30 12:18 upstream 6d796c50f84c b68fb8d6 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/01/28 05:25 upstream 83abd4d4c4be 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/01/24 11:57 upstream 7bf70dbb1882 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/01/23 15:15 upstream 2475bf0250de 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/01/22 16:26 upstream 2241ab53cbb5 cc0f9968 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci-upstream-kasan-gce-root 2023/01/16 07:45 upstream 5dc4c995db9e a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/01/15 13:17 upstream 7c6984405241 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/01/10 04:05 upstream 1fe4fd6f5cad 48bc529a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2023/01/02 03:04 upstream e4cf7c25bae5 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2022/12/26 18:44 upstream 1b929c02afd3 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2022/12/22 11:12 upstream b6bb9676f216 4067838e .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci2-upstream-fs 2022/12/12 00:06 upstream 4cee37b3a4e6 67be1ae7 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci-upstream-gce-arm64 2023/03/14 21:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e 0d5c4377 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
ci-upstream-gce-arm64 2023/02/20 18:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2d3827b3f393 4f5f5209 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in gfs2_check_blk_type
* Struck through repros no longer work on HEAD.