CVE-2026-74540
Bluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp
Check your servers for CVE-2026-74540
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74540 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- adjacent: the attacker has to be on the same local network or link
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from f1496dee9cbde2a62821f4441dadb0d3360f60c3, before 15d6c2367217a6a20b1abae9f38ded716bf620f1 affected from f1496dee9cbde2a62821f4441dadb0d3360f60c3, before 1818180fe12d6cec7a437bc59cde8efdf6b10250 affected from f1496dee9cbde2a62821f4441dadb0d3360f60c3, before 8325eafb38c3dee5af329266393763693d17381b affected from f1496dee9cbde2a62821f4441dadb0d3360f60c3, before fd4c1e301bdec60a40728ea37de531cbccda501a affected from f1496dee9cbde2a62821f4441dadb0d3360f60c3, before 522b730c62c53a1981604fd73524697fd347830d affected from f1496dee9cbde2a62821f4441dadb0d3360f60c3, before 58e3c5289ad230a7e24ae4b0c7b43f5ee6e32136 affected from f1496dee9cbde2a62821f4441dadb0d3360f60c3, before 09f447accc2570751e7d17f0dc0788b40d3edade affected from f1496dee9cbde2a62821f4441dadb0d3360f60c3, before c4740e7f23ff9a8210198d8b4703259e21b9f69d
Other versions: unaffected
|
| Linux |
affected 3.14 unaffected before 3.14 unaffected from 5.10.265 up to and including 5.10.* unaffected from 5.15.216 up to and including 5.15.* unaffected from 6.1.183 up to and including 6.1.* unaffected from 6.6.151 up to and including 6.6.* unaffected from 6.12.103 up to and including 6.12.* unaffected from 6.18.44 up to and including 6.18.* unaffected from 7.1.8 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74540 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74540
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-74540
trivy image --scanners vuln IMAGE | grep CVE-2026-74540
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/15d6c2367217a6a20b1abae9f38ded716bf620f1 git.kernel.org
- https://git.kernel.org/stable/c/1818180fe12d6cec7a437bc59cde8efdf6b10250 git.kernel.org
- https://git.kernel.org/stable/c/8325eafb38c3dee5af329266393763693d17381b git.kernel.org
- https://git.kernel.org/stable/c/fd4c1e301bdec60a40728ea37de531cbccda501a git.kernel.org
- https://git.kernel.org/stable/c/522b730c62c53a1981604fd73524697fd347830d git.kernel.org
- https://git.kernel.org/stable/c/58e3c5289ad230a7e24ae4b0c7b43f5ee6e32136 git.kernel.org
- https://git.kernel.org/stable/c/09f447accc2570751e7d17f0dc0788b40d3edade git.kernel.org
- https://git.kernel.org/stable/c/c4740e7f23ff9a8210198d8b4703259e21b9f69d git.kernel.org
Source: the record CVE-2026-74540 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse