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: 276d, last: 8d01h
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 (10)
Title Replies (including bot) Last reply
[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 70 62d 535d 0/3 upstream: reported C repro on 2023/06/19 08:48
linux-6.1 WARNING in gfs2_check_blk_type origin:upstream C 12 5d07h 535d 0/3 upstream: reported C repro on 2023/06/19 08:08
upstream WARNING in gfs2_check_blk_type gfs2 C error done 67 321d 724d 25/28 fixed on 2024/03/04 12:43
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/11/28 04:04 16m retest repro upstream report log
2024/11/14 03:35 12m retest repro upstream report log
2024/11/14 03:35 12m retest repro upstream report log
2024/11/14 03:32 13m retest repro upstream report log
2024/10/27 01:12 15m retest repro upstream report log
2024/10/13 00:40 17m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/09/28 23:52 38m retest repro upstream report log
2024/09/02 01:48 21m retest repro upstream report log
2024/09/02 01:48 21m retest repro upstream report log
2024/08/19 01:31 16m 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: 5091 at fs/gfs2/rgrp.c:2630 gfs2_check_blk_type+0x2cf/0x340 fs/gfs2/rgrp.c:2630
Modules linked in:
CPU: 0 PID: 5091 Comm: syz-executor718 Not tainted 6.9.0-syzkaller-12393-g9b62e02e6336 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:gfs2_check_blk_type+0x2cf/0x340 fs/gfs2/rgrp.c:2630
Code: 89 f7 e8 b4 4e f9 ff eb a6 89 44 24 04 89 4c 24 08 e8 f5 9f 27 fe 48 63 44 24 04 8b 4c 24 08 e9 aa fe ff ff e8 82 20 cb fd 90 <0f> 0b 90 e9 70 ff ff ff bb ea ff ff ff e9 73 ff ff ff e8 ca 9f 27
RSP: 0018:ffffc9000323f970 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000fffffff9 RCX: ffffffff83c3fc29
RDX: ffff88807b899e00 RSI: ffffffff83c3fdbe RDI: 0000000000000005
RBP: ffffc9000323fa70 R08: 0000000000000005 R09: 0000000000000000
R10: 00000000fffffff9 R11: 0000000000000000 R12: 1ffff92000647f30
R13: ffff888076c64000 R14: ffffc9000323f9c0 R15: 0000000000000012
FS:  00005555740bf380(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa2c57790f8 CR3: 00000000787f6000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 gfs2_inode_lookup+0x6f3/0x8a0 fs/gfs2/inode.c:178
 gfs2_lookup_by_inum+0x48/0x100 fs/gfs2/inode.c:251
 gfs2_get_dentry fs/gfs2/export.c:139 [inline]
 gfs2_fh_to_dentry+0x1a4/0x200 fs/gfs2/export.c:160
 exportfs_decode_fh_raw+0x138/0x7a0 fs/exportfs/expfs.c:444
 exportfs_decode_fh+0x3c/0x90 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+0x35f/0x5c0 fs/fhandle.c:226
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa2c56efa69
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:00007ffdb9e9a758 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa2c56efa69
RDX: 0000000000000000 RSI: 0000000020012940 RDI: 0000000000000003
RBP: 00007fa2c57755f0 R08: 0000000000012714 R09: 00005555740c04c0
R10: 00007ffdb9e9a620 R11: 0000000000000246 R12: 00007ffdb9e9a780
R13: 00007ffdb9e9a9a8 R14: 431bde82d7b634db R15: 00007fa2c573801d
 </TASK>

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