Skip to main content
Network Thinking Solutions Logo

CVE-2024-42285

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.

All CVEs
CVE-2024-42285Published 8/17/2024

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.

Vendor advisory
CVSS9.8Critical

Overview

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.

Published
8/17/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.8, < 4.19.320

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.282

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.224

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.165

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.103

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.44

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.10.3

Verify advisory

Source
Linux
Linux
≥ 59c68ac31e15ad09d2cb04734e3c8c544a95f8d4, < d91d253c87fd1efece521ff2612078a35af673c6

Verify advisory

Source
Linux
Linux
≥ 59c68ac31e15ad09d2cb04734e3c8c544a95f8d4, < 7f25f296fc9bd0435be14e89bf657cd615a23574

Verify advisory

Source
Linux
Linux
≥ 59c68ac31e15ad09d2cb04734e3c8c544a95f8d4, < 94ee7ff99b87435ec63211f632918dc7f44dac79

Verify advisory

Source
Linux
Linux
≥ 59c68ac31e15ad09d2cb04734e3c8c544a95f8d4, < 557d035fe88d78dd51664f4dc0e1896c04c97cf6

Verify advisory

Source
Linux
Linux
≥ 59c68ac31e15ad09d2cb04734e3c8c544a95f8d4, < dc8074b8901caabb97c2d353abd6b4e7fa5a59a5

Verify advisory

Source
Linux
Linux
≥ 59c68ac31e15ad09d2cb04734e3c8c544a95f8d4, < ff5bbbdee08287d75d72e65b72a2b76d9637892a

Verify advisory

Source
Linux
Linux
≥ 59c68ac31e15ad09d2cb04734e3c8c544a95f8d4, < ee39384ee787e86e9db4efb843818ef0ea9cb8ae

Verify advisory

Source
Linux
Linux
≥ 59c68ac31e15ad09d2cb04734e3c8c544a95f8d4, < aee2424246f9f1dadc33faa78990c1e2eb7826e4

Verify advisory

Source
Linux
Linux
4.8

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.