CVE-2022-50127

Source
https://cve.org/CVERecord?id=CVE-2022-50127
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50127.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50127
Downstream
Related
Published
2025-06-18T11:02:54.332Z
Modified
2026-03-12T03:26:14.362032Z
Summary
RDMA/rxe: Fix error unwind in rxe_create_qp()
Details

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

RDMA/rxe: Fix error unwind in rxecreateqp()

In the function rxecreateqp(), rxeqpfrominit() is called to initialize qp, internally things like the spin locks are not setup until rxeqpinitreq().

If an error occures before this point then the unwind will call rxecleanup() and eventually to rxeqpdocleanup()/rxecleanuptask() which will oops when trying to access the uninitialized spinlock.

Move the spinlock initializations earlier before any failures.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50127.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8700e3e7c4857d28ebaa824509934556da0b3e76
Fixed
3c838ca6fbdb173102780d7bdf18f2f7d9e30979
Fixed
1a63f24e724f677db1ab21251f4d0011ae0bb5b5
Fixed
b348e204a53103f51070513a7494da7c62ecbdaa
Fixed
3ef491b26c720a87fcfbd78b7dc8eb83d9753fe6
Fixed
2ceeb04252e621c0b128ecc8fedbca922d11adba
Fixed
db924bd8484c76558a4ac4c4b5aeb52e857f0341
Fixed
f05b7cf02123aaf99db78abfe638efefdbe15555
Fixed
fd5382c5805c4bcb50fd25b7246247d3f7114733

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50127.json"