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.
Published: 2026-07-29
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An untrusted Bluetooth host can trigger a use‑after‑free in the Linux kernel's L2CAP layer. The vulnerability arises in l2cap_sock_new_connection_cb() when a child socket is returned after the parent socket’s lock is released, allowing another task to free that socket before the callback dereferences it. This flaw, a classic use‑after‑free (CWE‑825), can cause an out‑of‑bounds access that may crash the kernel or execute arbitrary code with kernel privileges, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

All systems running the Linux kernel that contain the vulnerable l2cap_sock_new_connection_cb() implementation. The exact kernel versions are not enumerated in the advisory, so any kernel build that has not yet applied the patch is potentially affected.

Risk and Exploitability

The CVSS score of 8.8 classifies this flaw as high severity. The EPSS score of <1% suggests a low estimated probability of exploitation in the wild, and it is not listed in the CISA KEV catalog. Nevertheless, the flaw can be triggered by establishing an L2CAP connection with a malicious Bluetooth device, so it is theoretically feasible without user interaction. The vulnerability would require operating at the host level, but once a Bluetooth attack vector is available, an attacker could leverage the use‑after‑free to gain unintended kernel execution.

Generated by OpenCVE AI on August 3, 2026 at 13:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes the L2CAP use‑after‑free fix.
  • Disable the Bluetooth stack or L2CAP protocol if the kernel functions do not require it.
  • If disabling Bluetooth is not possible, isolate the Bluetooth interface in a separate process or virtual machine to limit the impact of a potential kernel compromise.

Generated by OpenCVE AI on August 3, 2026 at 13:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
Debian DSA Debian DSA DSA-6405-1 linux security update
History

Thu, 30 Jul 2026 06:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Wed, 29 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Wed, 29 Jul 2026 08:30:00 +0000

Type Values Removed Values Added
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.
Title Bluetooth: L2CAP: Fix use-after-free in l2cap_sock_new_connection_cb()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T04:57:35.594Z

Reserved: 2026-07-19T15:36:31.796Z

Link: CVE-2026-64557

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-29T09:16:30.280

Modified: 2026-08-17T05:18:01.357

Link: CVE-2026-64557

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-29T00:00:00Z

Links: CVE-2026-64557 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T14:00:07Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference