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

- 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.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2024-10-21T19:39:51.078Z
- Modified: 2026-08-05T11:41:19.362Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9cb837480424e78ed585376f944088246685aec3 before 394b2f4d5e014820455af3eb5859eb328eaafcfd; from 9cb837480424e78ed585376f944088246685aec3 before b5d4076664465487a9a3d226756995b12fb73d71; from 9cb837480424e78ed585376f944088246685aec3 before ccb8e44ae3e2391235f80ffc6be59bec6b889ead; from 9cb837480424e78ed585376f944088246685aec3 before b720792d7e8515bc695752e0ed5884e2ea34d12a; from 9cb837480424e78ed585376f944088246685aec3 before d0e62bf7b575fbfe591f6f570e7595dd60a2f5eb; 5.8 (not affected: before 5.8; from 5.15.168 up to 5.15.*; from 6.1.113 up to 6.1.*; from 6.6.57 up to 6.6.*; from 6.11.4 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 5.15.168; from 5.16 before 6.1.113; from 6.2 before 6.6.57; from 6.7 before 6.11.4

## 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/394b2f4d5e014820455af3eb5859eb328eaafcfd> (patch)
- <https://git.kernel.org/stable/c/b5d4076664465487a9a3d226756995b12fb73d71> (patch)
- <https://git.kernel.org/stable/c/ccb8e44ae3e2391235f80ffc6be59bec6b889ead> (patch)
- <https://git.kernel.org/stable/c/b720792d7e8515bc695752e0ed5884e2ea34d12a> (patch)
- <https://git.kernel.org/stable/c/d0e62bf7b575fbfe591f6f570e7595dd60a2f5eb> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

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

---

Page: https://cve.day/CVE-2024-50062 · Whole record: https://cve.day/CVE-2024-50062.json · Rebuilt by cve.day 2026-11-25T22:58:47.122Z
