From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+fe5ea83cdd7fc263f452@syzkaller.appspotmail.com>
Cc: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [syzbot] [bluetooth?] kernel panic: kernel: panic_on_warn set ... (3)
Date: Mon, 31 Aug 2026 06:58:08 +0800 [thread overview]
Message-ID: <20260830225812.1943-1-hdanton@sina.com> (raw)
In-Reply-To: <6a946a97.1d9ded08.62e62.0120.GAE@google.com>
> Date: Sun, 30 Aug 2026 10:38:31 -0700 [thread overview]
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit: 08dbfad3f504 Merge tag 'for-linus' of git://git.kernel.org..
> git tree: upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=14f47379580000
> kernel config: https://syzkaller.appspot.com/x/.config?x=5e4e3a0e188a497e
> dashboard link: https://syzkaller.appspot.com/bug?extid=fe5ea83cdd7fc263f452
> syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10c2a379580000
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16181e25580000
#syz test
--- x/include/net/bluetooth/hci_core.h
+++ y/include/net/bluetooth/hci_core.h
@@ -1701,9 +1701,13 @@ static inline struct hci_conn *hci_conn_
static inline void hci_conn_drop(struct hci_conn *conn)
{
+ int cnt;
+
BT_DBG("hcon %p orig refcnt %d", conn, atomic_read(&conn->refcnt));
- if (atomic_dec_and_test(&conn->refcnt)) {
+ cnt = atomic_dec_return(&conn->refcnt);
+ WARN_ON(cnt < 0);
+ if (cnt == 0) {
unsigned long timeo;
switch (conn->type) {
--
next prev parent reply other threads:[~2026-08-30 22:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-09 0:09 [syzbot] [nfc?] " syzbot
2026-08-30 17:38 ` [syzbot] [bluetooth?] " syzbot
2026-08-30 22:58 ` Hillf Danton [this message]
2026-08-31 2:02 ` 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=20260830225812.1943-1-hdanton@sina.com \
--to=hdanton@sina.com \
--cc=linux-kernel@vger.kernel.org \
--cc=syzbot+fe5ea83cdd7fc263f452@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®