CVE-2026-74540
JSON

8.8high

Bluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp

Severity
8.8high CVSS:3.1 by Linux
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-74540 changed 2026-10-16CVE Terms of Use
NVDCVE-2026-74540 changed 2026-10-16Public domain