syzbot


WARNING: refcount bug in sco_sock_timeout

Status: auto-obsoleted due to no activity on 2022/09/15 13:12
Reported-by: syzbot+0d58aed5b04e25a9b5a7@syzkaller.appspotmail.com
First crash: 399d, last: 141d

Sample crash report:
------------[ cut here ]------------
refcount_t: saturated; leaking memory.
WARNING: CPU: 0 PID: 4601 at lib/refcount.c:22 refcount_warn_saturate+0x11f/0x1a0 lib/refcount.c:22
Modules linked in:
CPU: 0 PID: 4601 Comm: kworker/0:9 Not tainted 5.18.0-rc3-syzkaller-00007-g559089e0a93d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events sco_sock_timeout
RIP: 0010:refcount_warn_saturate+0x11f/0x1a0 lib/refcount.c:22
Code: c7 20 ce c7 8a 31 c0 e8 ef d0 31 fd 0f 0b eb c1 e8 36 30 68 fd c6 05 00 4b af 09 01 48 c7 c7 a0 cc c7 8a 31 c0 e8 d1 d0 31 fd <0f> 0b eb a3 e8 18 30 68 fd c6 05 e3 4a af 09 01 48 c7 c7 00 cd c7
RSP: 0018:ffffc90004a2fbf0 EFLAGS: 00010246
RAX: d21f59306f27a500 RBX: 0000000000000001 RCX: ffff88806b7d5700
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff816ab082 R09: ffffed10173867f9
R10: ffffed10173867f9 R11: 1ffff110173867f8 R12: ffff888148946000
R13: dffffc0000000000 R14: ffff888148946080 R15: ffff88807f660a08
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6d0a96c058 CR3: 000000000c68e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000048 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __refcount_inc include/linux/refcount.h:250 [inline]
 refcount_inc include/linux/refcount.h:267 [inline]
 sock_hold include/net/sock.h:726 [inline]
 sco_sock_timeout+0x1ab/0x240 net/bluetooth/sco.c:89
 process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
 worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30
 </TASK>

Crashes (24):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce-smack-root 2022/04/20 12:54 upstream 559089e0a93d 160a3f31 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-kasan-gce-selinux-root 2022/03/21 12:20 upstream f443e374ae13 e2d91b1d .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-kasan-gce-selinux-root 2022/03/14 14:10 upstream 09688c0166e7 9e8eaa75 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-kasan-gce-smack-root 2022/03/06 11:35 upstream dcde98da9970 7bdd8b2c .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-kasan-gce-root 2022/02/26 23:27 upstream 2293be58d6a1 45a13a73 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-kasan-gce-root 2021/12/02 12:04 upstream 58e1100fdc59 61f86278 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-kasan-gce-smack-root 2021/10/09 13:22 upstream 5d6ab0bb408f 838e7e2c .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-kasan-gce-smack-root 2021/10/03 20:49 upstream 7b66f4393ad4 db0f5787 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-qemu-upstream-386 2021/12/08 02:23 upstream 2a987e65025e 0230ba3e .config log report info WARNING: refcount bug in sco_sock_timeout
ci-qemu-upstream-386 2021/12/06 12:15 upstream 0fcfb00b28c0 579a8754 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-qemu-upstream-386 2021/10/16 17:09 upstream 304040fb4909 0c5d9412 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-this-kasan-gce 2022/02/18 14:09 net 7a2fb9128515 3cd800e4 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-this-kasan-gce 2022/02/12 17:11 net bf8e59fd315f 8b9ca619 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-this-kasan-gce 2021/11/27 01:15 net 32c54497545e 63eeac02 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-this-kasan-gce 2021/10/02 20:15 net 7cd8b1542a7b db0f5787 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2022/05/18 13:11 net-next 6e144b47f560 744a39e2 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2022/01/28 22:32 net-next b76bbb34dc80 495e00c5 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2022/01/18 21:23 net-next fe8152b38d3a 731a2d23 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2022/01/15 19:14 net-next fe8152b38d3a 723cfaf0 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/12/23 06:55 net-next e087cba11677 6caa12e4 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/11/20 07:52 net-next 812ad3d270cb 3a9d0024 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/11/01 00:59 net-next ae0393500e3b 098b5d53 .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/10/28 01:15 net-next c230dc8627de 373bf66b .config log report info WARNING: refcount bug in sco_sock_timeout
ci-upstream-net-kasan-gce 2021/09/02 04:50 net-next 29ce8f970107 7eb7e152 .config log report info WARNING: refcount bug in sco_sock_timeout
* Struck through repros no longer work on HEAD.