Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btusb: revert use of devm_kzalloc in btusb
This reverts commit 98921dbd00c4e (“Bluetooth: Use devm_kzalloc in btusb.c file”).
In btusb_probe(), we use devm_kzalloc() to allocate the btusb data. This ties the lifetime of all the btusb data to the binding of a driver to one interface, INTF. In a driver that binds to other interfaces, ISOC and DIAG, this is an accident waiting to happen.
The issue is revealed in btusb_disconnect(), where calling usb_driver_release_interface(&btusb_driver, data->intf) will have devm free the data that is also being used by the other interfaces of the driver that may not be released yet.
To fix this, revert the use of devm and go back to freeing memory explicitly.
Details
- Affected product:
- AlmaLinux 9.2 ESU , Amazon Linux 2 ELS , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , CloudLinux 7 ELS , Debian 10 ELS , Oracle Linux 7 ELS , RHEL 7 ELS , TuxCare 9.6 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.14.0 (+15 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 9.2 ESU | Planned | — |
| AlmaLinux 9.6 ESU | Planned | — |
| CentOS 7 ELS | Ready For Release | — |
| Debian 12 | Will Not Fix |
33 kernels
|
| Debian 13 | Planned | — |
| Oracle Linux 8 UEK 7 | Will Not Fix |
85 kernels
|
| Oracle Linux 9 UEK 7 | Will Not Fix |
85 kernels
|
| Proxmox VE 7 5.15 | Will Not Fix |
47 kernels
|
| Ubuntu 20.04 HWE AWS | Will Not Fix |
57 kernels
|
| Ubuntu 20.04 HWE Azure | Will Not Fix |
40 kernels
|
| Ubuntu 22.04 | Will Not Fix |
90 kernels
|
| Ubuntu 22.04 AWS | Will Not Fix |
81 kernels
|
| Ubuntu 22.04 Azure | Will Not Fix |
73 kernels
|
| Ubuntu 24.04 | Released |
41 kernels
|
| Ubuntu 24.04 AWS | Planned | — |