S syzbot #
Message details and related content
Hello, syzbot found the following issue on: HEAD commit: e3f30ab28ac8 Merge branch 'pktgen-samples-next' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=13249c96300000 kernel config: https://syzkaller.appspot.com/x/.config?x=ef482942966bf763 dashboard link: https://syzkaller.appspot.com/bug?extid=2bef95d3ab4daa10155b compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.1 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16a29ea9300000 The issue was bisected to: commit e1dee2c1de2b4dd00eb44004a4bda6326ed07b59 Author: Desmond Cheong Zhi Xi [off-list ref] Date: Tue Aug 10 04:14:10 2021 +0000 Bluetooth: fix repeated calls to sco_sock_kill bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=15030c91300000 final oops: https://syzkaller.appspot.com/x/report.txt?x=17030c91300000 console output: https://syzkaller.appspot.com/x/log.txt?x=13030c91300000 IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: <redacted> Fixes: e1dee2c1de2b ("Bluetooth: fix repeated calls to sco_sock_kill") ================================================================== BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: use-after-free in atomic_fetch_add_relaxed include/asm-generic/atomic-instrumented.h:111 [inline] BUG: KASAN: use-after-free in __refcount_add include/linux/refcount.h:193 [inline] BUG: KASAN: use-after-free in __refcount_inc include/linux/refcount.h:250 [inline] BUG: KASAN: use-after-free in refcount_inc include/linux/refcount.h:267 [inline] BUG: KASAN: use-after-free in sock_hold include/net/sock.h:702 [inline] BUG: KASAN: use-after-free in sco_sock_timeout+0x64/0x290 net/bluetooth/sco.c:88 Write of size 4 at addr ffff888034b46080 by task kworker/1:0/20 CPU: 1 PID: 20 Comm: kworker/1:0 Not tainted 5.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
ffff888034b46080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^ ffff888034b46100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888034b46180: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== --- 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 syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot. For information about bisection process see: https://goo.gl/tpsmEJ#bisection syzbot can test patches for this issue, for details see: https://goo.gl/tpsmEJ#testing-patches