Bluetooth: l2cap: Add missing chan lock in l2cap_ecred_reconf_rsp
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0ccd75c51f620374086f359e906917676e699a1c, Kernel 330b20ec97916961ee0e6c29c06bc0fa7c96e64c, Kernel 42776497cdbc9a665b384a6dcb85f0d4bd927eab and 5 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.7, >=15f02b91056253e8cdc592888f431da0731337b8 <0ccd75c51f620374086f359e906917676e699a1c, >=15f02b91056253e8cdc592888f431da0731337b8 <330b20ec97916961ee0e6c29c06bc0fa7c96e64c, >=15f02b91056253e8cdc592888f431da0731337b8 <42776497cdbc9a665b384a6dcb85f0d4bd927eab, >=15f02b91056253e8cdc592888f431da0731337b8 <5501d055a1ce3c747141e3955ba8cf034d193f3e, >=15f02b91056253e8cdc592888f431da0731337b8 <77a853aec710b2fdf41fa298ea3cbc9a4358f917, >=15f02b91056253e8cdc592888f431da0731337b8 <96dca51715d86559ed6ed8028e5445cecb80f3ae, >=15f02b91056253e8cdc592888f431da0731337b8 <dc89961b76f12aff47124c1df4bdb32a080f4d0c, >=15f02b91056253e8cdc592888f431da0731337b8 <fe1188abdae9b7a8199dcdfcf9244d5e5d61eb14 | 0ccd75c51f620374086f359e906917676e699a1c, 330b20ec97916961ee0e6c29c06bc0fa7c96e64c, 42776497cdbc9a665b384a6dcb85f0d4bd927eab, 5501d055a1ce3c747141e3955ba8cf034d193f3e, 77a853aec710b2fdf41fa298ea3cbc9a4358f917, 96dca51715d86559ed6ed8028e5445cecb80f3ae, dc89961b76f12aff47124c1df4bdb32a080f4d0c, fe1188abdae9b7a8199dcdfcf9244d5e5d61eb14 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket