syzbot


INFO: trying to register non-static key in gfs2_quotad

Status: upstream: reported on 2025/10/20 15:38
Reported-by: syzbot+a1fb87899927e521b3ae@syzkaller.appspotmail.com
First crash: 56d, last: 11d
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: trying to register non-static key in gfs2_quotad (2) origin:upstream -1 C 11 5h43m 40d 0/3 upstream: reported C repro on 2025/11/05 15:15
linux-6.1 INFO: trying to register non-static key in gfs2_quotad -1 1 217d 217d 0/3 auto-obsoleted due to no activity on 2025/08/21 07:29

Sample crash report:
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 1 PID: 5518 Comm: gfs2_quotad Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 assign_lock_key+0x1e0/0x1f0 kernel/locking/lockdep.c:937
 register_lock_class+0x20e/0x880 kernel/locking/lockdep.c:1250
 __lock_acquire+0x160/0x7c60 kernel/locking/lockdep.c:4891
 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162
 finish_wait+0xb5/0x1d0 kernel/sched/wait.c:407
 gfs2_quotad+0x703/0x880 fs/gfs2/quota.c:1605
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
list_del corruption. prev->next should be ffffc900034ffe58, but was 0000000000000000
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5518 Comm: gfs2_quotad Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__list_del_entry_valid+0x107/0x120 lib/list_debug.c:59
Code: 48 89 de e8 2b d2 bf 05 0f 0b 48 c7 c7 c0 e9 59 8a 48 89 de e8 1a d2 bf 05 0f 0b 48 c7 c7 20 ea 59 8a 48 89 de e8 09 d2 bf 05 <0f> 0b 48 c7 c7 80 ea 59 8a 48 89 de e8 f8 d1 bf 05 0f 0b 00 00 cc
RSP: 0018:ffffc900034ffd10 EFLAGS: 00010046

RAX: 0000000000000054 RBX: ffffc900034ffe58 RCX: 806d064dccb11100
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff182222d
R10: fffffbfff182222d R11: 1ffffffff182222c R12: dffffc0000000000
R13: ffff88807c700b98 R14: ffff88807c700bd8 R15: ffff88807c700bd8
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9fd2b27e9c CR3: 000000002aff8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:132 [inline]
 list_del_init include/linux/list.h:204 [inline]
 finish_wait+0xc0/0x1d0 kernel/sched/wait.c:408
 gfs2_quotad+0x703/0x880 fs/gfs2/quota.c:1605
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:
---[ end trace d8b778aa3be79a53 ]---
RIP: 0010:__list_del_entry_valid+0x107/0x120 lib/list_debug.c:59
Code: 48 89 de e8 2b d2 bf 05 0f 0b 48 c7 c7 c0 e9 59 8a 48 89 de e8 1a d2 bf 05 0f 0b 48 c7 c7 20 ea 59 8a 48 89 de e8 09 d2 bf 05 <0f> 0b 48 c7 c7 80 ea 59 8a 48 89 de e8 f8 d1 bf 05 0f 0b 00 00 cc
RSP: 0018:ffffc900034ffd10 EFLAGS: 00010046
RAX: 0000000000000054 RBX: ffffc900034ffe58 RCX: 806d064dccb11100
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff182222d
R10: fffffbfff182222d R11: 1ffffffff182222c R12: dffffc0000000000
R13: ffff88807c700b98 R14: ffff88807c700bd8 R15: ffff88807c700bd8
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9fd2b27e9c CR3: 000000002aff8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/04 17:58 linux-5.15.y cc5ec8769306 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in gfs2_quotad
2025/10/20 15:38 linux-5.15.y ac56c046adf4 d422939c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: trying to register non-static key in gfs2_quotad
* Struck through repros no longer work on HEAD.