CVE-2024-42285
HIGHLinux Kernel 4.8-6.10.3 - Use-After-Free in RDMA/iwcm CM ID Destruction
Title source: llmDescription
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.
References (10)
Core 10
Core References
Scores
CVSS v3
7.8
EPSS
0.0024
EPSS Percentile
15.4%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-416
Status
published
Products (26)
linux/Kernel
4.20.0 - 5.4.282linux
linux/Kernel
4.8.0 - 4.19.320linux
linux/Kernel
5.11.0 - 5.15.165linux
linux/Kernel
5.16.0 - 6.1.103linux
linux/Kernel
5.5.0 - 5.10.224linux
linux/Kernel
6.2.0 - 6.6.44linux
linux/Kernel
6.7.0 - 6.10.3linux
Linux/Linux
< 4.8
Linux/Linux
4.19.320 - 4.19.*
Linux/Linux
4.8
... and 16 more
Published
Aug 17, 2024
Tracked Since
Feb 18, 2026