CVE-2024-42285
"Veritas RDMA Use-After-Free Vulnerability"
Description
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.
INFO
Published Date :
Aug. 17, 2024, 9:15 a.m.
Last Modified :
Aug. 19, 2024, 7:45 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-42285
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-42285
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-42285
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 19, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://git.kernel.org/stable/c/557d035fe88d78dd51664f4dc0e1896c04c97cf6 No Types Assigned https://git.kernel.org/stable/c/557d035fe88d78dd51664f4dc0e1896c04c97cf6 Patch Changed Reference Type https://git.kernel.org/stable/c/7f25f296fc9bd0435be14e89bf657cd615a23574 No Types Assigned https://git.kernel.org/stable/c/7f25f296fc9bd0435be14e89bf657cd615a23574 Patch Changed Reference Type https://git.kernel.org/stable/c/94ee7ff99b87435ec63211f632918dc7f44dac79 No Types Assigned https://git.kernel.org/stable/c/94ee7ff99b87435ec63211f632918dc7f44dac79 Patch Changed Reference Type https://git.kernel.org/stable/c/aee2424246f9f1dadc33faa78990c1e2eb7826e4 No Types Assigned https://git.kernel.org/stable/c/aee2424246f9f1dadc33faa78990c1e2eb7826e4 Patch Changed Reference Type https://git.kernel.org/stable/c/d91d253c87fd1efece521ff2612078a35af673c6 No Types Assigned https://git.kernel.org/stable/c/d91d253c87fd1efece521ff2612078a35af673c6 Patch Changed Reference Type https://git.kernel.org/stable/c/dc8074b8901caabb97c2d353abd6b4e7fa5a59a5 No Types Assigned https://git.kernel.org/stable/c/dc8074b8901caabb97c2d353abd6b4e7fa5a59a5 Patch Changed Reference Type https://git.kernel.org/stable/c/ee39384ee787e86e9db4efb843818ef0ea9cb8ae No Types Assigned https://git.kernel.org/stable/c/ee39384ee787e86e9db4efb843818ef0ea9cb8ae Patch Changed Reference Type https://git.kernel.org/stable/c/ff5bbbdee08287d75d72e65b72a2b76d9637892a No Types Assigned https://git.kernel.org/stable/c/ff5bbbdee08287d75d72e65b72a2b76d9637892a Patch Added CWE NIST CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.8 up to (excluding) 4.19.320 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.282 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.224 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.165 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.103 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.44 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.3 -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 19, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/d91d253c87fd1efece521ff2612078a35af673c6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/7f25f296fc9bd0435be14e89bf657cd615a23574 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/94ee7ff99b87435ec63211f632918dc7f44dac79 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/557d035fe88d78dd51664f4dc0e1896c04c97cf6 [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2024
Action Type Old Value New Value Added Description 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. Added Reference kernel.org https://git.kernel.org/stable/c/dc8074b8901caabb97c2d353abd6b4e7fa5a59a5 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ff5bbbdee08287d75d72e65b72a2b76d9637892a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ee39384ee787e86e9db4efb843818ef0ea9cb8ae [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/aee2424246f9f1dadc33faa78990c1e2eb7826e4 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-42285
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-42285
weaknesses.