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: 11321 Comm: kworker/0:0 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events sco_sock_timeout
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
assign_lock_key+0x238/0x270 kernel/locking/lockdep.c:976
register_lock_class+0x1cf/0x980 kernel/locking/lockdep.c:1289
__lock_acquire+0xda/0x1fd0 kernel/locking/lockdep.c:5014
lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754
lock_sock_nested+0x48/0x100 net/core/sock.c:3535
lock_sock include/net/sock.h:1673 [inline]
sco_sock_timeout+0xc1/0x240 net/bluetooth/sco.c:96
process_one_work kernel/workqueue.c:3254 [inline]
process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3335
worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
kthread+0x2f2/0x390 kernel/kthread.c:388
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
BUG: kernel NULL pointer dereference, address: 0000000000000000
#PF: supervisor instruction fetch in kernel mode
#PF: error_code(0x0010) - not-present page
PGD 2cb7f067 P4D 2cb7f067 PUD 4c4eb067 PMD 0
Oops: 0010 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 PID: 11321 Comm: kworker/0:0 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events sco_sock_timeout
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90009b8fb80 EFLAGS: 00010246
RAX: 1ffff1100fc3a496 RBX: 0000000000000001 RCX: ffffffff819d3d4c
RDX: dffffc0000000000 RSI: ffffffff8c1f7f80 RDI: ffff88807e1d2000
RBP: 0000000000000003 R08: ffffffff8fa8f9af R09: 1ffffffff1f51f35
R10: dffffc0000000000 R11: 0000000000000000 R12: ffff88807e1d2000
R13: dffffc0000000000 R14: ffff88807e1d2080 R15: ffff88806a0fc208
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000002de30000 CR4: 0000000000350ef0
Call Trace:
sco_sock_timeout+0x114/0x240 net/bluetooth/sco.c:98
process_one_work kernel/workqueue.c:3254 [inline]
process_scheduled_works+0xa12/0x17c0 kernel/workqueue.c:3335
worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
kthread+0x2f2/0x390 kernel/kthread.c:388
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
CR2: 0000000000000000
---[ end trace 0000000000000000 ]---
RIP: 0010:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 0018:ffffc90009b8fb80 EFLAGS: 00010246
RAX: 1ffff1100fc3a496 RBX: 0000000000000001 RCX: ffffffff819d3d4c
RDX: dffffc0000000000 RSI: ffffffff8c1f7f80 RDI: ffff88807e1d2000
RBP: 0000000000000003 R08: ffffffff8fa8f9af R09: 1ffffffff1f51f35
R10: dffffc0000000000 R11: 0000000000000000 R12: ffff88807e1d2000
R13: dffffc0000000000 R14: ffff88807e1d2080 R15: ffff88806a0fc208
FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffffffffd6 CR3: 000000002de30000 CR4: 0000000000350ef0