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: 1130d, last: 556d
▶
▼
Bug presence (1)
| Date |
Name |
Commit |
Repro |
Result |
| 2023/09/16 |
upstream (ToT) |
57d88e8a5974 |
C
|
[report] WARNING in gfs2_check_blk_type
|
▶
▼
Fix bisection attempts (14)
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>
* Struck through repros no longer work on HEAD.