Re: [syzbot] [bluetooth?] KASAN: slab-use-after-free Write in __sco_sock_close

From: syzbot
Date: Sun Sep 10 2023 - 18:43:45 EST


syzbot has bisected this issue to:

commit 94d9ba9f9888b748d4abd2aa1547af56ae85f772
Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
Date: Wed Aug 9 23:49:33 2023 +0000

Bluetooth: hci_sync: Fix UAF in hci_disconnect_all_sync

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=124d6578680000
start commit: 99d99825fc07 Merge tag 'nfs-for-6.6-1' of git://git.linux-..
git tree: upstream
final oops: https://syzkaller.appspot.com/x/report.txt?x=114d6578680000
console output: https://syzkaller.appspot.com/x/log.txt?x=164d6578680000
kernel config: https://syzkaller.appspot.com/x/.config?x=988789167afa40d5
dashboard link: https://syzkaller.appspot.com/bug?extid=dec4d528fb7a7c5d8ce3
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=12e9ba2fa80000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=111affcba80000

Reported-by: syzbot+dec4d528fb7a7c5d8ce3@xxxxxxxxxxxxxxxxxxxxxxxxx
Fixes: 94d9ba9f9888 ("Bluetooth: hci_sync: Fix UAF in hci_disconnect_all_sync")

For information about bisection process see: https://goo.gl/tpsmEJ#bisection