syzbot


INFO: trying to register non-static key in bcm_can_tx

Status: upstream: reported C repro on 2026/02/17 13:02
Subsystems: can
[Documentation on labels]
Reported-by: syzbot+5b11eccc403dd1cea9f8@syzkaller.appspotmail.com
First crash: 6d01h, last: 5d21h
Cause bisection: failed (error log, bisect log)
  
Discussions (4)
Title Replies (including bot) Last reply
[PATCH v2 1/2] can: bcm: fix locking for bcm_op runtime updates 1 (1) 2026/02/19 12:47
[PATCH v2 0/2] can: bcm: add/fix locking for config updates at runtime 1 (1) 2026/02/19 12:47
[PATCH] can: bcm: fix locking for bcm_op runtime updates 1 (1) 2026/02/18 10:58
[syzbot] [can?] INFO: trying to register non-static key in bcm_can_tx 0 (1) 2026/02/17 13:02

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 UID: 0 PID: 5983 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:94 [inline]
 dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120
 assign_lock_key kernel/locking/lockdep.c:984 [inline]
 register_lock_class+0x549/0x560 kernel/locking/lockdep.c:1299
 __lock_acquire+0x3cb/0x2630 kernel/locking/lockdep.c:5112
 lock_acquire kernel/locking/lockdep.c:5868 [inline]
 lock_acquire+0x17c/0x330 kernel/locking/lockdep.c:5825
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:150 [inline]
 _raw_spin_lock_bh+0x33/0x40 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:347 [inline]
 bcm_can_tx.part.0+0x79/0x890 net/can/bcm.c:305
 bcm_can_tx net/can/bcm.c:301 [inline]
 bcm_rx_handler+0x6fa/0x880 net/can/bcm.c:731
 deliver net/can/af_can.c:575 [inline]
 can_rcv_filter+0x2a4/0x900 net/can/af_can.c:609
 can_receive+0x2cb/0x500 net/can/af_can.c:674
 can_rcv+0x29e/0x300 net/can/af_can.c:699
 __netif_receive_skb_one_core+0x1b2/0x1e0 net/core/dev.c:6149
 __netif_receive_skb+0x1f/0x120 net/core/dev.c:6262
 process_backlog+0x37a/0x1580 net/core/dev.c:6614
 __napi_poll.constprop.0+0xaf/0x450 net/core/dev.c:7678
 napi_poll net/core/dev.c:7741 [inline]
 net_rx_action+0xa40/0xf20 net/core/dev.c:7893
 handle_softirqs+0x1ea/0x910 kernel/softirq.c:622
 do_softirq kernel/softirq.c:523 [inline]
 do_softirq+0xac/0xe0 kernel/softirq.c:510
 </IRQ>
 <TASK>
 __local_bh_enable_ip+0xf8/0x120 kernel/softirq.c:450
 local_bh_enable include/linux/bottom_half.h:33 [inline]
 rcu_read_unlock_bh include/linux/rcupdate.h:924 [inline]
 __dev_queue_xmit+0x7f1/0x46f0 net/core/dev.c:4856
 dev_queue_xmit include/linux/netdevice.h:3384 [inline]
 can_send+0x5d7/0xbd0 net/can/af_can.c:279
 raw_sendmsg+0xdf9/0x1480 net/can/raw.c:1000
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg net/socket.c:742 [inline]
 ____sys_sendmsg+0xa54/0xc30 net/socket.c:2592
 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2646
 __sys_sendmsg+0x170/0x220 net/socket.c:2678
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x106/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fab0c99bf79
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff12c0b798 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fab0cc15fa0 RCX: 00007fab0c99bf79
RDX: 0000000020044850 RSI: 0000200000000240 RDI: 0000000000000003
RBP: 00007fab0ca327e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fab0cc15fac R14: 00007fab0cc15fa0 R15: 00007fab0cc15fa0
 </TASK>

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/02/13 16:30 upstream cee73b1e840c 6a673c50 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in bcm_can_tx
2026/02/13 15:15 upstream cee73b1e840c 6a673c50 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in bcm_can_tx
2026/02/13 14:06 upstream cee73b1e840c 6a673c50 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in bcm_can_tx
2026/02/13 15:11 linux-next af98e93c5c39 6a673c50 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: trying to register non-static key in bcm_can_tx
2026/02/13 12:59 upstream cee73b1e840c 6a673c50 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: trying to register non-static key in bcm_can_tx
* Struck through repros no longer work on HEAD.