# CVE-2022-50136: RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2025-06-18T11:03:00.289Z
- Modified: 2026-08-05T08:57:30.552Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event

If siw_recv_mpa_rr returns -EAGAIN, it means that the MPA reply hasn't
been received completely, and should not report IW_CM_EVENT_CONNECT_REPLY
in this case. This may trigger a call trace in iw_cm. A simple way to
trigger this:
 server: ib_send_lat
 client: ib_send_lat -R <server_ip>

The call trace looks like this:

 kernel BUG at drivers/infiniband/core/iwcm.c:894!
 invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
 <...>
 Workqueue: iw_cm_wq cm_work_handler [iw_cm]
 Call Trace:
  <TASK>
  cm_work_handler+0x1dd/0x370 [iw_cm]
  process_one_work+0x1e2/0x3b0
  worker_thread+0x49/0x2e0
  ? rescuer_thread+0x370/0x370
  kthread+0xe5/0x110
  ? kthread_complete_and_exit+0x20/0x20
  ret_from_fork+0x1f/0x30
  </TASK>

(As written by CVE List.)

## Affected

- Linux Linux: from 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before 11edf0bba15ea9df49478affec7974f351bb2f6e; from 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before 9ade92ddaf2347fb34298c02080caaa3cdd7c27b; from 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before f6e26e1a5f600b760dc32135d3fac846eabe09e7; from 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before 0066246d2d7e2619f3ecf3cf07333c59e6e7d84d; from 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before 1434de50a5d9dab91c8ce031bc23b3e2178379c5; from 6c52fdc244b5ccc468006fd65a504d4ee33743c7 before 3056fc6c32e613b760422b94c7617ac9a24a4721; 5.3 (not affected: before 5.3; from 5.4.211 up to 5.4.*; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.3 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/11edf0bba15ea9df49478affec7974f351bb2f6e> (patch)
- <https://git.kernel.org/stable/c/9ade92ddaf2347fb34298c02080caaa3cdd7c27b> (patch)
- <https://git.kernel.org/stable/c/f6e26e1a5f600b760dc32135d3fac846eabe09e7> (patch)
- <https://git.kernel.org/stable/c/0066246d2d7e2619f3ecf3cf07333c59e6e7d84d> (patch)
- <https://git.kernel.org/stable/c/1434de50a5d9dab91c8ce031bc23b3e2178379c5> (patch)
- <https://git.kernel.org/stable/c/3056fc6c32e613b760422b94c7617ac9a24a4721> (patch)

## Sources

- CVE List: [CVE-2022-50136](https://www.cve.org/CVERecord?id=CVE-2022-50136), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-50136](https://nvd.nist.gov/vuln/detail/CVE-2022-50136), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-50136 · Whole record: https://cve.day/CVE-2022-50136.json · Rebuilt by cve.day 2026-11-25T22:58:21.070Z
