CVE-2022-50127

Source
https://nvd.nist.gov/vuln/detail/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:15:42Z
Modified
2025-08-09T20:01:28Z
Summary
[none]
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.

References

Affected packages