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: 678d, last: 11d
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 (15)
Title Replies (including bot) Last reply
[syzbot] Monthly gfs2 report (May 2025) 0 (1) 2025/05/12 13:34
[syzbot] Monthly gfs2 report (Apr 2025) 0 (1) 2025/04/09 07:11
[syzbot] Monthly gfs2 report (Mar 2025) 0 (1) 2025/03/08 22:16
[syzbot] Monthly gfs2 report (Feb 2025) 0 (1) 2025/02/05 12:43
[syzbot] Monthly gfs2 report (Jan 2025) 0 (1) 2025/01/06 10:01
[syzbot] Monthly gfs2 report (Dec 2024) 0 (1) 2024/12/05 09:04
[syzbot] Monthly gfs2 report (Nov 2024) 0 (1) 2024/11/04 11:34
[syzbot] Monthly gfs2 report (Oct 2024) 0 (1) 2024/10/03 09:03
[syzbot] Monthly gfs2 report (Sep 2024) 0 (1) 2024/09/02 08:16
[syzbot] Monthly gfs2 report (Aug 2024) 0 (1) 2024/08/02 07:26
[syzbot] Monthly gfs2 report (Jul 2024) 0 (1) 2024/07/01 10:27
[syzbot] Monthly gfs2 report (May 2024) 0 (1) 2024/05/31 06:48
[syzbot] Monthly gfs2 report (Apr 2024) 0 (1) 2024/04/29 12:34
[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 Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in gfs2_check_blk_type origin:upstream -1 C error 71 14d 937d 0/3 upstream: reported C repro on 2023/06/19 08:48
linux-6.1 WARNING in gfs2_check_blk_type origin:upstream -1 C error 12 363d 937d 0/3 upstream: reported C repro on 2023/06/19 08:08
upstream WARNING in gfs2_check_blk_type gfs2 -1 C error done 67 723d 1126d 25/29 fixed on 2024/03/04 12:43
Last patch testing requests (10)
Created Duration User Patch Repo Result
2026/01/01 03:43 28m retest repro upstream report log
2025/12/15 04:31 28m retest repro upstream report log
2025/12/01 00:00 1h08m retest repro upstream report log
2025/12/01 00:00 32m retest repro upstream report log
2025/11/16 23:21 14m retest repro upstream report log
2025/11/02 23:01 12m retest repro upstream report log
2025/11/02 23:01 12m retest repro upstream report log
2025/10/19 22:21 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/10/05 18:07 3h50m retest repro upstream report log
2025/10/05 20:03 12m retest repro upstream report log

Sample crash report:
gfs2: fsid=syz:syz.0: first mount done, others may mount
------------[ cut here ]------------
WARNING: fs/gfs2/rgrp.c:2628 at gfs2_check_blk_type+0x2d2/0x360 fs/gfs2/rgrp.c:2628, CPU#0: syz.0.17/5982
Modules linked in:
CPU: 0 UID: 0 PID: 5982 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:gfs2_check_blk_type+0x2d2/0x360 fs/gfs2/rgrp.c:2628
Code: 89 e7 e8 81 56 f9 ff eb a8 89 44 24 08 89 4c 24 10 e8 62 55 09 fe 48 63 44 24 08 8b 4c 24 10 e9 ab fe ff ff e8 ef 6f a0 fd 90 <0f> 0b 90 e9 72 ff ff ff 41 bf ea ff ff ff e9 74 ff ff ff e8 36 55
RSP: 0018:ffffc900030a7920 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 1ffff92000614f28 RCX: ffffffff841e64ac
RDX: ffff888028f53d00 RSI: ffffffff841e6641 RDI: 0000000000000005
RBP: ffffc900030a7a30 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff9 R11: ffff888028f54830 R12: ffffc900030a7980
R13: 0000000000000012 R14: ffff88801f39a000 R15: 00000000fffffff9
FS:  00005555799e5500(0000) GS:ffff8881248f6000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fa63fff CR3: 0000000078735000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 gfs2_inode_lookup+0x75d/0x910 fs/gfs2/inode.c:192
 gfs2_lookup_by_inum+0x48/0x100 fs/gfs2/inode.c:265
 gfs2_get_dentry fs/gfs2/export.c:139 [inline]
 gfs2_fh_to_dentry+0x1a4/0x200 fs/gfs2/export.c:160
 exportfs_decode_fh_raw+0x167/0x7d0 fs/exportfs/expfs.c:456
 do_handle_to_path fs/fhandle.c:276 [inline]
 handle_to_path fs/fhandle.c:400 [inline]
 do_handle_open+0x712/0xd10 fs/fhandle.c:424
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f10c3b8f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdf0a83f28 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 00007f10c3de5fa0 RCX: 00007f10c3b8f749
RDX: 0000000000000000 RSI: 0000200000000080 RDI: 0000000000000004
RBP: 00007f10c3c13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f10c3de5fa0 R14: 00007f10c3de5fa0 R15: 0000000000000003
 </TASK>

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/18 03:43 upstream ea1013c15392 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-kasan-badwrites-root WARNING in gfs2_check_blk_type
2025/03/22 22:26 upstream 88d324e69ea9 c6512ef7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci-upstream-kasan-gce-root WARNING in gfs2_check_blk_type
2024/05/26 18:49 upstream 9b62e02e6336 a10a183e .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-badwrites-root WARNING in gfs2_check_blk_type
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/10/31 03:27 upstream 4236f913808c fb888278 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root WARNING in gfs2_check_blk_type
2024/05/15 17:54 upstream 1b294a1f3561 7e8e0c0f .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/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/10/31 03:10 upstream 4236f913808c fb888278 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gfs2_check_blk_type
2024/09/14 22:32 upstream b7718454f937 08d8a733 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root 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.