[PATCH 0/2] Bluetooth: RFCOMM: Protect sockets during teardown and TTY handoff

From: Cen Zhang

Date: Sat Nov 21 2026 - 02:03:04 EST


Socket notification and TTY handoff can outlive the object which made
the socket's borrowed pointers valid. Keep the listener alive across
child unlink and notification, and finish old socket users before the
TTY replaces its DLC callbacks.

Cen Zhang (2):
Bluetooth: RFCOMM: Hold the listener across child unlink
Bluetooth: RFCOMM: Close the socket before transferring its DLC

net/bluetooth/rfcomm/sock.c | 17 ++++++++++++-----
net/bluetooth/rfcomm/tty.c | 20 ++++++++------------
2 files changed, 20 insertions(+), 17 deletions(-)

---