syzbot


WARNING in gfs2_check_blk_type

Status: upstream: reported C repro on 2023/06/19 08:08
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+17b1d6e43bf67dcfc9c7@syzkaller.appspotmail.com
First crash: 365d, last: 24d
Bug presence (1)
Date Name Commit Repro Result
2023/09/16 upstream (ToT) 57d88e8a5974 C [report] WARNING in gfs2_check_blk_type
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 69 47d 365d 0/3 upstream: reported C repro on 2023/06/19 08:48
upstream WARNING in gfs2_check_blk_type (2) gfs2 C inconclusive 14 9d10h 105d 0/27 upstream: reported C repro on 2024/03/05 11:03
upstream WARNING in gfs2_check_blk_type gfs2 C error done 67 151d 554d 26/27 fixed on 2024/03/04 12:43
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/05/25 07:46 1h35m bisect fix linux-6.1.y job log (0) log
2024/04/08 20:42 1h27m bisect fix linux-6.1.y job log (0) log
2024/03/08 16:54 1h22m bisect fix linux-6.1.y job log (0) log
2024/01/30 08:00 1h01m bisect fix linux-6.1.y job log (0) log
2023/11/24 20:27 1h05m bisect fix linux-6.1.y job log (0) log
2023/10/21 13:26 1h02m bisect fix linux-6.1.y job log (0) log
2023/08/08 10:11 4h31m bisect fix linux-6.1.y job log (0) log

Sample crash report:
gfs2: fsid=syz:syz.0: first mount done, others may mount
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3543 at fs/gfs2/rgrp.c:2628 gfs2_rbm_from_block fs/gfs2/rgrp.c:279 [inline]
WARNING: CPU: 1 PID: 3543 at fs/gfs2/rgrp.c:2628 gfs2_check_blk_type+0x445/0x670 fs/gfs2/rgrp.c:2627
Modules linked in:
CPU: 1 PID: 3543 Comm: syz-executor344 Not tainted 6.1.69-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
RIP: 0010:gfs2_check_blk_type+0x445/0x670 fs/gfs2/rgrp.c:2628
Code: 85 d2 01 00 00 8b 1b 89 df 44 89 f6 e8 04 22 ce fd 4c 89 74 24 10 44 39 f3 76 21 e8 95 20 ce fd 45 31 ed eb 6e e8 8b 20 ce fd <0f> 0b 41 bf f9 ff ff ff 48 8b 5c 24 18 e9 46 01 00 00 e8 74 20 ce
RSP: 0018:ffffc90003aff8c0 EFLAGS: 00010293
RAX: ffffffff83bc6cd4 RBX: ffff8880230e6028 RCX: ffff8880287d5940
RDX: 0000000000000000 RSI: 0000000000000012 RDI: 0000000000000013
RBP: ffffc90003aff9d0 R08: ffffffff83bc6cca R09: ffffed100e79addd
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1100461cc06
R13: ffff8880230e6000 R14: 0000000000000012 R15: 0000000000000013
FS:  0000555555715380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055a8c3f110b0 CR3: 000000002227f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 gfs2_inode_lookup+0xb2c/0xd50 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+0x131/0x1f0 fs/gfs2/export.c:162
 exportfs_decode_fh_raw+0x140/0x590 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+0x44c/0x960 fs/fhandle.c:223
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f124b7a25c9
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:00007ffe79a91c08 EFLAGS: 00000246 ORIG_RAX: 0000000000000130
RAX: ffffffffffffffda RBX: 00007ffe79a91dd8 RCX: 00007f124b7a25c9
RDX: 0000000000000000 RSI: 0000000020012940 RDI: 0000000000000003
RBP: 00007f124b828610 R08: 0000000000012714 R09: 00007ffe79a91dd8
R10: 00007ffe79a91ac0 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffe79a91dc8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/12/25 11:09 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in gfs2_check_blk_type
2023/09/16 02:27 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in gfs2_check_blk_type
2024/04/21 01:28 linux-6.1.y 6741e066ec76 af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in gfs2_check_blk_type
2023/06/19 08:22 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in gfs2_check_blk_type
2023/12/25 10:53 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in gfs2_check_blk_type
2024/04/13 16:38 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in gfs2_check_blk_type
2024/04/13 16:38 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in gfs2_check_blk_type
2024/04/13 16:38 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in gfs2_check_blk_type
2024/04/12 20:11 linux-6.1.y bf1e3b1cb1e0 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in gfs2_check_blk_type
2023/12/28 13:14 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in gfs2_check_blk_type
2023/06/19 08:08 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in gfs2_check_blk_type
* Struck through repros no longer work on HEAD.