# CVE-2026-74540: Bluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-08-15T12:27:51.522Z
- Modified: 2026-10-16T20:17:36.427Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp

l2cap_le_connect_rsp() obtains a channel via
__l2cap_get_chan_by_ident() but neither holds a reference nor uses
l2cap_chan_hold_unless_zero() before locking and operating on it.
A concurrent l2cap_chan_del() triggered by a remote disconnect can
free the channel between the lookup and l2cap_chan_lock(), causing
a use-after-free.

The BR/EDR counterpart l2cap_connect_rsp() and the sibling handler
l2cap_le_command_rej() already use l2cap_chan_hold_unless_zero()
to safely hold a reference, but l2cap_le_connect_rsp() was left
unprotected.

Fix by adding l2cap_chan_hold_unless_zero() after the ident lookup
and l2cap_chan_put() on the exit path, consistent with other L2CAP
response handlers.

(As written by CVE List.)

## Affected

- Linux Linux: from f1496dee9cbde2a62821f4441dadb0d3360f60c3 before 15d6c2367217a6a20b1abae9f38ded716bf620f1; from f1496dee9cbde2a62821f4441dadb0d3360f60c3 before 1818180fe12d6cec7a437bc59cde8efdf6b10250; from f1496dee9cbde2a62821f4441dadb0d3360f60c3 before 8325eafb38c3dee5af329266393763693d17381b; from f1496dee9cbde2a62821f4441dadb0d3360f60c3 before fd4c1e301bdec60a40728ea37de531cbccda501a; from f1496dee9cbde2a62821f4441dadb0d3360f60c3 before 522b730c62c53a1981604fd73524697fd347830d; from f1496dee9cbde2a62821f4441dadb0d3360f60c3 before 58e3c5289ad230a7e24ae4b0c7b43f5ee6e32136; from f1496dee9cbde2a62821f4441dadb0d3360f60c3 before 09f447accc2570751e7d17f0dc0788b40d3edade; from f1496dee9cbde2a62821f4441dadb0d3360f60c3 before c4740e7f23ff9a8210198d8b4703259e21b9f69d; 3.14 (not affected: before 3.14; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.151 up to 6.6.*; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/15d6c2367217a6a20b1abae9f38ded716bf620f1>
- <https://git.kernel.org/stable/c/1818180fe12d6cec7a437bc59cde8efdf6b10250>
- <https://git.kernel.org/stable/c/8325eafb38c3dee5af329266393763693d17381b>
- <https://git.kernel.org/stable/c/fd4c1e301bdec60a40728ea37de531cbccda501a>
- <https://git.kernel.org/stable/c/522b730c62c53a1981604fd73524697fd347830d>
- <https://git.kernel.org/stable/c/58e3c5289ad230a7e24ae4b0c7b43f5ee6e32136>
- <https://git.kernel.org/stable/c/09f447accc2570751e7d17f0dc0788b40d3edade>
- <https://git.kernel.org/stable/c/c4740e7f23ff9a8210198d8b4703259e21b9f69d>

## Sources

- CVE List: [CVE-2026-74540](https://www.cve.org/CVERecord?id=CVE-2026-74540), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-74540](https://nvd.nist.gov/vuln/detail/CVE-2026-74540), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-74540 · Whole record: https://cve.day/CVE-2026-74540.json · Rebuilt by cve.day 2026-11-25T22:59:33.250Z
