CVE-2023-54028

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinux8700e3e7c4857d28ebaa824509934556da0b3e76 < 3236221bb8e4de8e3d0c8385f634064fb26b8e38affected
LinuxLinux8700e3e7c4857d28ebaa824509934556da0b3e76 < c8473cd5b301279a41dc75e5afb26b3d5223b6c7affected
LinuxLinux8700e3e7c4857d28ebaa824509934556da0b3e76 < 0d938264fcfe4927e54f0e519da05af1d5d720b4affected
LinuxLinux8700e3e7c4857d28ebaa824509934556da0b3e76 < b2b1ddc457458fecd1c6f385baa9fbda5f0c63adaffected
LinuxLinux4.8affected
LinuxLinux0 < 4.8unaffected
LinuxLinux6.1.32 <= 6.1.*unaffected
LinuxLinux6.2.15 <= 6.2.*unaffected
LinuxLinux6.3.2 <= 6.3.*unaffected
LinuxLinux6.4 <= *unaffected

Weaknesses

References