Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
RDMA/mlx4: Fix mis-use of RCU in mlx4_srq_event()
Sashiko points out the radix_tree itself is RCU safe, but nothing ever frees the mlx4_srq struct with RCU, and it isn’t even accessed within the RCU critical section. It also will crash if an event is delivered before the srq object is finished initializing.
Use the spinlock since it isn’t easy to make RCU work, use refcount_inc_not_zero() to protect against partially initialized objects, and order the refcount_set() to be after the srq is fully initialized.
Details
- Affected product:
- AlmaLinux 9.2 ESU , CentOS 7 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , TuxCare 9.6 ESU
- Affected packages:
- kernel @ 3.10.0 (+5 more)
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 8 | Released |
107 kernels
|
| AlmaLinux 9 | Released |
109 kernels
|
| CentOS 7 | Released |
35 kernels
|
| CentOS 7 plus | Released |
23 kernels
|
| CentOS 8 | Released |
21 kernels
|
| CloudLinux OS 7h | Released |
103 kernels
|
| CloudLinux OS 8 | Released |
100 kernels
|
| Oracle Linux 8 | Released |
116 kernels
|
| Oracle Linux 9 | Released |
109 kernels
|
| RHEL 7 | Released |
58 kernels
|
| RHEL 8 | Released |
111 kernels
|
| RHEL 9 | Released |
107 kernels
|
| Rocky Linux 8 | Released |
89 kernels
|
| Rocky Linux 9 | Released |
87 kernels
|