CVEvulnerability

CVE-2026-31499

5.5 MEDIUM Published 2026-04-22 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2026-04-22
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-667

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix deadlock in l2cap_conn_del() l2cap_conn_del() calls cancel_delayed_work_sync() for both info_timer and id_addr_timer while holding conn->lock. However, the work functions l2cap_info_timeout() and l2cap_conn_update_id_addr() both acquire conn->lock, creating a potential AB-BA deadlock if the work is already executing when l2cap_conn_del() takes the lock. Move the work cancellations before acquiring conn->lock and use disable_delayed_work_sync() to additionally prevent the works from being rearmed after cancellation, consistent with the pattern used in hci_conn_del().

Affected configurations

• linux linux kernel (>= 6.6.84 < 6.7) • linux linux kernel (>= 6.12.20 < 6.13) • linux linux kernel (>= 6.13.8 < 6.14) • linux linux kernel (>= 6.14.1 < 6.18.21) • linux linux kernel (>= 6.19 < 6.19.11) • linux linux kernel 6.14 • linux linux kernel 7.0

Related

Weakness · CWE (1)

  • CWE-667 Improper Locking weakness

References