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: 160d, last: 45d
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 42 1d10h 144d 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 321d 321d 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: 4771 Comm: gfs2_quotad Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
 <TASK>
 dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106
 assign_lock_key+0x1ec/0x200 kernel/locking/lockdep.c:937
 register_lock_class+0x21d/0x890 kernel/locking/lockdep.c:1250
 __lock_acquire+0x16f/0x7d10 kernel/locking/lockdep.c:4891
 lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162
 finish_wait+0xb5/0x1d0 kernel/sched/wait.c:407
 gfs2_quotad+0x710/0x890 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 ffffc90003b17e58, but was 0000000000000000
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4771 Comm: gfs2_quotad Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
RIP: 0010:__list_del_entry_valid+0x107/0x120 lib/list_debug.c:59
Code: 48 89 de e8 8b 63 c9 05 0f 0b 48 c7 c7 80 fb 79 8a 48 89 de e8 7a 63 c9 05 0f 0b 48 c7 c7 e0 fb 79 8a 48 89 de e8 69 63 c9 05 <0f> 0b 48 c7 c7 40 fc 79 8a 48 89 de e8 58 63 c9 05 0f 0b 00 00 cc
RSP: 0018:ffffc90003b17d10 EFLAGS: 00010046
RAX: 0000000000000054 RBX: ffffc90003b17e58 RCX: e7812f5afe721e00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffff8880b912795b R09: 1ffff11017224f2b
R10: dffffc0000000000 R11: ffffed1017224f2c R12: dffffc0000000000
R13: ffff88807d0b4b98 R14: ffff88807d0b4bd8 R15: ffff88807d0b4bd8
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000001a000 CR3: 0000000062266000 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+0x710/0x890 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 254f5b150f6bfcf4 ]---
RIP: 0010:__list_del_entry_valid+0x107/0x120 lib/list_debug.c:59
Code: 48 89 de e8 8b 63 c9 05 0f 0b 48 c7 c7 80 fb 79 8a 48 89 de e8 7a 63 c9 05 0f 0b 48 c7 c7 e0 fb 79 8a 48 89 de e8 69 63 c9 05 <0f> 0b 48 c7 c7 40 fc 79 8a 48 89 de e8 58 63 c9 05 0f 0b 00 00 cc
RSP: 0018:ffffc90003b17d10 EFLAGS: 00010046
RAX: 0000000000000054 RBX: ffffc90003b17e58 RCX: e7812f5afe721e00
RDX: 0000000000000000 RSI: 0000000080000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: ffff8880b912795b R09: 1ffff11017224f2b
R10: dffffc0000000000 R11: ffffed1017224f2c R12: dffffc0000000000
R13: ffff88807d0b4b98 R14: ffff88807d0b4bd8 R15: ffff88807d0b4bd8
FS:  0000000000000000(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000020000001a000 CR3: 0000000062266000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/13 04:30 linux-5.15.y e45d5d41c134 504cb1bf .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/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.