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 UID: 0 PID: 5987 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:
__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
__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:0x7fb8fab9bf79
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:00007ffc19767f28 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fb8fae15fa0 RCX: 00007fb8fab9bf79
RDX: 0000000020044850 RSI: 0000200000000240 RDI: 0000000000000003
RBP: 00007fb8fac327e0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fb8fae15fac R14: 00007fb8fae15fa0 R15: 00007fb8fae15fa0