BUG: soft lockup in bind (2)

5 views
Skip to first unread message

syzbot

unread,
Oct 19, 2022, 4:49:39 PM10/19/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 9d5c0b3a8e1a Linux 4.14.295
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14e6186a880000
kernel config: https://syzkaller.appspot.com/x/.config?x=746c079015a92425
dashboard link: https://syzkaller.appspot.com/bug?extid=da19d6aba3e589d067c2
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/ed6fcf5895a2/disk-9d5c0b3a.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/341aa3534116/vmlinux-9d5c0b3a.xz

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

watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [syz-executor.3:12351]
Modules linked in:
irq event stamp: 10738
hardirqs last enabled at (10737): [<ffffffff812307db>] kvm_wait arch/x86/kernel/kvm.c:600 [inline]
hardirqs last enabled at (10737): [<ffffffff812307db>] kvm_wait+0x14b/0x240 arch/x86/kernel/kvm.c:580
hardirqs last disabled at (10738): [<ffffffff874018ae>] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793
softirqs last enabled at (620): [<ffffffff8760068b>] __do_softirq+0x68b/0x9ff kernel/softirq.c:314
softirqs last disabled at (589): [<ffffffff81321cf3>] invoke_softirq kernel/softirq.c:368 [inline]
softirqs last disabled at (589): [<ffffffff81321cf3>] irq_exit+0x193/0x240 kernel/softirq.c:409
CPU: 0 PID: 12351 Comm: syz-executor.3 Not tainted 4.14.295-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
task: ffff88807b630340 task.stack: ffff88809e6c8000
RIP: 0010:native_safe_halt+0xe/0x10 arch/x86/include/asm/irqflags.h:61
RSP: 0018:ffff88809e6cfb20 EFLAGS: 000002c2 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff11e135c RBX: ffffffff89dd8f2c RCX: 1ffff1100f6c6187
RDX: dffffc0000000000 RSI: ffff88807b630c18 RDI: ffff88807b630bc4
RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286
R13: dffffc0000000000 R14: ffffffff89dd8f2d R15: ffffed10174869f8
FS: 00007fcdbcfb0700(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3f3b183718 CR3: 000000009d131000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
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
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
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:272
hci_send_monitor_ctrl_event+0x3dd/0x500 net/bluetooth/hci_sock.c:402
mgmt_send_event+0x2b3/0x330 net/bluetooth/mgmt_util.c:86
mgmt_index_event net/bluetooth/mgmt.c:256 [inline]
mgmt_index_removed+0x200/0x240 net/bluetooth/mgmt.c:6600
hci_sock_bind+0xe00/0x12b0 net/bluetooth/hci_sock.c:1186
SYSC_bind net/socket.c:1489 [inline]
SyS_bind+0x174/0x1f0 net/socket.c:1475
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7fcdbe63d5a9
RSP: 002b:00007fcdbcfb0168 EFLAGS: 00000246 ORIG_RAX: 0000000000000031
RAX: ffffffffffffffda RBX: 00007fcdbe75df80 RCX: 00007fcdbe63d5a9
RDX: 0000000000000006 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 00007fcdbe698580 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc13d8b5df R14: 00007fcdbcfb0300 R15: 0000000000022000
Code: ad 5a fa e9 4f ff ff ff 48 89 ef e8 ad ad 5a fa eb 93 90 90 90 90 90 90 90 90 90 90 90 0f 1f 44 00 00 0f 00 2d d4 3b 63 00 fb f4 <c3> 90 0f 1f 44 00 00 0f 00 2d c4 3b 63 00 f4 c3 90 90 41 55 41
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 12335 Comm: syz-executor.4 Not tainted 4.14.295-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
task: ffff88808d8ce6c0 task.stack: ffff8880af420000
RIP: 0010:__read_once_size include/linux/compiler.h:185 [inline]
RIP: 0010:atomic_read arch/x86/include/asm/atomic.h:27 [inline]
RIP: 0010:queued_write_lock_slowpath+0xcb/0x1d0 kernel/locking/qrwlock.c:139
RSP: 0018:ffff8880af427d10 EFLAGS: 00000206
RAX: 0000000000000101 RBX: ffffffff89dd8f28 RCX: 0000000000001986
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffff89dd8f28
RBP: ffffffff89dd8f2c R08: ffffffff8b9ae730 R09: 000000000004058d
R10: ffff88808d8cef98 R11: ffff88808d8ce6c0 R12: 0000000000000003
R13: fffffbfff13bb1e5 R14: 00000000000000ff R15: ffff88809c6fe050
FS: 0000555555718400(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020000000 CR3: 000000009f6ec000 CR4: 00000000003406e0
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
hci_sock_release+0xc1/0x4c0 net/bluetooth/hci_sock.c:855
__sock_release+0xcd/0x2b0 net/socket.c:602
sock_close+0x15/0x20 net/socket.c:1139
__fput+0x25f/0x7a0 fs/file_table.c:210
task_work_run+0x11f/0x190 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:191 [inline]
exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
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
entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f3f3c80437b
RSP: 002b:00007ffe51703b50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f3f3c80437b
RDX: ffffffffffffffb8 RSI: ffffffffffffffff RDI: 0000000000000006
RBP: 00007f3f3c974980 R08: 0000000000000000 R09: 00007f3f3c977768
R10: 00007ffe51703c50 R11: 0000000000000293 R12: 00000000000eb188
R13: 00007ffe51703c50 R14: 00007f3f3c972f80 R15: 0000000000000032
Code: 75 dc 49 89 dd 49 89 dc 41 be ff 00 00 00 49 c1 ed 03 41 83 e4 07 48 b8 00 00 00 00 00 fc ff df 49 01 c5 41 83 c4 03 eb 02 f3 90 <41> 0f b6 45 00 41 38 c4 7c 08 84 c0 0f 85 9e 00 00 00 8b 03 83


---
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.
Reply all
Reply to author
Forward
0 new messages