Overview
About vulnerability
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().
Details
- Affected product:
- AlmaLinux 9.2 ESU , Amazon Linux 2 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , TuxCare 9.6 ESU , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.14.0 (+7 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 10 | Released |
52 kernels
|
| AlmaLinux 8 | Released |
118 kernels
|
| AlmaLinux 9 | Released |
118 kernels
|
| CentOS 8 | Released |
15 kernels
|
| CloudLinux OS 7h | Released |
107 kernels
|
| Debian 11 | Released |
37 kernels
|
| Debian 11 cloud | Released |
17 kernels
|
| Debian 12 | Released |
40 kernels
|
| Debian 13 | Released |
10 kernels
|
| Oracle Linux 10 | Released |
37 kernels
|
| Oracle Linux 8 | Released |
117 kernels
|
| Oracle Linux 9 | Released |
117 kernels
|
| RHEL 10 | Released |
51 kernels
|
| RHEL 8 | Released |
114 kernels
|
| RHEL 9 | Released |
116 kernels
|
| Rocky Linux 10 | Released |
35 kernels
|
| Rocky Linux 8 | Released |
96 kernels
|
| Rocky Linux 9 | Released |
93 kernels
|
| Ubuntu 22.04 | Planned | — |
| Ubuntu 24.04 | Released |
46 kernels
|