RDMA/rxe: Fix "kernel NULL pointer dereference" error
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 8700e3e7c4857d28ebaa824509934556da0b3e76 · < f2f405af70e6f0419e718d23fa304798a5405c41| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rxe: Fix "kernel NULL pointer dereference" error
When rxe_queue_init in the function rxe_qp_init_req fails, both qp->req.task.func and qp->req.task.arg are not initialized.
Because of creation of qp fails, the function rxe_create_qp will call rxe_qp_do_cleanup to handle allocated resource.
Before calling __rxe_do_task, both qp->req.task.func and qp->req.task.arg should be checked.
From the CVE record · Linux
The Linux kernel’s RDMA/rxe code can dereference a NULL pointer when queue initialization fails during queue-pair creation and cleanup runs with uninitialized task fields. The input does not specify whether an attacker can trigger this over a network or locally, or whether authentication or user interaction is required.
Engineers running Linux kernels with RDMA/rxe should check their versions against the vendor advisory; affected versions are not specified.