RDMA/rtrs-srv: Avoid null pointer deref during path establishment
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s RTRS server can dereference a null pointer during path establishment if connection or path-state checks fail during the info_req exchange. The input does not specify how an attacker could trigger this condition, or whether authentication or user interaction is required.
Engineers running Linux kernels with RDMA/rtrs-srv should check whether their kernel includes the fix; affected versions are not specified.