Name | CVE-2024-42285 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3912-1, ELA-1219-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | jessie, jessie (lts) | 3.16.84-1 | vulnerable |
stretch (security) | 4.9.320-2 | vulnerable | |
stretch (lts), stretch | 4.9.320-3 | vulnerable | |
buster (security), buster, buster (lts) | 4.19.316-1 | vulnerable | |
bullseye | 5.10.223-1 | vulnerable | |
bullseye (security) | 5.10.226-1 | fixed | |
bookworm | 6.1.106-3 | fixed | |
bookworm (security) | 6.1.112-1 | fixed | |
sid, trixie | 6.11.5-1 | fixed | |
linux-5.10 (PTS) | jessie, jessie (lts) | 5.10.226-1~deb8u1 | fixed |
stretch (lts), stretch | 5.10.226-1~deb9u1 | fixed | |
buster, buster (lts) | 5.10.226-1~deb10u1 | fixed | |
buster (security) | 5.10.218-1~deb10u1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | jessie | (unfixed) | end-of-life | ||
linux | source | stretch | (unfixed) | end-of-life | ||
linux | source | buster | (unfixed) | end-of-life | ||
linux | source | bullseye | 5.10.226-1 | DLA-3912-1 | ||
linux | source | bookworm | 6.1.106-1 | |||
linux | source | (unstable) | 6.10.3-1 | |||
linux-5.10 | source | jessie | 5.10.226-1~deb8u1 | ELA-1219-1 | ||
linux-5.10 | source | stretch | 5.10.226-1~deb9u1 | ELA-1219-1 | ||
linux-5.10 | source | buster | 5.10.226-1~deb10u1 | ELA-1219-1 |
https://git.kernel.org/linus/aee2424246f9f1dadc33faa78990c1e2eb7826e4 (6.11-rc1)