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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-10-21T19:39:51.078Z
- **Modified:** 2026-08-05T11:41:19.362Z

## Who should check

- Anyone running Linux \>= 9cb837480424e78ed585376f944088246685aec3, \< 394b2f4d5e014820455af3eb5859eb328eaafcfd; \>= 9cb837480424e78ed585376f944088246685aec3, \< b5d4076664465487a9a3d226756995b12fb73d71; \>= 9cb837480424e78ed585376f944088246685aec3, \< ccb8e44ae3e2391235f80ffc6be59bec6b889ead; \>= 9cb837480424e78ed585376f944088246685aec3, \< b720792d7e8515bc695752e0ed5884e2ea34d12a; \>= 9cb837480424e78ed585376f944088246685aec3, \< d0e62bf7b575fbfe591f6f570e7595dd60a2f5eb
- Anyone running Linux 5.8

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

## Affected and fixed versions

- Linux: \>= 9cb837480424e78ed585376f944088246685aec3, \< 394b2f4d5e014820455af3eb5859eb328eaafcfd; \>= 9cb837480424e78ed585376f944088246685aec3, \< b5d4076664465487a9a3d226756995b12fb73d71; \>= 9cb837480424e78ed585376f944088246685aec3, \< ccb8e44ae3e2391235f80ffc6be59bec6b889ead; \>= 9cb837480424e78ed585376f944088246685aec3, \< b720792d7e8515bc695752e0ed5884e2ea34d12a; \>= 9cb837480424e78ed585376f944088246685aec3, \< d0e62bf7b575fbfe591f6f570e7595dd60a2f5eb (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-50062. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50062.md
Affected: Linux >= 9cb837480424e78ed585376f944088246685aec3, < 394b2f4d5e014820455af3eb5859eb328eaafcfd; >= 9cb837480424e78ed585376f944088246685aec3, < b5d4076664465487a9a3d226756995b12fb73d71; >= 9cb837480424e78ed585376f944088246685aec3, < ccb8e44ae3e2391235f80ffc6be59bec6b889ead; >= 9cb837480424e78ed585376…
Fixed in: Linux 394b2f4d5e014820455af3eb5859eb328eaafcfd

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-50062 being exploited?

There is no confirmed exploitation: CVE-2024-50062 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-50062?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-50062?

Linux \>= 9cb837480424e78ed585376f944088246685aec3, \< 394b2f4d5e014820455af3eb5859eb328eaafcfd; \>= 9cb837480424e78ed585376f944088246685aec3, \< b5d4076664465487a9a3d226756995b12fb73d71; \>= 9cb837480424e78ed585376f944088246685aec3, \< ccb8e44ae3e2391235f80ffc6be59bec6b889ead; \>= 9cb837480424e78ed585376f944088246685aec3, \< b720792d7e8515bc695752e0ed5884e2ea34d12a; \>= 9cb837480424e78ed585376f944088246685aec3, \< d0e62bf7b575fbfe591f6f570e7595dd60a2f5eb; Linux 5.8.

### Is there a fix for CVE-2024-50062?

Yes. Fixed in Linux 394b2f4d5e014820455af3eb5859eb328eaafcfd. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-50062?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-50062>

HTML: <https://flawdb.com/CVE-2024-50062> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-50062>
