Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-50127

medium

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix error unwind in rxe_create_qp() In the function rxe_create_qp(), rxe_qp_fro…

Vendor / product: Linux — linux kernel

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix error unwind in rxe_create_qp() In the function rxe_create_qp(), rxe_qp_from_init() is called to initialize qp, internally things like the spin locks are not setup until rxe_qp_init_req(). If an error occures before this point then the unwind will call rxe_cleanup() and eventually to rxe_qp_do_cleanup()/rxe_cleanup_task() which will oops when trying to access the uninitialized spinlock. Move the spinlock initializations earlier before any failures.

CVSS
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-06-18 11:15
Modified: 2026-11-05 20:17
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-05 20:22 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

linux / linux_kernel ≥4.8 <4.14.291, ≥4.15 <4.19.256, ≥4.20 <5.4.211, ≥5.5 <5.10.137, ≥5.11 <5.15.61, ≥5.16 <5.18.18

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/1a63f24e724f677db1ab21251f4d0011ae0bb5b5
Patch / mitigation: https://git.kernel.org/stable/c/2ceeb04252e621c0b128ecc8fedbca922d11adba
Patch / mitigation: https://git.kernel.org/stable/c/3c838ca6fbdb173102780d7bdf18f2f7d9e30979
Patch / mitigation: https://git.kernel.org/stable/c/3ef491b26c720a87fcfbd78b7dc8eb83d9753fe6
Patch / mitigation: https://git.kernel.org/stable/c/b348e204a53103f51070513a7494da7c62ecbdaa
Patch / mitigation: https://git.kernel.org/stable/c/db924bd8484c76558a4ac4c4b5aeb52e857f0341
Patch / mitigation: https://git.kernel.org/stable/c/f05b7cf02123aaf99db78abfe638efefdbe15555
Patch / mitigation: https://git.kernel.org/stable/c/fd5382c5805c4bcb50fd25b7246247d3f7114733

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 20:22 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs