syzbot


WARNING in gfs2_check_blk_type (2)

Status: upstream: reported C repro on 2024/03/05 11:03
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+26e96d7e92eed8a21405@syzkaller.appspotmail.com
First crash: 53d, last: 13d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: WARNING in gfs2_rbm_from_block (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly gfs2 report (Mar 2024) 0 (1) 2024/03/26 10:19
[syzbot] [gfs2?] WARNING in gfs2_check_blk_type (2) 0 (1) 2024/03/05 11:03
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in gfs2_check_blk_type origin:upstream C error 53 34m 312d 0/3 upstream: reported C repro on 2023/06/19 08:48
linux-6.1 WARNING in gfs2_check_blk_type origin:upstream C 11 6d06h 313d 0/3 upstream: reported C repro on 2023/06/19 08:08
upstream WARNING in gfs2_check_blk_type gfs2 C error done 67 98d 502d 26/26 fixed on 2024/03/04 12:43
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/04/04 04:11 15m retest repro upstream report log

Sample crash report:
gfs2: fsid=syz:syz.0: first mount done, others may mount
------------[ cut here ]------------
WARNING: CPU: 0 PID: 5073 at fs/gfs2/rgrp.c:2630 gfs2_check_blk_type+0x44e/0x680 fs/gfs2/rgrp.c:2630
Modules linked in:
CPU: 0 PID: 5073 Comm: syz-executor243 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:gfs2_check_blk_type+0x44e/0x680 fs/gfs2/rgrp.c:2630
Code: d4 01 00 00 8b 1b 89 df 44 89 f6 e8 6c 38 b6 fd 4c 89 74 24 10 44 39 f3 76 23 e8 9d 36 b6 fd 45 31 ed eb 70 e8 93 36 b6 fd 90 <0f> 0b 90 41 bf f9 ff ff ff 48 8b 5c 24 18 e9 46 01 00 00 e8 7a 36
RSP: 0018:ffffc90003abf8c0 EFLAGS: 00010293
RAX: ffffffff83debe0c RBX: ffff88801f5c8028 RCX: ffff888022150000
RDX: 0000000000000000 RSI: 0000000000000012 RDI: 0000000000000013
RBP: ffffc90003abf9d0 R08: ffffffff83debe02 R09: 1ffff1100f513ddc
R10: dffffc0000000000 R11: ffffed100f513ddd R12: 1ffff11003eb9006
R13: ffff88801f5c8000 R14: 0000000000000012 R15: 0000000000000013
FS:  0000555584d64380(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000066c7e0 CR3: 0000000022028000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 gfs2_inode_lookup+0xb05/0xc60 fs/gfs2/inode.c:178
 gfs2_lookup_by_inum+0x51/0xf0 fs/gfs2/inode.c:251
 gfs2_get_dentry fs/gfs2/export.c:139 [inline]
 gfs2_fh_to_dentry+0x13a/0x1f0 fs/gfs2/export.c:160
 exportfs_decode_fh_raw+0x154/0x5f0 fs/exportfs/expfs.c:444
 exportfs_decode_fh+0x3c/0x80 fs/exportfs/expfs.c:584
 do_handle_to_path fs/fhandle.c:155 [inline]
 handle_to_path fs/fhandle.c:210 [inline]
 do_handle_open+0x495/0x650 fs/fhandle.c:226
 do_syscall_64+0xfd/0x240
 entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f0fc0c855c9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007fffa624d7c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 00007fffa624d998 RCX: 00007f0fc0c855c9
RDX: 0000000000000000 RSI: 0000000020012940 RDI: 0000000000000003
RBP: 00007f0fc0d0b610 R08: 0000000000012714 R09: 00007fffa624d998
R10: 00007fffa624d680 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffa624d988 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/10 14:13 upstream fe46a7dd189e 56086b24 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in gfs2_check_blk_type
2024/03/05 02:54 upstream 90d35da658da 5fc53669 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in gfs2_check_blk_type
2024/03/21 04:10 upstream dba89d1b81df 6753db5c .config console log report syz C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-qemu-upstream WARNING in gfs2_check_blk_type
2024/03/09 17:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 707081b61156 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2024/04/12 20:08 upstream fe46a7dd189e 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root WARNING in gfs2_check_blk_type
2024/03/08 11:36 upstream 3aaa8ce7a335 cf82cde1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2024/03/06 05:30 upstream 29cd507cbec2 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2024/03/05 02:35 upstream 90d35da658da 5fc53669 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in gfs2_check_blk_type
2024/04/13 15:23 upstream 8f2c057754b2 c8349e48 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream WARNING in gfs2_check_blk_type
2024/04/13 15:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2024/04/13 15:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
2024/04/12 20:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci b5d2afe8745b 27de0a5c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in gfs2_check_blk_type
* Struck through repros no longer work on HEAD.