summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorZhao Li <enderaoelyther@gmail.com>2026-11-09 21:21:43 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-11-09 17:04:21 -0500
commit1f2ac56137c51be0601e18a163d817e02a15913f (patch)
tree2523aac814124206ab546af5545f5ad658a80e20 /tools/perf/scripts/python/bin/stackcollapse-report
parentc1d50a71cdee90a0c68b7a67221d8aae96d14a0c (diff)
Bluetooth: L2CAP: Keep recvmsg from resuming a closed channel
Reading buffered ERTM data after ACL link loss can clear local busy and send a supervisory frame after l2cap_conn_del() has destroyed the HCI channel, which oopses on a NULL pointer in hci_send_acl(). The socket still owns its L2CAP channel, so its lifetime does not protect the underlying HCI channel. Require BT_CONNECTED before clearing local busy in recvmsg. The socket lock already held here serializes this check and send with teardown, which closes the socket before the HCI channel is destroyed. Continue to allow buffered data to be read after disconnection. AI assistance was used. Fixes: 61aa4f5b9f43 ("Bluetooth: Use the transmit state machine for busy state changes") Cc: stable@vger.kernel.org # needs adjustments for 5.15 Signed-off-by: Zhao Li <enderaoelyther@gmail.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions