IPVS: ftp: loaded support on port[0] = 21
BUG: spinlock bad magic on CPU#0, kworker/0:0/930
lock: 0xffff888020efa948, .magic: ffff8880, .owner: <none>/-1, .owner_cpu: 4
CPU: 0 PID: 930 Comm: kworker/0:0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Workqueue: events sco_sock_timeout
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
debug_spin_lock_before kernel/locking/spinlock_debug.c:83 [inline]
do_raw_spin_lock+0x19f/0x220 kernel/locking/spinlock_debug.c:112
spin_lock include/linux/spinlock.h:329 [inline]
sco_sock_timeout+0x7b/0x1b0 net/bluetooth/sco.c:95
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 930 Comm: kworker/0:0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
Workqueue: events sco_sock_timeout
RIP: 0010:__write_once_size include/linux/compiler.h:290 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x539/0xae0 kernel/locking/qspinlock.c:437
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 dd 04 00 00 4a 03 1c e5 00 af cf 89 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 ad 04 00 00 4c 8d 6b 44 48 89 6c 24 08 48 8b 2c
RSP: 0018:ffff8880600d7c20 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 000000000002be20 RCX: ffffffff814b98df
RDX: 00000000000057c4 RSI: 0000000000000002 RDI: ffffffff89cfd530
RBP: ffff888020efa948 R08: 0000000000000001 R09: ffffed10041df529
R10: ffff888020efa94b R11: 0000000000074071 R12: 00000000000004c6
IPVS: ftp: loaded support on port[0] = 21
R13: 0000000000000001 R14: 0000000000040000 R15: ffff8880ba02be00
FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ff2c000 CR3: 0000000009e6d000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:679 [inline]
queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:53 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:88 [inline]
do_raw_spin_lock+0x189/0x220 kernel/locking/spinlock_debug.c:113
spin_lock include/linux/spinlock.h:329 [inline]
sco_sock_timeout+0x7b/0x1b0 net/bluetooth/sco.c:95
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace 2078d5e653a7d5e6 ]---
RIP: 0010:__write_once_size include/linux/compiler.h:290 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x539/0xae0 kernel/locking/qspinlock.c:437
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 dd 04 00 00 4a 03 1c e5 00 af cf 89 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 ad 04 00 00 4c 8d 6b 44 48 89 6c 24 08 48 8b 2c
RSP: 0018:ffff8880600d7c20 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 000000000002be20 RCX: ffffffff814b98df
RDX: 00000000000057c4 RSI: 0000000000000002 RDI: ffffffff89cfd530
RBP: ffff888020efa948 R08: 0000000000000001 R09: ffffed10041df529
R10: ffff888020efa94b R11: 0000000000074071 R12: 00000000000004c6
R13: 0000000000000001 R14: 0000000000040000 R15: ffff8880ba02be00
FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2ff2c000 CR3: 0000000009e6d000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 89 fa mov %rdi,%rdx
3: 48 c1 ea 03 shr $0x3,%rdx
7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
b: 0f 85 dd 04 00 00 jne 0x4ee
11: 4a 03 1c e5 00 af cf add -0x76305100(,%r12,8),%rbx
18: 89
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 da mov %rbx,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 ad 04 00 00 jne 0x4e1
34: 4c 8d 6b 44 lea 0x44(%rbx),%r13
38: 48 89 6c 24 08 mov %rbp,0x8(%rsp)
3d: 48 rex.W
3e: 8b .byte 0x8b
3f: 2c .byte 0x2c