syzbot
kernel BUG in gfs2_assert_warn_i
Status:
upstream: reported C repro on 2024/09/12 09:46
Subsystems:
gfs2
Labels:
prio:normal
[Documentation on labels]
Reported-by: syzbot+ffe01cefd437cbde362b@syzkaller.appspotmail.com
First crash: 704d, last: 133d
▶
▼
Last patch testing requests (10)
Sample crash report:
gfs2: fsid=syz:syz.0: Corruption found in quota_change0file: duplicate identifier in slot 42780
gfs2: fsid=syz:syz.0: warning: assertion "!qd->qd_change" failed - function = gfs2_qd_dispose, file = fs/gfs2/quota.c, line = 129
------------[ cut here ]------------
kernel BUG at fs/gfs2/util.c:414!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5329 Comm: syz-executor396 Not tainted 6.15.0-rc1-syzkaller-00025-gbec7dcbc242c #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:gfs2_assert_warn_i+0x2df/0x2f0 fs/gfs2/util.c:414
Code: fe 48 c7 c7 a0 86 90 8c 48 89 ee 48 8b 54 24 08 48 8b 4c 24 10 4c 8b 44 24 18 44 8b 4c 24 04 e8 f7 1f fc fc e8 52 71 98 fd 90 <0f> 0b 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
RSP: 0018:ffffc9000d46f648 EFLAGS: 00010293
RAX: ffffffff842ae41e RBX: 0000000000000004 RCX: ffff88800080a440
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffff88803f5d0000 R08: ffffffff842ae2d7 R09: 1ffff92001a8de64
R10: dffffc0000000000 R11: fffff52001a8de65 R12: ffff88803f5d02bc
R13: 00000000000003e8 R14: 1ffff11007eba057 R15: 0000000000000486
FS: 000055557064b380(0000) GS:ffff88808c596000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff8808c108 CR3: 0000000043aec000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
gfs2_qd_dispose+0x4af/0x5b0 fs/gfs2/quota.c:129
gfs2_quota_init+0xd72/0x1430 fs/gfs2/quota.c:1469
gfs2_make_fs_rw+0x44a/0x5d0 fs/gfs2/super.c:159
gfs2_fill_super+0x2529/0x27b0 fs/gfs2/ops_fstype.c:1274
get_tree_bdev_flags+0x490/0x5c0 fs/super.c:1636
gfs2_get_tree+0x54/0x220 fs/gfs2/ops_fstype.c:1330
vfs_get_tree+0x90/0x2b0 fs/super.c:1759
do_new_mount+0x2cf/0xb70 fs/namespace.c:3879
do_mount fs/namespace.c:4219 [inline]
__do_sys_mount fs/namespace.c:4430 [inline]
__se_sys_mount+0x38c/0x400 fs/namespace.c:4407
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f44c81eaf2a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 5e 04 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007fff5ebef048 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fff5ebef060 RCX: 00007f44c81eaf2a
RDX: 0000200000037f40 RSI: 0000200000037f80 RDI: 00007fff5ebef060
RBP: 0000200000037f80 R08: 00007fff5ebef0a0 R09: 0000000000037f9e
R10: 0000000000000000 R11: 0000000000000282 R12: 0000200000037f40
R13: 00007fff5ebef0a0 R14: 0000000000000003 R15: 0000000000000000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:gfs2_assert_warn_i+0x2df/0x2f0 fs/gfs2/util.c:414
Code: fe 48 c7 c7 a0 86 90 8c 48 89 ee 48 8b 54 24 08 48 8b 4c 24 10 4c 8b 44 24 18 44 8b 4c 24 04 e8 f7 1f fc fc e8 52 71 98 fd 90 <0f> 0b 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
RSP: 0018:ffffc9000d46f648 EFLAGS: 00010293
RAX: ffffffff842ae41e RBX: 0000000000000004 RCX: ffff88800080a440
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffff88803f5d0000 R08: ffffffff842ae2d7 R09: 1ffff92001a8de64
R10: dffffc0000000000 R11: fffff52001a8de65 R12: ffff88803f5d02bc
R13: 00000000000003e8 R14: 1ffff11007eba057 R15: 0000000000000486
FS: 000055557064b380(0000) GS:ffff88808c596000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff8808c108 CR3: 0000000043aec000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.