CVE-2026-31499

Bluetooth: L2CAP: Fix deadlock in l2cap_conn_del()

State
Published
Severity
Not scored
Published
Apr 22, 2026
Updated
May 23, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f87271d21dd4ee83857ca11b94e7b4952749bbae to before f7f35a4f7fd574f5889bb2e4b397e14cbb83f6daAffected
  • ab4eedb790cae44313759b50fe47da285e2519d5 to before 3f26ecbd9cde621dd94be7ef252c7210b965a5c7Affected
  • ab4eedb790cae44313759b50fe47da285e2519d5 to before d008460de352e534f6721de829b093368564ec66Affected
  • ab4eedb790cae44313759b50fe47da285e2519d5 to before 00fdebbbc557a2fc21321ff2eaa22fd70c078608Affected
  • efc30877bd4bc85fefe98d80af60fafc86e5775eAffected
  • 18ab6b6078fa8191ca30a3065d57bf35d5635761Affected
  • 6.12.20 to before 6.12.88Affected
  • 6.6.84 to before 6.7Affected
  • 6.13.8 to before 6.14Affected
LinuxLinux
  • 6.14Affected
  • before 6.14Not affected
  • 6.12.88 through 6.12.*Not affected
  • 6.18.21 through 6.18.*Not affected
  • 6.19.11 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.