cvelo
P2 · HighCVSS 8.0EPSS 0.6%

Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer

  • CVE-2026-139082
  • GHSA-4vvr-34vf-wcpp
  • EUVD-2026-138635

Description

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: hold conn->lock for __l2cap_ecred_conn_rsp_defer __l2cap_ecred_conn_rsp_defer() > __l2cap_chan_list_id() accesses conn->chan_l which is guarded by conn->lock. The lock fails to be held when calling from l2cap_sock.c. Fix by using l2cap_chan_conn_lock(), and taking the locks in required order l2cap_conn::lock > l2cap_chan::lock > sk. Leave fast path with sk->sk_state precheck. Move the L2CAP defer handling to l2cap_sock_defer(). The code should also take l2cap_chan_lock() for sibling channels, but that needs separate fix due to lock nesting.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run a version from 6.12.20 to before 6.13update to 6.13 or laterMinor version change: check the release notes
    • If you run a version from 6.6.84 to before 6.7update to 6.7 or laterMinor version change: check the release notes

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 6.12.20 to before 6.136.13
    from 6.6.84 to before 6.76.7
    from 6.13.8 to before 6.14none stated
    6.14none stated
    before 6.14: not affectednone stated
    from 7.3.6 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.