← CVE Intelligence

CVE-2023-54028

RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task" PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task" In the function rxe_create_qp(), rxe_qp_from_init() is called to initialize qp, internally things like rxe_init_task are not setup until rxe_qp_init_req(). If an error occurred 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. If rxe_init_task is not executed, rxe_cleanup_task will not be called.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 8700e3e7c4857d28ebaa824509934556da0b3e76 before 3236221bb8e4de8e3d0c8385f634064fb26b8e38; affected 8700e3e7c4857d28ebaa824509934556da0b3e76 before c8473cd5b301279a41dc75e5afb26b3d5223b6c7; affected 8700e3e7c4857d28ebaa824509934556da0b3e76 before 0d938264fcfe4927e54f0e519da05af1d5d720b4; affected 8700e3e7c4857d28ebaa824509934556da0b3e76 before b2b1ddc457458fecd1c6f385baa9fbda5f0c63ad
Linux / Linuxaffected 4.8; unaffected 0 before 4.8; unaffected 6.1.32 through 6.1.*; unaffected 6.2.15 through 6.2.*; unaffected 6.3.2 through 6.3.*; unaffected 6.4 through *

CWE

No CWE identifiers supplied.

References