Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
RDMA/iwcm: Fix a use-after-free related to destroying CM IDs
iw_conn_req_handler() associates a new struct rdma_id_private (conn_id) with an existing struct iw_cm_id (cm_id) as follows:
conn_id->cm_id.iw = cm_id; cm_id->context = conn_id; cm_id->cm_handler = cma_iw_handler;
rdma_destroy_id() frees both the cm_id and the struct rdma_id_private. Make sure that cm_work_handler() does not trigger a use-after-free by only freeing of the struct rdma_id_private after all pending work has finished.
Details
- Affected product:
- AlmaLinux 9.2 ESU , Amazon Linux 2 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , Debian 10 ELS , Oracle Linux 7 ELS , TuxCare 9.6 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.14.0 (+10 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| Amazon Linux 2 | Released |
93 kernels
|
| Amazon Linux 2023 | Planned | — |
| Amazon Linux 2 5.10 | Will Not Fix | — |
| Amazon Linux 2 5.4 | Will Not Fix | — |
| Debian 11 | Ready For Release | — |
| Debian 11 cloud | Ready For Release | — |
| Debian 12 | Released |
15 kernels
|
| Oracle Linux 7 UEK 5 | Released |
122 kernels
|
| Oracle Linux 7 UEK 6 | Released |
104 kernels
|
| Oracle Linux 8 UEK 6 | Released |
105 kernels
|
| Oracle Linux 8 UEK 7 | Released |
45 kernels
|
| Oracle Linux 9 UEK 7 | Released |
45 kernels
|
| Proxmox VE 7 5.15 | Released |
47 kernels
|
| Ubuntu 18.04 AWS Focal | Will Not Fix | — |
| Ubuntu 18.04 Azure Focal | Will Not Fix | — |
| Ubuntu 18.04 HWE Focal | Will Not Fix | — |
| Ubuntu 20.04 | Ready For Release | — |
| Ubuntu 20.04 AWS | Will Not Fix | — |
| Ubuntu 20.04 GCP | Ready For Release | — |
| Ubuntu 20.04 HWE AWS | Released |
48 kernels
|
| Ubuntu 20.04 HWE Azure | Released |
31 kernels
|
| Ubuntu 22.04 | Released |
61 kernels
|
| Ubuntu 22.04 AWS | Released |
55 kernels
|
| Ubuntu 22.04 Azure | Released |
51 kernels
|
| Ubuntu 24.04 | Released |
12 kernels
|