syzbot


INFO: trying to register non-static key in skb_dequeue (4)

Status: upstream: reported C repro on 2025/09/04 07:22
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+bb185b018a51f8d91fd2@syzkaller.appspotmail.com
Fix commit: audit: init ab->skb_list earlier in audit_buffer_alloc()
Patched on: [ci-upstream-linux-next-kasan-gce-root ci-upstream-rust-kasan-gce], missing on: [ci-qemu-gce-upstream-auto ci-qemu-native-arm64-kvm ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 2d09h, last: 1d09h
Cause bisection: introduced by (bisect log) :
commit eb59d494eebd4c5414728a35cdea6a0ba78ff26e
Author: Casey Schaufler <casey@schaufler-ca.com>
Date: Sat Aug 16 17:28:58 2025 +0000

  audit: add record for multiple task security contexts

Crash: INFO: trying to register non-static key in skb_dequeue (log)
Repro: C syz .config
  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] [kernel?] INFO: trying to register non-static key in skb_dequeue (4) 1 (3) 2025/09/04 15:12
[PATCH] audit: init ab->skb_list earlier in audit_buffer_alloc() 2 (2) 2025/09/04 15:06
Similar bugs (5)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: trying to register non-static key in skb_dequeue -1 C error 65 1569d 1859d 0/1 upstream: reported C repro on 2020/08/03 21:08
upstream INFO: trying to register non-static key in skb_dequeue bluetooth -1 C error 28951 1581d 1862d 20/29 fixed on 2021/11/10 00:50
upstream INFO: trying to register non-static key in skb_dequeue (3) wireless -1 C 27 413d 493d 0/29 auto-obsoleted due to no activity on 2024/09/27 23:05
linux-4.14 INFO: trying to register non-static key in skb_dequeue -1 C error 60 1089d 1857d 0/1 upstream: reported C repro on 2020/08/06 05:40
upstream INFO: trying to register non-static key in skb_dequeue (2) rdma -1 syz error 123 813d 857d 23/29 fixed on 2023/09/28 17:51
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/09/04 07:10 21m edumazet@google.com patch linux-next OK log

Sample crash report:
RBP: 00007ffc4d7c4a10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fc6a7fc5fa0 R14: 00007fc6a7fc5fa0 R15: 0000000000000003
 </TASK>
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: 0 UID: 0 PID: 6073 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
 assign_lock_key+0x133/0x150 kernel/locking/lockdep.c:984
 register_lock_class+0x105/0x320 kernel/locking/lockdep.c:1299
 __lock_acquire+0x99/0xd20 kernel/locking/lockdep.c:5112
 lock_acquire+0x120/0x360 kernel/locking/lockdep.c:5868
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xa7/0xf0 kernel/locking/spinlock.c:162
 skb_dequeue+0x2e/0x150 net/core/skbuff.c:3897
 audit_buffer_free kernel/audit.c:1820 [inline]
 audit_buffer_alloc kernel/audit.c:1850 [inline]
 audit_log_start+0x47b/0xa90 kernel/audit.c:1954
 audit_seccomp+0x64/0x190 kernel/auditsc.c:2976
 seccomp_log kernel/seccomp.c:1048 [inline]
 __seccomp_filter+0x9a0/0x1a30 kernel/seccomp.c:1344
 syscall_trace_enter+0xaa/0x160 kernel/entry/syscall-common.c:44
 syscall_enter_from_user_mode_work include/linux/entry-common.h:95 [inline]
 syscall_enter_from_user_mode include/linux/entry-common.h:125 [inline]
 do_syscall_64+0xd3/0xfa0 arch/x86/entry/syscall_64.c:90
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fc6a7d8ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc4d7c49b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007fc6a7fc5fa0 RCX: 00007fc6a7d8ebe9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffffffffff
RBP: 00007ffc4d7c4a10 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fc6a7fc5fa0 R14: 00007fc6a7fc5fa0 R15: 0000000000000003
 </TASK>
audit: audit_lost=1 audit_rate_limit=0 audit_backlog_limit=64
audit: out of memory in audit_log_start

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/04 03:34 linux-next 5d50cf9f7cf2 96a211bc .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 03:08 linux-next 5d50cf9f7cf2 96a211bc .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 02:44 linux-next 5d50cf9f7cf2 96a211bc .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/05 01:54 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 22:35 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: trying to register non-static key in skb_dequeue
2025/09/04 22:32 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: trying to register non-static key in skb_dequeue
2025/09/04 20:01 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 19:49 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 19:43 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 19:24 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 19:19 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 19:18 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 19:18 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 19:18 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 15:23 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: trying to register non-static key in skb_dequeue
2025/09/04 15:20 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: trying to register non-static key in skb_dequeue
2025/09/04 14:49 linux-next 4ac65880ebca d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: trying to register non-static key in skb_dequeue
2025/09/04 03:05 linux-next 5d50cf9f7cf2 96a211bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 02:03 linux-next 5d50cf9f7cf2 96a211bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
2025/09/04 02:02 linux-next 5d50cf9f7cf2 96a211bc .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: trying to register non-static key in skb_dequeue
* Struck through repros no longer work on HEAD.