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

Bluetooth: L2CAP: use chan timer to close channels in cleanup_listen()

l2cap_chan_close() removes the channel from conn->chan_l, which
must be done under conn->lock. cleanup_listen() runs under the
parent sk_lock, so acquiring conn->lock would invert the
established conn->lock -> chan->lock -> sk_lock order.

Instead of calling l2cap_chan_close() directly, schedule
l2cap_chan_timeout with delay 0 to close the channel
asynchronously. The timeout handler already acquires conn->lock
and chan->lock in the correct order.

The timer is only armed when chan->conn is still set: if it is
already NULL, l2cap_conn_del() has already processed this channel
(l2cap_chan_del + l2cap_sock_teardown_cb + l2cap_sock_close_cb),
so there is nothing left to do. If l2cap_conn_del() races in
after the timer is armed, __clear_chan_timer() inside
l2cap_chan_del() cancels it; if the timer has already fired, the
handler returns harmlessly because chan->conn was cleared.
Published: 2026-07-02
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw arises from a reversed lock ordering in the Bluetooth L2CAP cleanup_listen function. While holding the parent socket lock, the code attempts to remove a channel with a different lock order, which can trigger a kernel deadlock. The resulting hang would disable Bluetooth services and could stall the of‑service. The incident is classified as CWE-413 and CWE-667, a classic lock‑ordering defect and a concurrency error that can lead to deadlocks.

Affected Systems

All Linux kernel releases that ship the legacy L2CAP cleanup_listen path are affected, as indicated by the broad Linux kernel CPE. Because the vulnerability description does not narrow the range, every current default L2CAP implementation is at risk until the patch is applied.

Risk and Exploitability

The EPSS score of less than 1% suggests that successful exploitation is unlikely, and the vulnerability is not listed in CISA’s KEV catalog. No explicit attack vector is disclosed; however, it is reasonable to infer that an attacker could trigger the flaw by manipulating the Bluetooth stack, such as by sending malformed L2CAP packets or initiating connections that exercise cleanup_listen. Given the high CVSS score of 8.8, the potential impact is significant, leading to service disruption and possible system destabilization.

Generated by OpenCVE AI on August 12, 2026 at 09:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel update that contains the fix for the L2CAP lock‑ordering defect (the patch replaces direct channel close with an asynchronous timer), thereby eliminating the deadlock risk.
  • If a kernel update cannot be performed immediately, disable all Bluetooth services or unload the l2cap module to prevent interaction with the vulnerable cleanup logic until the kernel patch is applied.
  • For custom or embedded kernels, apply the specific header and source code changes from the kernel commit that schedules l2cap_chan_timeout instead of calling l2cap_chan_close directly; verify that the lock order is now conn->lock -> chan->lock -> sk_lock.

Generated by OpenCVE AI on August 12, 2026 at 09:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8566-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8568-1 Linux kernel (OEM) vulnerabilities
Ubuntu USN Ubuntu USN USN-8569-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Sat, 18 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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'}


Fri, 03 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-739

Fri, 03 Jul 2026 00:15:00 +0000

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

None

cvssV3_1

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

threat_severity

Moderate


Thu, 02 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-739

Thu, 02 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: use chan timer to close channels in cleanup_listen() l2cap_chan_close() removes the channel from conn->chan_l, which must be done under conn->lock. cleanup_listen() runs under the parent sk_lock, so acquiring conn->lock would invert the established conn->lock -> chan->lock -> sk_lock order. Instead of calling l2cap_chan_close() directly, schedule l2cap_chan_timeout with delay 0 to close the channel asynchronously. The timeout handler already acquires conn->lock and chan->lock in the correct order. The timer is only armed when chan->conn is still set: if it is already NULL, l2cap_conn_del() has already processed this channel (l2cap_chan_del + l2cap_sock_teardown_cb + l2cap_sock_close_cb), so there is nothing left to do. If l2cap_conn_del() races in after the timer is armed, __clear_chan_timer() inside l2cap_chan_del() cancels it; if the timer has already fired, the handler returns harmlessly because chan->conn was cleared.
Title Bluetooth: L2CAP: use chan timer to close channels in cleanup_listen()
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-05T12:35:07.724Z

Reserved: 2026-06-09T07:44:35.400Z

Link: CVE-2026-53358

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-02T15:17:03.283

Modified: 2026-07-22T19:07:50.270

Link: CVE-2026-53358

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-53358 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T09:45:01Z

Weaknesses