CVE-2026-31499

MEDIUM

Bluetooth: L2CAP: Fix deadlock in l2cap_conn_del()

Title source: cna
STIX 2.1

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().

Scores

CVSS v3 5.5
EPSS 0.0009
EPSS Percentile 0.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-667
Status published
Products (19)
Linux/Linux < 6.14
Linux/Linux 18ab6b6078fa8191ca30a3065d57bf35d5635761
Linux/Linux 6.12.20 - 6.12.88
Linux/Linux 6.12.88 - 6.12.*
Linux/Linux 6.13.8 - 6.14
Linux/Linux 6.14
Linux/Linux 6.18.21 - 6.18.*
Linux/Linux 6.19.11 - 6.19.*
Linux/Linux 6.6.84 - 6.7
Linux/Linux 7.0
... and 9 more
Published Apr 22, 2026
Tracked Since Apr 22, 2026