syzbot


INFO: trying to register non-static key in skb_dequeue

Status: fixed on 2021/11/10 00:50
Reported-by: syzbot+fadfba6a911f6bf71842@syzkaller.appspotmail.com
Fix commit: be8597239379 Bluetooth: initialize skb_queue_head at l2cap_chan_create()
First crash: 912d, last: 631d

Cause bisection: failed (bisect log)
similar bugs (2):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: trying to register non-static key in skb_dequeue C error 65 618d 909d 0/1 upstream: reported C repro on 2020/08/03 21:08
linux-4.14 INFO: trying to register non-static key in skb_dequeue C error 60 139d 906d 0/1 upstream: reported C repro on 2020/08/06 05:40
Last patch testing requests:
Created Duration User Patch Repo Result
2021/03/21 14:17 18m penguin-kernel@i-love.sakura.ne.jp patch upstream OK
2020/08/02 09:16 17m coiby.xu@gmail.com https://github.com/coiby/linux.git syzbot3 OK

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: 0 PID: 10438 Comm: kworker/0:27 Not tainted 5.12.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events l2cap_chan_timeout
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x141/0x1d7 lib/dump_stack.c:120
 assign_lock_key kernel/locking/lockdep.c:936 [inline]
 register_lock_class+0x1077/0x1180 kernel/locking/lockdep.c:1248
 __lock_acquire+0x106/0x54c0 kernel/locking/lockdep.c:4780
 lock_acquire kernel/locking/lockdep.c:5511 [inline]
 lock_acquire+0x1ab/0x740 kernel/locking/lockdep.c:5476
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x39/0x50 kernel/locking/spinlock.c:159
 skb_dequeue+0x1c/0x180 net/core/skbuff.c:3094
 skb_queue_purge+0x21/0x30 net/core/skbuff.c:3132
 l2cap_chan_del+0x5f3/0xa80 net/bluetooth/l2cap_core.c:657
 l2cap_chan_close+0x1bc/0xaf0 net/bluetooth/l2cap_core.c:823
 l2cap_chan_timeout+0x17e/0x2f0 net/bluetooth/l2cap_core.c:436
 process_one_work+0x98d/0x1600 kernel/workqueue.c:2275
 worker_thread+0x64c/0x1120 kernel/workqueue.c:2421
 kthread+0x3b1/0x4a0 kernel/kthread.c:292
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294

Crashes (28951):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2021/04/18 01:43 upstream 194cf4825638 7e2b734b .config console log report syz C INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce 2021/04/16 21:22 upstream 2f7b98d1e55c 7e2b734b .config console log report syz C INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/04/13 02:11 upstream d434405aaab7 bfeda1b1 .config console log report syz C INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/03/01 04:43 upstream cd278456d4ca 4c37c133 .config console log report syz C INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-386 2021/02/24 19:08 upstream c03c21ba6f4e fcc6d71b .config console log report syz C INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/01/02 07:53 upstream eda809aef534 79264ae3 .config console log report syz C
ci-upstream-kasan-gce-root 2020/12/30 19:27 upstream 139711f033f6 ecb8c012 .config console log report syz C
ci-upstream-kasan-gce-root 2020/12/29 03:10 upstream 5c8fe583cce5 8259d56c .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2020/12/27 09:38 upstream f838f8d2b694 821e0b09 .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2020/12/26 23:56 upstream 40f78232f973 821e0b09 .config console log report syz C
ci-upstream-kasan-gce 2020/10/06 18:10 upstream 7575fdda569b 1880b4a9 .config console log report syz C
ci-upstream-kasan-gce 2020/10/02 04:28 upstream fcadab740480 9602ddf4 .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2020/09/22 09:57 upstream 98477740630f 9e1fa68e .config console log report syz C
ci-upstream-kasan-gce-root 2020/09/21 15:32 upstream ba4f184e126b 9e1fa68e .config console log report syz C
ci-upstream-kasan-gce 2020/09/10 11:03 upstream 34d4ddd359db 409809d8 .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2020/08/28 22:17 upstream 15bc20c6af4c d5a3ae1f .config console log report syz C
ci-upstream-kasan-gce-root 2020/08/28 08:37 upstream 15bc20c6af4c 816e0689 .config console log report syz C
ci-upstream-kasan-gce 2020/08/28 07:24 upstream 15bc20c6af4c 816e0689 .config console log report syz C
ci-upstream-kasan-gce 2020/08/27 17:53 upstream 15bc20c6af4c 816e0689 .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2020/08/27 15:57 upstream 15bc20c6af4c 816e0689 .config console log report syz C
ci-upstream-kasan-gce-root 2020/08/27 15:57 upstream 15bc20c6af4c 816e0689 .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2020/08/26 00:43 upstream abb3438d69fb 344da168 .config console log report syz C
ci-upstream-kasan-gce-root 2020/08/26 00:38 upstream abb3438d69fb 344da168 .config console log report syz C
ci-upstream-kasan-gce 2020/08/26 00:01 upstream abb3438d69fb 344da168 .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2020/08/01 06:07 upstream d8b9faec54ae d895b3be .config console log report syz C
ci-upstream-kasan-gce-root 2020/07/31 11:05 upstream 83bdc7275e62 8df85ed9 .config console log report syz C
ci-upstream-kasan-gce-386 2020/10/07 15:18 upstream c85fb28b6f99 1880b4a9 .config console log report syz C
ci-upstream-kasan-gce-386 2020/10/07 09:08 upstream c85fb28b6f99 1880b4a9 .config console log report syz C
ci-upstream-kasan-gce-386 2020/10/02 06:57 upstream fcadab740480 9602ddf4 .config console log report syz C
ci-upstream-kasan-gce-386 2020/09/10 14:31 upstream 34d4ddd359db 409809d8 .config console log report syz C
ci-upstream-kasan-gce-386 2020/09/09 19:26 upstream 34d4ddd359db 0ea7a887 .config console log report syz C
ci-upstream-kasan-gce-386 2020/08/28 07:04 upstream 15bc20c6af4c 816e0689 .config console log report syz C
ci-upstream-kasan-gce-386 2020/08/27 15:54 upstream 15bc20c6af4c 816e0689 .config console log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/12/15 09:41 linux-next 14240d4c5b25 97183ed7 .config console log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/12/15 02:28 linux-next 14240d4c5b25 97183ed7 .config console log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/09/28 06:16 linux-next d1d2220c7f39 5dd8aee8 .config console log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/08/28 06:22 linux-next 88abac0b753d 816e0689 .config console log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/08/27 15:55 linux-next 88abac0b753d 816e0689 .config console log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/08/26 00:38 linux-next 3a00d3dfd4b6 344da168 .config console log report syz C
ci-upstream-linux-next-kasan-gce-root 2020/07/31 10:49 linux-next 7b287a5c6ac5 8df85ed9 .config console log report syz C
ci-upstream-kasan-gce-selinux-root 2021/04/11 19:52 upstream 52e44129fba5 bfeda1b1 .config console log report syz INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/03/30 19:09 upstream 1e43c377a79f 6a81331a .config console log report syz INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/02/14 20:28 upstream 358feceebbf6 98682e5e .config console log report syz INFO: trying to register non-static key in skb_dequeue
ci-upstream-linux-next-kasan-gce-root 2020/12/10 06:23 linux-next a9e26cb5f261 c090b4da .config console log report syz
ci-upstream-kasan-gce-selinux-root 2021/05/08 17:37 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/08 15:42 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/05/08 13:43 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/05/08 12:22 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/08 10:08 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce 2021/05/08 08:38 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/08 05:47 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream 2021/05/08 04:52 upstream 18a3c5f7abfd bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/05/08 03:39 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/08 02:36 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream 2021/05/08 01:55 upstream 18a3c5f7abfd bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/08 00:27 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream 2021/05/07 23:25 upstream 18a3c5f7abfd bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce 2021/05/07 22:18 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce 2021/05/07 21:16 upstream d2b6f8a17919 f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/05/07 18:37 upstream d2b6f8a17919 f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce 2021/05/07 14:35 upstream d2b6f8a17919 f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/07 13:32 upstream d2b6f8a17919 f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/07 12:16 upstream d2b6f8a17919 f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/05/07 11:59 upstream d2b6f8a17919 f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/07 10:50 upstream d2b6f8a17919 f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream 2021/05/07 05:29 upstream 18a3c5f7abfd 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream 2021/05/07 04:03 upstream 18a3c5f7abfd 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/07 02:53 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/06 23:29 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream 2021/05/06 22:27 upstream 18a3c5f7abfd 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/06 22:20 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/06 20:38 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/05/06 19:37 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce 2021/05/06 18:52 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/05/06 17:51 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-root 2021/05/06 16:48 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream 2021/05/06 15:41 upstream 18a3c5f7abfd 06c27ff5 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/08 14:36 upstream 18a3c5f7abfd bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-386 2021/05/08 10:55 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-386 2021/05/08 07:01 upstream d2b6f8a17919 bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/08 00:43 upstream 18a3c5f7abfd bc5434be .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/07 17:36 upstream 18a3c5f7abfd f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/07 16:10 upstream 18a3c5f7abfd f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/07 15:43 upstream 18a3c5f7abfd f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-386 2021/05/07 13:21 upstream d2b6f8a17919 f6da8120 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/07 09:09 upstream 18a3c5f7abfd 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-386 2021/05/07 06:43 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/07 06:34 upstream 18a3c5f7abfd 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-386 2021/05/07 01:34 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-386 2021/05/07 01:17 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-386 2021/05/06 15:41 upstream d2b6f8a17919 06585184 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/06 14:09 upstream 18a3c5f7abfd 06c27ff5 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu-upstream-386 2021/05/06 12:53 upstream 18a3c5f7abfd 06c27ff5 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu2-arm64 2021/03/09 02:08 upstream 144c79ef3353 09fbf400 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-qemu2-arm64-compat 2021/03/08 23:09 upstream 144c79ef3353 09fbf400 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-net-this-kasan-gce 2021/04/30 13:30 net bbd6f0a94813 77e2b668 .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-net-kasan-gce 2021/04/08 20:04 net-next 3cd52c1e32fe 6a81331a .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-linux-next-kasan-gce-root 2021/03/22 18:26 linux-next e3128d2f068e 8092f30d .config console log report info INFO: trying to register non-static key in skb_dequeue
ci-upstream-kasan-gce-selinux-root 2021/01/17 13:40 upstream 0da0a8a0a0e1 813be542 .config console log report info
ci-upstream-linux-next-kasan-gce-root 2020/07/31 08:21 linux-next 7b287a5c6ac5 8df85ed9 .config console log report
* Struck through repros no longer work on HEAD.