From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+35ebc808442df6420eae@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [bluetooth?] KASAN: invalid-free in hci_req_sync_complete
Date: Mon, 24 Jun 2024 18:40:01 +0800 [thread overview]
Message-ID: <20240624104001.2004-1-hdanton@sina.com> (raw)
In-Reply-To: <00000000000033a6e8061b3c6d4a@google.com>
On Wed, 19 Jun 2024 04:23:24 -0700
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 2ccbdf43d5e7 Merge tag 'for-linus' of git://git.kernel.org..
> git tree: upstream
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=125874ea980000
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 2ccbdf43d5e7
--- x/net/bluetooth/hci_request.c
+++ h/net/bluetooth/hci_request.c
@@ -160,6 +160,8 @@ int __hci_req_sync(struct hci_dev *hdev,
if (err == -ERESTARTSYS)
return -EINTR;
+ if (!err)
+ return -ETIMEDOUT;
switch (hdev->req_status) {
case HCI_REQ_DONE:
--
next prev parent reply other threads:[~2024-06-24 10:40 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-22 6:47 [syzbot] [bluetooth?] KASAN: invalid-free in hci_req_sync_complete syzbot
2024-06-19 11:23 ` syzbot
2024-06-19 12:32 ` Edward Adam Davis
2024-06-19 12:58 ` syzbot
2024-06-23 2:36 ` Edward Adam Davis
2024-06-23 3:08 ` syzbot
2024-06-23 3:42 ` Edward Adam Davis
2024-06-23 4:06 ` syzbot
2024-06-23 4:14 ` Edward Adam Davis
2024-06-23 4:40 ` syzbot
2024-06-23 5:43 ` Hillf Danton
2024-06-23 6:08 ` syzbot
2024-06-23 9:06 ` [PATCH] Bluetooth: fix double free " Edward Adam Davis
2024-06-24 10:40 ` Hillf Danton [this message]
2024-06-24 11:03 ` [syzbot] [bluetooth?] KASAN: invalid-free " syzbot
2024-06-24 12:07 ` Edward Adam Davis
2024-06-24 12:36 ` syzbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240624104001.2004-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+35ebc808442df6420eae@syzkaller.appspotmail.com \
--cc=syzkaller-bugs@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox