BUG: soft lockup in corrupted

11 views
Skip to first unread message

syzbot

unread,
Apr 4, 2021, 2:30:15 AM4/4/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: bd634aa6 Linux 4.14.228
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15a288fcd00000
kernel config: https://syzkaller.appspot.com/x/.config?x=5fab202d11a349c3
dashboard link: https://syzkaller.appspot.com/bug?extid=2a71de52f2f0ac18414c
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=13c324a1d00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17b4546ad00000

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+2a71de...@syzkaller.appspotmail.com

IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
IPVS: ftp: loaded support on port[0] = 21
watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [kworker/u5:8:8041]
Modules linked in:
irq event stamp: 75588
hardirqs last enabled at (75587): [<ffffffff8122f7db>] kvm_wait arch/x86/kernel/kvm.c:600 [inline]
hardirqs last enabled at (75587): [<ffffffff8122f7db>] kvm_wait+0x14b/0x240 arch/x86/kernel/kvm.c:580
hardirqs last disabled at (75588): [<ffffffff874018ae>] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793
softirqs last enabled at (75584): [<ffffffff8760068b>] __do_softirq+0x68b/0x9ff kernel/softirq.c:314
softirqs last disabled at (75575): [<ffffffff81320ae3>] invoke_softirq kernel/softirq.c:368 [inline]
softirqs last disabled at (75575): [<ffffffff81320ae3>] irq_exit+0x193/0x240 kernel/softirq.c:409
CPU: 0 PID: 8041 Comm: kworker/u5:8 Not tainted 4.14.228-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: hci0 connectable_update_work
task: ffff88809ce08300 task.stack: ffff8880b2910000
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
RSP: 0018:ffff8880b2917ab0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff11e125c RBX: ffffffff89dd42ac RCX: 1ffff110139c1189
RDX: dffffc0000000000 RSI: ffff88809ce08c28 RDI: ffff88809ce08b84
watchdog: BUG: soft lockup - CPU#1 stuck for 23s! [syz-executor821:9055]
RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000000
Modules linked in:
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286
R13: dffffc0000000000 R14: ffffffff89dd42ad R15: ffffed10174855d8
irq event stamp: 5104
FS: 0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
hardirqs last enabled at (5103): [<ffffffff87400976>] restore_regs_and_return_to_kernel+0x0/0x2a
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
hardirqs last disabled at (5104): [<ffffffff874018ae>] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793
CR2: 000000000049b04d CR3: 00000000aa309000 CR4: 00000000001406f0
softirqs last enabled at (568): [<ffffffff8760068b>] __do_softirq+0x68b/0x9ff kernel/softirq.c:314
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
softirqs last disabled at (475): [<ffffffff81320ae3>] invoke_softirq kernel/softirq.c:368 [inline]
softirqs last disabled at (475): [<ffffffff81320ae3>] irq_exit+0x193/0x240 kernel/softirq.c:409
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
CPU: 1 PID: 9055 Comm: syz-executor821 Not tainted 4.14.228-syzkaller #0
Call Trace:
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
arch_safe_halt arch/x86/include/asm/paravirt.h:94 [inline]
kvm_wait arch/x86/kernel/kvm.c:600 [inline]
kvm_wait+0x179/0x240 arch/x86/kernel/kvm.c:580
task: ffff8880aaac0480 task.stack: ffff888091190000
pv_wait arch/x86/include/asm/paravirt.h:679 [inline]
pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:447 [inline]
__pv_queued_spin_lock_slowpath+0x722/0x910 kernel/locking/qspinlock.c:465
RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline]
RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline]
RIP: 0010:queued_write_lock_slowpath+0xd0/0x1d0 kernel/locking/qrwlock.c:139
RSP: 0018:ffff888091197d10 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff10
pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:669 [inline]
queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:52 [inline]
queued_spin_lock include/asm-generic/qspinlock.h:90 [inline]
queued_read_lock_slowpath+0x150/0x190 kernel/locking/qrwlock.c:90
hci_send_to_channel+0x3c/0x200 net/bluetooth/hci_sock.c:261
RAX: 0000000000000000 RBX: ffffffff89dd42a8 RCX: 0000000000001c91
hci_send_monitor_ctrl_event+0x3dd/0x500 net/bluetooth/hci_sock.c:391
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff89dd42a8
mgmt_send_event+0x2b3/0x330 net/bluetooth/mgmt_util.c:86
RBP: ffffffff89dd42ac R08: ffffffff8b99bf48 R09: 0000000000040582
mgmt_limited_event net/bluetooth/mgmt.c:260 [inline]
new_settings net/bluetooth/mgmt.c:1089 [inline]
mgmt_set_connectable_complete+0x299/0x310 net/bluetooth/mgmt.c:1352
R10: ffff8880aaac0d58 R11: ffff8880aaac0480 R12: 0000000000000003
R13: fffffbfff13ba855 R14: 00000000000000ff R15: ffff8880aaf8a550
connectable_update_work+0xbf/0xf0 net/bluetooth/hci_request.c:1597
FS: 0000000000d2f300(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000d2f608 CR3: 00000000aa9f4000 CR4: 00000000001406e0
process_one_work+0x793/0x14a0 kernel/workqueue.c:2116
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
queued_write_lock include/asm-generic/qrwlock.h:134 [inline]
do_raw_write_lock+0xc2/0x1d0 kernel/locking/spinlock_debug.c:203
bt_sock_unlink+0x1d/0x170 net/bluetooth/af_bluetooth.c:151
worker_thread+0x5cc/0xff0 kernel/workqueue.c:2250
hci_sock_release+0xc1/0x4c0 net/bluetooth/hci_sock.c:850
__sock_release+0xcd/0x2b0 net/socket.c:602
kthread+0x30d/0x420 kernel/kthread.c:232
sock_close+0x15/0x20 net/socket.c:1139
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
__fput+0x25f/0x7a0 fs/file_table.c:210
Code:
task_work_run+0x11f/0x190 kernel/task_work.c:113
71
tracehook_notify_resume include/linux/tracehook.h:191 [inline]
exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
5c
prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
fa
entry_SYSCALL_64_after_hwframe+0x46/0xbb
e9
RIP: 0033:0x40704b
4f
RSP: 002b:00007ffebacd2840 EFLAGS: 00000293
ff
ORIG_RAX: 0000000000000003
ff
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 000000000040704b
ff
RDX: ffffffffffffffb8 RSI: 0000000020000040 RDI: 0000000000000004
48
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000150
89
R10: 0000000000000150 R11: 0000000000000293 R12: 0000000000d2f2b8
ef
R13: 0000000000000072 R14: 00007ffebacd28c0 R15: 00007ffebacd2878
Code:
e8
49
3d
89
71
dc
5c
41
fa
be
eb
ff
93
00
90
00
90
00
90
49
90
c1
90
ed
90
03
90
41
90
83
90
e4
90
07
90
48
e9
b8
07
00
00
00
00
00
00
00
0f
00
00
fc
2d
ff
54
df
48
49
65
01
00
c5
fb
41
f4
83
<c3>
c4
90
03
e9
eb
07
02
00
f3
00
90
00
41
0f
0f
00
b6
2d
45
44
00
48
<41>
65
38
00
c4
f4
7c
c3 90
08
90
84
41
c0
55
0f
41
85
9e


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages