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: 94d, last: 7d12h
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 (3)
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] [gfs2?] kernel BUG in gfs2_assert_warn_i 0 (2) 2024/09/29 08:52
Last patch testing requests (3)
Created Duration User Patch Repo Result
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 176779
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] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5308 Comm: syz-executor118 Not tainted 6.12.0-rc5-syzkaller-00005-ge42b1a9a2557 #0
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 c0 07 50 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 ff d5 07 e8 02 09 a7 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90
RSP: 0018:ffffc9000ceff608 EFLAGS: 00010293
RAX: ffffffff83edcf8e RBX: 0000000000000004 RCX: ffff888000b02440
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffff8880122a0000 R08: ffffffff83edce47 R09: 1ffff920019dfe5c
R10: dffffc0000000000 R11: fffff520019dfe5d R12: ffff8880122a02bc
R13: 00000000000003e8 R14: 1ffff11002454057 R15: 0000000000002146
FS:  00005555951f1380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3c831f3870 CR3: 0000000041c90000 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+0xd7b/0x1440 fs/gfs2/quota.c:1470
 gfs2_make_fs_rw+0x43f/0x5e0 fs/gfs2/super.c:159
 gfs2_fill_super+0x22a1/0x24d0 fs/gfs2/ops_fstype.c:1274
 get_tree_bdev+0x3f7/0x570 fs/super.c:1635
 gfs2_get_tree+0x54/0x220 fs/gfs2/ops_fstype.c:1330
 vfs_get_tree+0x90/0x2b0 fs/super.c:1800
 do_new_mount+0x2be/0xb40 fs/namespace.c:3507
 do_mount fs/namespace.c:3847 [inline]
 __do_sys_mount fs/namespace.c:4057 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe151f0816a
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:00007ffc5246b8d8 EFLAGS: 00000282 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007ffc5246b8f0 RCX: 00007fe151f0816a
RDX: 0000000020021140 RSI: 0000000020021180 RDI: 00007ffc5246b8f0
RBP: 0000000000000004 R08: 00007ffc5246b930 R09: 000000000002116a
R10: 000000000300c888 R11: 0000000000000282 R12: 000000000300c888
R13: 00007ffc5246b930 R14: 0000000000000003 R15: 0000000001000000
 </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 c0 07 50 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 ff d5 07 e8 02 09 a7 fd 90 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90
RSP: 0018:ffffc9000ceff608 EFLAGS: 00010293
RAX: ffffffff83edcf8e RBX: 0000000000000004 RCX: ffff888000b02440
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000000
RBP: ffff8880122a0000 R08: ffffffff83edce47 R09: 1ffff920019dfe5c
R10: dffffc0000000000 R11: fffff520019dfe5d R12: ffff8880122a02bc
R13: 00000000000003e8 R14: 1ffff11002454057 R15: 0000000000002146
FS:  00005555951f1380(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3c831f3870 CR3: 0000000041c90000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
* Struck through repros no longer work on HEAD.