Linux bluetooth development
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Yu Junzhe <junzheyu1@gmail.com>
Cc: stable@vger.kernel.org, Marcel Holtmann <marcel@holtmann.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
	linux-bluetooth@vger.kernel.org, Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 0/3] Bluetooth: hci_core: lookup hci_conn on the RX path
Date: Thu, 26 Nov 2026 11:20:03 +0100	[thread overview]
Message-ID: <2026112622-galley-skipping-e8a2@gregkh> (raw)
In-Reply-To: <20261126075554.106-1-junzheyu1@gmail.com>

On Thu, Nov 26, 2026 at 07:55:51AM +0000, Yu Junzhe wrote:
> Sasha, this replaces the 6.6-only v2.
> 
> 79a2d4678ba9 ("Bluetooth: hci_core: lookup hci_conn on RX path on
> protocol side") is in v6.18 and is already in bluetooth.git. These
> diffs are for the stable trees that still lack it. They do not apply
> to bluetooth.git HEAD, so the BlueZ CI apply check will fail. Please
> review them for the stable branches.
> 
> 6.12.y already has l2cap_conn_hold_unless_zero() and
> iso_conn_hold_unless_zero(). 6.6.y and 6.1.y have the L2CAP helper
> only. sco_conn has no kref on any of the three, so SCO is unchanged.
> hci_conn_get() does not pin sco_conn.
> 
> Booted KASAN guests, same racer (patch-test/repro.c):
> 
> - 6.12.119 unpatched printed slab-use-after-free in l2cap_recv_acldata.
>   6.12.119 with patch 1/3 finished 371 connect/auth/disconnect rounds
>   and printed no KASAN report. The racer exercises ACL, not ISO.
> - 6.6.162 with patch 2/3 finished 123 rounds and printed no KASAN
>   report. That image is a build of this diff. The earlier #1 image
>   still contained the v1 SCO and ISO edits.
> - 6.1.193 with patch 3/3 booted and completed one connection with no
>   KASAN report. The racer then lost sync with the virtual controller
>   (unexpected command-complete length), so it did not repeat the
>   6.12 and 6.6 stress.
> 
> Yu Junzhe (3):
>   Bluetooth: hci_core: lookup hci_conn on the ACL and ISO RX paths
>   Bluetooth: hci_core: lookup hci_conn on the ACL RX path
>   Bluetooth: hci_core: lookup hci_conn on the ACL RX path

Why are these different subjects?

Also, don't send a patch series for different branches.  Please redo
this, one patch per branch, and keep the changelog and subjects
identical to upstream.

thanks,

greg k-h

      parent reply	other threads:[~2026-11-26 10:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18 12:35 [PATCH 6.6] Bluetooth: hci_core: lookup hci_conn on RX path Yu Junzhe
2026-11-18 18:23 ` [6.6] " bluez.test.bot
     [not found] ` <20261119035758.45-1-junzheyu1@gmail.com>
     [not found]   ` <2026-11-19-1-daily-reply-0012@kernel.org>
2026-11-26  7:55     ` [PATCH 0/3] Bluetooth: hci_core: lookup hci_conn on the " Yu Junzhe
2026-11-26  7:55       ` [PATCH 6.12.y 1/3] Bluetooth: hci_core: lookup hci_conn on the ACL and ISO RX paths Yu Junzhe
2026-11-26  7:55       ` [PATCH 6.6.y 2/3] Bluetooth: hci_core: lookup hci_conn on the ACL RX path Yu Junzhe
2026-11-26  7:55       ` [PATCH 6.1.y 3/3] " Yu Junzhe
2026-11-26 10:20       ` Greg Kroah-Hartman [this message]

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=2026112622-galley-skipping-e8a2@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=johan.hedberg@gmail.com \
    --cc=junzheyu1@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /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