syzbot


kernel BUG in gfs2_assert_warn_i

Status: upstream: reported C repro on 2024/09/12 09:46
Subsystems: gfs2
[Documentation on labels]
Reported-by: syzbot+ffe01cefd437cbde362b@syzkaller.appspotmail.com
First crash: 232d, last: 6d13h
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG in gfs2_glock_nq (log)
Repro: C syz .config
  
Discussions (5)
Title Replies (including bot) Last reply
[syzbot] Monthly gfs2 report (Apr 2025) 0 (1) 2025/04/09 07:11
[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] [gfs2?] kernel BUG in gfs2_assert_warn_i 0 (2) 2024/09/29 08:52
Last patch testing requests (9)
Created Duration User Patch Repo Result
2025/04/23 05:24 15m retest repro upstream report log
2025/04/04 06:08 16m retest repro upstream report log
2025/04/04 06:08 16m retest repro upstream report log
2025/02/13 00:20 1h11m retest repro linux-next report log
2025/01/24 04:27 12m retest repro upstream error
2025/01/24 04:27 13m retest repro upstream error
2024/12/04 23:04 16m retest repro linux-next report log
2024/11/12 11:24 13m retest repro upstream report log
2024/10/24 06:16 13m retest repro upstream report log

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

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/09 05:20 upstream bec7dcbc242c b133e63a .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-snapshot-upstream-root kernel BUG in gfs2_assert_warn_i
2024/10/29 11:19 upstream e42b1a9a2557 66aeb999 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in gfs2_assert_warn_i
2024/09/29 08:51 upstream 3efc57369a0c ba29ff75 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in gfs2_assert_warn_i
2024/11/20 22:58 linux-next ac24e26aa08f 4fca1650 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_assert_warn_i
2025/04/09 04:11 upstream bec7dcbc242c b133e63a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_assert_warn_i
2025/01/10 04:19 upstream 643e2e259c2b 67d7ec0a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_assert_warn_i
2024/12/27 18:02 upstream d6ef8b40d075 d3ccff63 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_assert_warn_i
2024/10/10 06:13 upstream b983b271662b 0278d004 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_assert_warn_i
2024/09/09 00:08 upstream 89f5e14d05b4 9750182a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in gfs2_assert_warn_i
2025/01/02 15:24 linux-next 8155b4ef3466 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in gfs2_assert_warn_i
* Struck through repros no longer work on HEAD.