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: 438d, last: 9d19h
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 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in gfs2_check_blk_type origin:upstream C error 71 13d 697d 0/3 upstream: reported C repro on 2023/06/19 08:48
linux-6.1 WARNING in gfs2_check_blk_type origin:upstream C error 12 123d 697d 0/3 upstream: reported C repro on 2023/06/19 08:08
upstream WARNING in gfs2_check_blk_type gfs2 C error done 67 483d 887d 25/28 fixed on 2024/03/04 12:43
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/05/07 11:04 13m retest repro upstream report log
2025/04/20 00:27 25m retest repro upstream report log
2025/04/20 00:27 29m retest repro upstream report log
2025/04/20 00:27 16m retest repro upstream report log
2025/04/20 00:18 14m retest repro upstream report log
2025/04/05 22:53 12m retest repro upstream report log
2025/04/05 22:53 12m retest repro upstream report log
2025/03/09 19:33 18m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/02/23 18:53 13m retest repro upstream report log
2025/02/08 20:34 3h30m retest repro upstream report log

Sample crash report:
gfs2: fsid=syz:syz.0: first mount done, others may mount
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5833 at fs/gfs2/rgrp.c:2628 gfs2_check_blk_type+0x44e/0x680 fs/gfs2/rgrp.c:2628
Modules linked in:
CPU: 1 UID: 0 PID: 5833 Comm: syz-executor752 Not tainted 6.14.0-rc7-syzkaller-00196-g88d324e69ea9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:gfs2_check_blk_type+0x44e/0x680 fs/gfs2/rgrp.c:2628
Code: d4 01 00 00 8b 1b 89 df 44 89 f6 e8 5c 96 a2 fd 4c 89 74 24 10 44 39 f3 76 23 e8 8d 94 a2 fd 45 31 ed eb 70 e8 83 94 a2 fd 90 <0f> 0b 90 41 bf f9 ff ff ff 48 8b 5c 24 18 e9 46 01 00 00 e8 6a 94
RSP: 0018:ffffc90003c278a0 EFLAGS: 00010293
RAX: ffffffff841f4a9c RBX: ffff888029baa028 RCX: ffff888035129e00
RDX: 0000000000000000 RSI: 0000000000000012 RDI: 0000000000000013
RBP: ffffc90003c279b0 R08: ffffffff841f4a92 R09: 1ffff1100e2d5ddc
R10: dffffc0000000000 R11: ffffed100e2d5ddd R12: 1ffff11005375406
R13: ffff888029baa000 R14: 0000000000000012 R15: 0000000000000013
FS:  0000555580a46380(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdd250900f8 CR3: 0000000073b9a000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 gfs2_inode_lookup+0xafc/0xc90 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+0x16d/0x730 fs/exportfs/expfs.c:457
 do_handle_to_path+0xba/0x1b0 fs/fhandle.c:257
 handle_to_path fs/fhandle.c:385 [inline]
 do_handle_open+0x88d/0xb00 fs/fhandle.c:403
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fdd25006cd9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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:00007ffe913b09f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fdd25006cd9
RDX: 0000000000000000 RSI: 0000200000000080 RDI: 0000000000000004
RBP: 00007fdd2508c5f0 R08: 0000555580a474c0 R09: 0000555580a474c0
R10: 0000000000012725 R11: 0000000000000246 R12: 00007ffe913b0a20
R13: 00007ffe913b0c48 R14: 431bde82d7b634db R15: 00007fdd2504f03b
 </TASK>

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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.