CVE-2026-64557
Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_new_connection_cb()
Check your servers for CVE-2026-64557
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-64557 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 use-after-free in l2cap_sock_new_connection_cb()
l2cap_sock_new_connection_cb() returned l2cap_pi(sk)->chan after release_sock(parent). Once the parent lock is dropped the newly enqueued child socket sk is reachable via the accept queue, so another task can accept and free it before the callback dereferences sk, resulting in a use-after-free.
Rework the ->new_connection() op so the core, rather than the callback, owns the child channel's lifetime. The op now receives a pre-allocated new_chan and returns an errno instead of allocating and returning a channel. l2cap_new_connection() allocates the child channel and links it into the conn list via __l2cap_chan_add() before invoking the callback, so the conn-list reference keeps the channel alive once release_sock(parent) exposes the socket to other tasks.
Channel configuration that was duplicated in l2cap_sock_init() and the various new_connection callbacks is consolidated into l2cap_chan_set_defaults(), which now inherits from the parent channel when one is supplied.
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.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.6% of all scored CVEs. Scores of 2 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
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8ffb929098a56939ac71509302eeab5b207bf262, before b39298044e5534612511a2ff5de03ba5f6e7a820 affected from 8ffb929098a56939ac71509302eeab5b207bf262, before 8c37e4338c801ebb8cee52436c01c41e009f6e87 affected from 8ffb929098a56939ac71509302eeab5b207bf262, before 84e718b6a814edc84159361f9f454a4e92ae91ae affected from 8ffb929098a56939ac71509302eeab5b207bf262, before 36da806f7fbaee56ad9e81859deec203f9728700 affected from 8ffb929098a56939ac71509302eeab5b207bf262, before 733e76e74e406c1d1ddc7369420dd8a47f48bb8a affected from 8ffb929098a56939ac71509302eeab5b207bf262, before 6fef032af0092ed5ccb767239a9ac1bc38c08a40
Other versions: unaffected
|
| Linux |
affected 3.13 unaffected before 3.13 unaffected from 6.1.178 up to and including 6.1.* unaffected from 6.6.145 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.40 up to and including 6.18.* unaffected from 7.1.5 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-64557 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64557
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-64557
trivy image --scanners vuln IMAGE | grep CVE-2026-64557
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/b39298044e5534612511a2ff5de03ba5f6e7a820 git.kernel.org
- https://git.kernel.org/stable/c/8c37e4338c801ebb8cee52436c01c41e009f6e87 git.kernel.org
- https://git.kernel.org/stable/c/84e718b6a814edc84159361f9f454a4e92ae91ae git.kernel.org
- https://git.kernel.org/stable/c/36da806f7fbaee56ad9e81859deec203f9728700 git.kernel.org
- https://git.kernel.org/stable/c/733e76e74e406c1d1ddc7369420dd8a47f48bb8a git.kernel.org
- https://git.kernel.org/stable/c/6fef032af0092ed5ccb767239a9ac1bc38c08a40 git.kernel.org
Source: the record CVE-2026-64557 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse