Linux
Bluetooth: l2cap: Add missing chan lock in l2cap_ecred_reconf_rsp
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: l2cap: Add missing chan lock in l2cap_ecred_reconf_rsp l2cap_ecred_reconf_rsp() calls l2cap_chan_del() without holding l2cap_chan_lock(). Every other l2cap_chan_del() caller in the file acquires the lock first. A remote BLE device can send a crafted L2CAP ECRED reconfiguration response to corrupt the channel list while another thread is iterating it. Add l2cap_chan_hold() and l2cap_chan_lock() before l2cap_chan_del(), and l2cap_chan_unlock() and l2cap_chan_put() after, matching the pattern used in l2cap_ecred_conn_rsp() and l2cap_conn_del().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 15f02b91056253e8cdc592888f431da0731337b8, < 96dca51715d86559ed6ed8028e5445cecb80f3ae
- >= 15f02b91056253e8cdc592888f431da0731337b8, < 330b20ec97916961ee0e6c29c06bc0fa7c96e64c
- >= 15f02b91056253e8cdc592888f431da0731337b8, < 0ccd75c51f620374086f359e906917676e699a1c
- >= 15f02b91056253e8cdc592888f431da0731337b8, < 77a853aec710b2fdf41fa298ea3cbc9a4358f917
- >= 15f02b91056253e8cdc592888f431da0731337b8, < fe1188abdae9b7a8199dcdfcf9244d5e5d61eb14
- >= 15f02b91056253e8cdc592888f431da0731337b8, < dc89961b76f12aff47124c1df4bdb32a080f4d0c
- >= 15f02b91056253e8cdc592888f431da0731337b8, < 5501d055a1ce3c747141e3955ba8cf034d193f3e
- >= 15f02b91056253e8cdc592888f431da0731337b8, < 42776497cdbc9a665b384a6dcb85f0d4bd927eab
Fixed in 96dca51715d86559ed6ed8028e5445cecb80f3ae, 330b20ec97916961ee0e6c29c06bc0fa7c96e64c, 0ccd75c51f620374086f359e906917676e699a1c, 77a853aec710b2fdf41fa298ea3cbc9a4358f917, fe1188abdae9b7a8199dcdfcf9244d5e5d61eb14, dc89961b76f12aff47124c1df4bdb32a080f4d0c, 5501d055a1ce3c747141e3955ba8cf034d193f3e, 42776497cdbc9a665b384a6dcb85f0d4bd927eab
- 5.7
Fixed in 0, 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10, 7.1
Mitigation
Upgrade Linux to 96dca51715d86559ed6ed8028e5445cecb80f3ae or 330b20ec97916961ee0e6c29c06bc0fa7c96e64c or 0ccd75c51f620374086f359e906917676e699a1c or 77a853aec710b2fdf41fa298ea3cbc9a4358f917 or fe1188abdae9b7a8199dcdfcf9244d5e5d61eb14 or dc89961b76f12aff47124c1df4bdb32a080f4d0c or 5501d055a1ce3c747141e3955ba8cf034d193f3e or 42776497cdbc9a665b384a6dcb85f0d4bd927eab or later.
Upgrade Linux to 0 or 5.10.258 or 5.15.209 or 6.1.175 or 6.6.141 or 6.12.91 or 6.18.33 or 7.0.10 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.