Bluetooth: L2CAP: Fix deadlock in l2cap_conn_del() (Linux Linux)

CVE-2026-31499
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.09 % · percentile 1 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected f87271d21dd4ee83857ca11b94e7b4952749bbae < f7f35a4f7fd574f5889bb2e4b397e14cbb83f6da ; affected ab4eedb790cae44313759b50fe47da285e2519d5 < 3f26ecbd9cde621dd94be7ef252c7210b965a5c7 ; affected ab4eedb790cae44313759b50fe47da285e2519d5 < d008460de352e534f6721de829b093368564ec66 ; affected ab4eedb790cae44313759b50fe47da285e2519d5 < 00fdebbbc557a2fc21321ff2eaa22fd70c078608 ; affected efc30877bd4bc85fefe98d80af60fafc86e5775e ; affected 18ab6b6078fa8191ca30a3065d57bf35d5635761
Linux · Linuxaffected 6.14 ; unaffected 0 < 6.14 ; unaffected 6.12.88 ≤ 6.12.* ; unaffected 6.18.21 ≤ 6.18.* ; unaffected 6.19.11 ≤ 6.19.* ; unaffected 7.0 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD