From: Jeremy Dean Clifton <deaner92@yahoo.com>
To: syzbot+5897b3c764f5989ea942@syzkaller.appspotmail.com
Cc: syzkaller-bugs@googlegroups.com, linux-kernel@vger.kernel.org
Subject: Re: [syzbot] [bluetooth?] WARNING in hci_connect_sco
Date: Fri, 16 Oct 2026 14:40:50 +0000 [thread overview]
Message-ID: <20261016144050.105317-1-deaner92@yahoo.com> (raw)
In-Reply-To: <694c9ee9.050a0220.35954c.0030.GAE@google.com>
#syz test: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1726,8 +1726,15 @@
}
cancel_delayed_work(&conn->disc_work);
- queue_delayed_work(conn->hdev->workqueue,
- &conn->disc_work, timeo);
+
+ /* Pairs with synchronize_rcu() in hci_dev_close_sync(): don't
+ * queue disc_work while hdev->workqueue is being drained.
+ */
+ rcu_read_lock();
+ if (!hci_dev_test_flag(conn->hdev, HCI_CMD_DRAIN_WORKQUEUE))
+ queue_delayed_work(conn->hdev->workqueue,
+ &conn->disc_work, timeo);
+ rcu_read_unlock();
}
}
next prev parent reply other threads:[~2026-10-16 14:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-25 2:18 syzbot
2026-01-31 13:50 ` syzbot
2026-02-01 2:15 ` Hillf Danton
2026-02-01 2:34 ` syzbot
2026-02-02 1:12 ` Hillf Danton
2026-02-02 1:32 ` syzbot
2026-10-16 14:40 ` Jeremy Dean Clifton
2026-10-16 15:00 ` syzbot
2026-10-16 14:40 ` Jeremy Dean Clifton [this message]
2026-10-16 15:19 ` syzbot
2026-10-16 14:56 ` Jeremy Dean Clifton
2026-10-16 20:16 ` syzbot
2026-10-16 14:57 ` Jeremy Dean Clifton
2026-10-16 20:35 ` 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=20261016144050.105317-1-deaner92@yahoo.com \
--to=deaner92@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+5897b3c764f5989ea942@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
all inboxes | Powered by JetHome®