CVE-2022-50127

RDMA/rxe: Fix error unwind in rxe_create_qp()

published June 18, 2025

CVSS
—
EPSS
0%
Percentile
8.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00194 · 8.6th percentile
Published
2025-06-18T11:02Z
EPSS history
Timeline
  • 18 JUN 11:02Z
    RDMA/rxe: Fix error unwind in rxe_create_qp()
    cvelistv5