CVE-2022-50136

RDMA/siw: Fix duplicated reported IW_CM_EVENT_CONNECT_REPLY event

State
Published
Severity
7.5 High
Published
Jun 18, 2025
Updated
Aug 5, 2026
Reserved
Jun 18, 2025

Read the record on cve.org

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>

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 11edf0bba15ea9df49478affec7974f351bb2f6eAffected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 9ade92ddaf2347fb34298c02080caaa3cdd7c27bAffected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before f6e26e1a5f600b760dc32135d3fac846eabe09e7Affected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 0066246d2d7e2619f3ecf3cf07333c59e6e7d84dAffected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 1434de50a5d9dab91c8ce031bc23b3e2178379c5Affected
  • 6c52fdc244b5ccc468006fd65a504d4ee33743c7 to before 3056fc6c32e613b760422b94c7617ac9a24a4721Affected
LinuxLinux
  • 5.3Affected
  • before 5.3Not affected
  • 5.4.211 through 5.4.*Not affected
  • 5.10.137 through 5.10.*Not affected
  • 5.15.61 through 5.15.*Not affected
  • 5.18.18 through 5.18.*Not affected
  • 5.19.2 through 5.19.*Not affected
  • 6.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.