syzbot


INFO: trying to register non-static key in gfs2_quotad (2)

Status: upstream: reported C repro on 2025/11/05 15:15
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+7bf14de7f5fbcf32d79f@syzkaller.appspotmail.com
First crash: 51d, last: 52m
Bug presence (1)
Date Name Commit Repro Result
2025/11/08 upstream (ToT) e811c33b1f13 C [report] KASAN: slab-use-after-free Write in gfs2_qd_dealloc
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 -1 1 228d 228d 0/3 auto-obsoleted due to no activity on 2025/08/21 07:29
linux-5.15 INFO: trying to register non-static key in gfs2_quotad -1 2 22d 67d 0/3 upstream: reported on 2025/10/20 15:38

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: 4520 Comm: gfs2_quotad Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025
Call trace:
 dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158
 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165
 __dump_stack+0x30/0x40 lib/dump_stack.c:88
 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106
 dump_stack+0x1c/0x5c lib/dump_stack.c:113
 assign_lock_key+0x224/0x258 kernel/locking/lockdep.c:974
 register_lock_class+0x1ac/0x694 kernel/locking/lockdep.c:1287
 __lock_acquire+0x150/0x6544 kernel/locking/lockdep.c:4928
 lock_acquire+0x20c/0x644 kernel/locking/lockdep.c:5662
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162
 finish_wait+0xc8/0x1ac kernel/sched/wait.c:410
 gfs2_quotad+0x390/0x4fc fs/gfs2/quota.c:1579
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850
list_del corruption. prev->next should be ffff800021777d98, but was 0000000000000000. (prev=ffff0000d36b4bd8)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4520 Comm: gfs2_quotad Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025
pstate: 624000c5 (nZCv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : __list_del_entry_valid+0x13c/0x158 lib/list_debug.c:59
lr : __list_del_entry_valid+0x13c/0x158 lib/list_debug.c:59
sp : ffff800021777c70
x29: ffff800021777c70 x28: 0000000000000000 x27: 0000000000000bb8
x26: 0000000000001770 x25: dfff800000000000 x24: dfff800000000000
x23: ffff0000d36b47c0 x22: dfff800000000000 x21: ffff0000d36b4bd8
x20: ffff0000d36b4bd8 x19: ffff800021777d98 x18: ffff800011abbcc0
x17: 20747562202c3839 x16: ffff8000082e7de8 x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000ff0100
x11: ff0080000830a28c x10: 0000000000000000 x9 : 06cf463a5c157800
x8 : 06cf463a5c157800 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff800021777738 x4 : ffff8000151a4920 x3 : ffff800008311fcc
x2 : 0000000000000001 x1 : 0000000100000001 x0 : 000000000000006d
Call trace:
 __list_del_entry_valid+0x13c/0x158 lib/list_debug.c:59
 __list_del_entry include/linux/list.h:134 [inline]
 list_del_init include/linux/list.h:206 [inline]
 finish_wait+0xd4/0x1ac kernel/sched/wait.c:411
 gfs2_quotad+0x390/0x4fc fs/gfs2/quota.c:1579
 kthread+0x250/0x2d8 kernel/kthread.c:376
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850
Code: 91028000 aa1303e1 aa1503e3 95bfbbe3 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/06 05:50 linux-6.1.y f6e38ae624cf a6c9c731 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (corrupt fs)] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
2025/12/16 02:00 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in gfs2_quotad
2025/12/07 22:12 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in gfs2_quotad
2025/12/07 17:15 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: trying to register non-static key in gfs2_quotad
2025/12/27 09:53 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
2025/12/13 21:38 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
2025/12/12 00:25 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
2025/12/10 08:10 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
2025/11/28 11:50 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
2025/11/12 23:29 linux-6.1.y f6e38ae624cf 07e030de .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
2025/11/08 19:42 linux-6.1.y f6e38ae624cf 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
2025/11/05 15:14 linux-6.1.y f6e38ae624cf a6c9c731 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: trying to register non-static key in gfs2_quotad
* Struck through repros no longer work on HEAD.