In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Clear request identifiers on incoming LE connections Incoming LE and ECRED channels retain the peer's request identifier after an immediate response. The deferred LE response also leaves the identifier set, unlike the deferred ECRED response. A later ECRED request can reuse that identifier and include an unrelated channel in its shared-response handling. That walk matches on the identifier alone, so an LE channel is selected too. If the old channel is closing, the checks can refuse the new connection. The check at request receipt rejects it with L2CAP_CR_LE_INVALID_PARAMS; the check before a deferred response returns L2CAP_CR_LE_AUTHORIZATION. Store the identifier only when deferring the response, and clear it after sending the deferred LE response. Keep deferred ECRED identifiers until the shared response is sent, since a partially accepted group still needs them. AI assistance was used.
https://git.kernel.org/stable/c/df3eb8852f783a536923d2a4b75c27761cce50cf
https://git.kernel.org/stable/c/dab5b55deec1cdbb874dac3ef6dd80f5f1ce111d
https://git.kernel.org/stable/c/4fb1d399e2f4fb7d134a967b065db5ee214a8623
https://git.kernel.org/stable/c/475cc8b417a10cf3e3069bcc1d70e78e955e9eb1
https://git.kernel.org/stable/c/2b050a1a00737e83f50893be0b33b9062c942626
https://git.kernel.org/stable/c/15a80cc8263abd50132a05d1b06824de8e28abcb