PT-2024-8232 · Linux+6 · Linux Kernel+6

Bart Van Assche

·

Published

2024-06-09

·

Updated

2025-09-29

·

CVE-2024-42285

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Linux kernel versions prior to 6.6.50
Description: The issue is related to a use-after-free vulnerability in the RDMA/iwcm module of the Linux kernel. This vulnerability occurs when the iw conn req handler() function associates a new struct rdma id private (conn id) with an existing struct iw cm id (cm id). The rdma destroy id() function frees both the cm id and the struct rdma id private, but the cm work handler() function may still trigger a use-after-free if it tries to access the freed struct rdma id private. This could potentially allow an attacker to impact the confidentiality, integrity, and availability of protected information.
Recommendations: To resolve this issue, update the Linux kernel to version 6.6.50 or later. As a temporary workaround, consider restricting access to the RDMA/iwcm module to minimize the risk of exploitation. Avoid using the cm id and conn id structures in the affected API endpoints until the issue is resolved.

Exploit

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-11345
ALT-PU-2024-11524
ALT-PU-2024-11577
ALT-PU-2024-11855
ALT-PU-2024-11863
ALT-PU-2024-12232
ALT-PU-2024-12537
ALT-PU-2024-13121
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-47825
AZL-47847
BDU:2024-09777
CVE-2024-42285
DLA-3912-1
DLA-4008-1
MGASA-2024-0309
MGASA-2024-0310
OESA-2024-2076
OESA-2024-2077
OESA-2024-2078
OESA-2024-2079
OESA-2024-2080
OPENSUSE-SU-2024_3190-1
OPENSUSE-SU-2024_3209-1
OPENSUSE-SU-2024_3483-1
SUSE-SU-2024:3189-1
SUSE-SU-2024:3190-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3209-1
SUSE-SU-2024:3251-1
SUSE-SU-2024:3252-1
SUSE-SU-2024:3383-1
SUSE-SU-2024:3483-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7088-1
USN-7088-2
USN-7088-3
USN-7088-4
USN-7088-5
USN-7100-1
USN-7100-2
USN-7119-1
USN-7123-1
USN-7144-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7194-1
USN-7196-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Suse
Ubuntu