All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+fc4b5b2477d4ca272907@syzkaller.appspotmail.com>
To: deaner92@yahoo.com
Cc: deaner92@yahoo.com, syzkaller-bugs@googlegroups.com,
	 linux-kernel@vger.kernel.org
Subject: Re: [syzbot] [bluetooth?] WARNING in hci_conn_timeout (2)
Date: Mon, 30 Nov 2026 10:11:41 -0800	[thread overview]
Message-ID: <6b0dbc5d.8ccee5ca.1045fd.02ef.GAE@google.com> (raw)
In-Reply-To: <20261130180937.506544-1-deaner92@yahoo.com>

> #syz test: git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master

Patch testing via #syz test is temporarily disabled.
See https://github.com/google/syzkaller/issues/8122 for details.

>
> diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c
> index 419a7e6..11ea358 100644
> --- a/net/bluetooth/hci_event.c
> +++ b/net/bluetooth/hci_event.c
> @@ -3682,6 +3682,17 @@ static void hci_auth_complete_evt(struct hci_dev *hdev, void *data,
>  	if (!conn)
>  		goto unlock;
>  
> +	/* Authentication Complete is only defined for BR/EDR links. An LE
> +	 * link in BT_CONFIG has not taken the reference that the BT_CONFIG
> +	 * branch below drops, so letting a misbehaving controller report it
> +	 * for an LE handle makes conn->refcnt go negative.
> +	 */
> +	if (conn->type != ACL_LINK) {
> +		bt_dev_err_ratelimited(hdev, "Ignoring Authentication Complete for non-ACL handle 0x%4.4x",
> +				       __le16_to_cpu(ev->handle));
> +		goto unlock;
> +	}
> +
>  	if (!ev->status) {
>  		clear_bit(HCI_CONN_AUTH_FAILURE, conn->flags);
>  		set_bit(HCI_CONN_AUTH, conn->flags);

       reply	other threads:[~2026-11-30 18:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261130180937.506544-1-deaner92@yahoo.com>
2026-11-30 18:11 ` syzbot [this message]
     [not found] <20261130181456.506572-1-deaner92@yahoo.com>
2026-11-30 18:17 ` [syzbot] [bluetooth?] WARNING in hci_conn_timeout (2) syzbot
2024-12-17 17:47 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=6b0dbc5d.8ccee5ca.1045fd.02ef.GAE@google.com \
    --to=syzbot+fc4b5b2477d4ca272907@syzkaller.appspotmail.com \
    --cc=deaner92@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.