CVE-2024-50062: RDMA/rtrs-srv: Avoid null pointer deref during path establishment

Description

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

RDMA/rtrs-srv: Avoid null pointer deref during path establishment

For RTRS path establishment, RTRS client initiates and completes con_num
of connections. After establishing all its connections, the information
is exchanged between the client and server through the info_req message.
During this exchange, it is essential that all connections have been
established, and the state of the RTRS srv path is CONNECTED.

So add these sanity checks, to make sure we detect and abort process in
error scenarios to avoid null pointer deref.

Classification

CVE ID: CVE-2024-50062

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.03% (probability of being exploited)

EPSS Percentile: 7.39% (scored less or equal to compared to others)

EPSS Date: 2025-05-06 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-50062
https://git.kernel.org/stable/c/394b2f4d5e014820455af3eb5859eb328eaafcfd
https://git.kernel.org/stable/c/b5d4076664465487a9a3d226756995b12fb73d71
https://git.kernel.org/stable/c/ccb8e44ae3e2391235f80ffc6be59bec6b889ead
https://git.kernel.org/stable/c/b720792d7e8515bc695752e0ed5884e2ea34d12a
https://git.kernel.org/stable/c/d0e62bf7b575fbfe591f6f570e7595dd60a2f5eb

Timeline